Allocating cost of disk usage to a linked clone virtual machine based on a parameter of usage
First Claim
1. A system, comprising:
- processing and memory resources or hardware logic configured to implement;
a disk usage engine configured to;
determine, for a linked clone virtual machine (VM) that is a copy of a parent VM and shares at least one disk with the parent VM, a number of disks used by the linked clone VM among a plurality of disks in a software defined data center over a time period;
determine a respective portion of a parameter of usage for each of the number of disks used by the linked clone VM over the time period that is attributable to the linked clone VM;
build a linked clone tree for a number of VMs that use the plurality of disks during the time period, wherein each node in the tree represents one of the plurality of disks, andfor a leaf in the tree corresponding to the linked clone VM, determine a path from a root of the tree, wherein the path includes a number of nodes representing the number of disks used by the linked clone VM; and
a cost engine configured to allocate, to the linked clone VM, a portion of a cost for usage of each of the number of disks over the time period in proportion to the respective portion of the parameter of usage attributable to the linked clone VM.
2 Assignments
0 Petitions
Accused Products
Abstract
The present disclosure is related to methods, systems, and machine-readable media for allocating cost of disk usage to a linked clone virtual machine (VM) based on a parameter of usage. A determination can be made as to a number of disks used by a linked clone VM among a plurality of disks in a software defined data center over a time period and as to a respective portion of a parameter of usage for each of the number of disks used by the linked clone VM over the time period that is attributable to the linked clone VM. A portion of a cost for usage of each of the number of disks over the time period can be allocated to the linked clone VM in proportion to the respective portion of the parameter of usage attributable to the linked clone VM and/or on a relative latency.
29 Citations
19 Claims
-
1. A system, comprising:
processing and memory resources or hardware logic configured to implement; a disk usage engine configured to; determine, for a linked clone virtual machine (VM) that is a copy of a parent VM and shares at least one disk with the parent VM, a number of disks used by the linked clone VM among a plurality of disks in a software defined data center over a time period; determine a respective portion of a parameter of usage for each of the number of disks used by the linked clone VM over the time period that is attributable to the linked clone VM; build a linked clone tree for a number of VMs that use the plurality of disks during the time period, wherein each node in the tree represents one of the plurality of disks, and for a leaf in the tree corresponding to the linked clone VM, determine a path from a root of the tree, wherein the path includes a number of nodes representing the number of disks used by the linked clone VM; and a cost engine configured to allocate, to the linked clone VM, a portion of a cost for usage of each of the number of disks over the time period in proportion to the respective portion of the parameter of usage attributable to the linked clone VM. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
9. A non-transitory machine-readable medium storing instructions executable by a processing resource to cause a computing system to:
-
determine, for each of a number of disks used by a linked clone virtual machine (VM) that is a copy of a parent VM and shares at least one disk with the parent VM, among a plurality of disks in a software defined data center, a relative usage attributable to the linked clone VM over a time period in consideration of a relative latency for the linked clone VM over the time period versus other linked clone VMs that use the number of disks; wherein the instructions to determine the relative usage and the relative latency comprise instructions to determine; a first value comprising a number of input/output operations (IOPs) attributable to the linked clone VM over a time period in consideration of a latency factor for the linked clone VM over the time period; and a second value comprising a sum of a number of IOPs attributable to each other linked clone VM that uses the number of disks over the time period in consideration of a latency factor for each other linked clone VM; and allocate, to the linked clone VM, a cost for usage of each of the number of disks over the time period based on the relative usage and relative latency. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A method, comprising:
-
determining a number of disks, among a plurality of disks in a software defined data center, from which snapshots were taken to form a linked clone virtual machine (VM) that is a copy of a parent VM and shares at least one disk with the parent VM; determining a respective portion of a plurality of input/output operations (IOPs) for the number of disks over a time period that are attributable to the linked clone VM in consideration of a relative latency for the linked clone VM over the time period versus other linked clone VMs that use the number of disks; and allocating, to the linked clone VM, a portion of a cost for usage of each of the number of disks over the time period in proportion to the respective portion of the plurality of IOPs attributable to the linked clone VM in consideration of the relative latency for the linked clone VM. - View Dependent Claims (17)
-
-
18. A non-transitory machine-readable medium storing instructions executable by a processing resource to cause a computing system to:
-
determine, for each of a number of disks used by a linked clone virtual machine (VM) that is a copy of a parent VM and shares at least one disk with the parent VM, among a plurality of disks in a software defined data center, a relative usage attributable to the linked clone VM over a time period in consideration of a relative latency for the linked clone VM over the time period versus other linked clone VMs that use the number of disks; wherein the instructions to determine the relative usage in consideration of the relative latency comprise instructions to determine a latency factor for the linked clone VM based on; a latency for the linked clone VM; an average latency for the linked clone VM and the other linked clone VMs; and a weight of latency on cost; measure the latency for the linked clone VM during runtime; measure the average latency for the linked clone VM and the other linked clone VMs during runtime; receive the weight of latency on cost as an input; and allocate, to the linked clone VM, a cost for usage of each of the number of disks over the time period based on the relative usage and relative latency.
-
-
19. A non-transitory machine-readable medium storing instructions executable by a processing resource to cause a computing system to:
-
determine, for each of a number of disks used by a linked clone virtual machine (VM) that is a copy of a parent VM and shares at least one disk with the parent VM, among a plurality of disks in a software defined data center, a relative usage attributable to the linked clone VM over a time period in consideration of a relative latency for the linked clone VM over the time period versus other linked clone VMs that use the number of disks; determine the number of disks used by the linked clone VM over the time period by determining a path from a root of a linked clone tree for the linked clone VM, wherein the linked clone tree represents a plurality of linked clone VMs that use the plurality of disks during the time period, wherein each node in the tree represents one of the plurality of disks, and wherein the path includes a number of nodes representing the number of disks used by the linked clone VM; and allocate, to the linked clone VM, a cost for usage of each of the number of disks over the time period based on the relative usage and relative latency.
-
Specification