DETERMINING VIRTUAL MACHINE UTILIZATION OF DISTRIBUTED COMPUTING SYSTEM INFRASTRACTURE

Abstract
Some embodiments disclosed herein are directed to a resource management node having a processor and memory coupled to the processor. The memory includes computer readable program code that when executed by the processor causes the processor to perform operations. The operations include, for each of a plurality of guest virtual machines (VMs) of a VM cluster provided by computer operations of a physical machine among a plurality of physical machines within a distributed computing system, determining a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM. The operations further include for each of the guest VMs, determining, based on the productivity metric for the guest VM, an infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM.
Description
BACKGROUND

The present disclosure relates to computer systems, and in particular to controlling deployment of resources within a distributed computing system.


Distributed computing systems, sometimes also referred to as cloud computing systems, are used to provide services to electronic devices which may be operated by end users. In a cloud computing system, the physical machine architecture is hidden from the end user. The physical machines can include servers, network storage devices, computing devices, network routers, network gateways, wireless/wired network interface devices, etc. However, because services are deployed on a physical machine architecture which is hidden from end users, it can be managed, upgraded, replaced or otherwise changed by a system administrator (operator) without the end users being aware of or affected by the change.


In existing cloud and other distributed computing systems, the creator of services or the operator of the cloud system must know in advance which applications (or types of applications) will be deployed and estimate the number and types of physical machines that need to be deployed in the cloud system to support processing of the applications. The capacity of the distributed computer system can be changed by increasing or decreasing the number or types of physical machines. During operation, a load balancer can operate to direct requests from user electronic devices to particular ones of the physical machines for processing by associated applications. Although load balancers can provide better balancing of system utilization, they may not sufficiently improve the efficiency at which physical machines are deployed and used, which may have a substantial effect on cost in view of the potential large number of physical machines and applications that can be deployed in some distributed computer systems.


SUMMARY

Some embodiments disclosed herein are directed to a method of operating a resource management node that includes, for each of a plurality of guest virtual machines (VMs) of a VM cluster provided by computer operations of a physical machine among a plurality of physical machines within a distributed computing system, determining a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM. The method further includes for each of the guest VMs, determining, based on the productivity metric for the guest VM, an infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM.


In some further embodiments, the method is repeated for each of a plurality of VM clusters provided by computer operations of a plurality of the physical machines. To determine the infrastructure value, the electrical power consumption and/or cooling consumption by the physical machine which is attributed to providing the guest VM is determined and/or the physical rack storage space of the distributed computing system occupied by the physical machine which is attributed to providing the guest VM is determined.


Any of the guest VMs that do not satisfy a defined user relevance rule for providing at least a threshold level of client services to user clients may be added to a listing of unproductive members of the guest VMs. The resource management node can display information regarding the listing of unproductive members of the guest VMs. The user relevance rule may identify services performed by guest VMs that are performed as overhead for operating the VM cluster on the physical machine instead of as client services provided to user clients. Guest VMs may also be added to the listing of unproductive members of the guest VMs when they have a productivity metric that does not satisfy a defined utilization rule for using at least a threshold amount of a defined resource of the physical machine. The method may be repeated for each of a plurality of VM clusters provided by computer operations of a plurality of the physical machines.


Another embodiment is directed to a resource management node having a processor and memory coupled to the processor. The memory includes computer readable program code that when executed by the processor causes the processor to perform operations. The operations include, for each of a plurality of guest VMs of a VM cluster provided by computer operations of a physical machine among a plurality of physical machines within a distributed computing system, determining a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM. The operations further include for each of the guest VMs, determining, based on the productivity metric for the guest VM, an infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM.


Another embodiment is directed to a computer program product that includes computer readable storage medium having computer readable program code embodied in the medium. The computer readable program code, when executed by a processor of a computer system, causes the computer system to perform operations that include, for each of a plurality of guest VMs of a VM cluster provided by computer operations of a physical machine among a plurality of physical machines in a distributed computing system, determining a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM. The operations further include, for each of the guest VMs, determining, based on the productivity metric for the guest VM, an infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM.


It is noted that aspects described with respect to one embodiment may be incorporated in different embodiments although not specifically described relative thereto. That is, all embodiments and/or features of any embodiments can be combined in any way and/or combination. Moreover, other resource management nodes, distributed computing systems, methods, and/or computer program products according to embodiments will be or become apparent to one with skill in the art upon review of the following drawings and detailed description. It is intended that all such additional resource management nodes, distributed computing systems, methods, and/or computer program products be included within this description and protected by the accompanying claims.





BRIEF DESCRIPTION OF THE DRAWINGS

Aspects of the present disclosure are illustrated by way of example and are not limited by the accompanying drawings. In the drawings:



FIG. 1 is a pictorial illustration of a distributed computer system that is configured as a data center according to some embodiments;



FIG. 2 is a block diagram of a resource node, used in a distributed computing system, that is configured according to some embodiments;



FIG. 3 is a block diagram of a distributed computing system that is configured according to some embodiments;



FIG. 4 is a resource management node that is configured according to some embodiments.



FIGS. 5-8 are flowcharts that illustrate operations for determining how much infrastructure of a distributed computing system is attributed to providing guest VMs according to some embodiments;



FIG. 9 illustrates information that may be displayed to inform an operator of which guest VMs of VM clusters satisfy rules for being productive versus unproductive, and to further inform the operator of the infrastructure utilization of the productive and unproductive guest VMs and associated clusters; and



FIG. 10 illustrates information that may be displayed to inform an operator of the estimated impact that moving guest VMs between VM clusters can have on infrastructure utilization of a distributed computer system according to some embodiments.





DETAILED DESCRIPTION

In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the present disclosure. However, it will be understood by those skilled in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention. It is intended that all embodiments disclosed herein can be implemented separately or combined in any way and/or combination.



FIG. 1 is a block diagram of a distributed computer system that is configured as a data center 10 according to some embodiments. The data center 10 can include hundreds or thousands of data servers which are mounted to physical racks 20a-20n arranged in rows for accessibility by operators. The data servers consume substantial amounts of electrical power from a power source 30, occupy significant amount of physical rack storage space of the data center 10, and require substantial cooling heat transfer by a cooling system 32 to remain within an acceptable operational temperature range. The electrical power, physical rack storage space, cooling, and other support systems are examples of infrastructure provided by the data center 10 to support operation of the data servers. In accordance with some embodiments, the data center 10 includes a resource management node, which can also be mounted within one or more of the physical racks 20 or separate therefrom, and can operate according to various embodiments disclosed herein.


The data servers and associated network communication devices are example physical machines of the data center 10. The data servers perform computer operations that provide a plurality of guest virtual machines (VMs) within a plurality of VM clusters. Each VM cluster can include a plurality of guest VMs, and each VM cluster can reside on different data servers or may be distributed across more than one data server. For each of the guest VMs, the resource management node determines a productivity metric for the guest VM based on resources of the data server that are used by the guest VM. Moreover, for each of the guest VMs, the resource management node determines based on the productivity metric an infrastructure value that indicates how much infrastructure of the data center 10 is attributed to providing the guest VM.


In some further embodiments, the resource management node repeats these operations for each of the VM clusters. The infrastructure value may be determined based on electrical power consumption by the physical machine which is attributed to providing the guest VM. The infrastructure value may additionally or alternatively be determined based on physical rack storage space of the distributed computing system occupied by the physical machine which is attributed to providing the guest VM.


The resource management node can display reports that indicate which VM clusters are determined to satisfy rules for being productive versus unproductive. The reports may alternatively or additionally indicate which VM clusters are consuming excessive electrical power, physical rack storage space, and/or other resources of the data center 10 relative to being productive versus unproductive.


In FIG. 1, a report 40 is displayed, on a display device of a data center terminal, that identifies the name 42 of one of the server devices and identifies the utilization of defined resources 44. The resource utilizations displayed can include server CPU utilization percentage, server physical memory utilization, server available memory, server number of CPUs, free memory, and/or disk input/output busy utilization. The report may further indicate if any of the resources are operating near defined limits (e.g., excessive server CPU utilization percentage is noted by the blackened circle).


A pictorial illustration of the data center 10 may also be displayed. The resource management node may display graphical alarm indications 34a and 34b at particular locations of the racks where the data center operator may want to remove or replace one of the server devices based on information provided by the resource management node according to one or more embodiments disclosed herein.


These and other operations are explained in further detail below after the following explanation of an example resource node and distributed computing system in which the operations may be performed.


Resource Node of a Distributed Computing System


FIG. 2 is a block diagram of a resource node 100 of a distributed computing system that is configured according to some embodiments. Referring to FIG. 2, the resource node 100 includes a physical machine 114 that performs computer operations to provide one or more VM clusters 101. Each of the VM clusters includes a plurality of guest VMs 104. Each guest VM 104 runs a guest operating system 130 and a plurality of applications 106 and 108. The computing needs of users 102 (e.g., humans and/or other virtual/non-virtual machines) drive the functionality of the VM cluster 101 and guest VMs 104 thereof. A virtual hypervisor 110 can provide an interface between the VM cluster 101 and a host operating system 112 and allows multiple guest operating systems 130 and associated applications 106 and 108 to run concurrently. The host operating system 112 is responsible for the management and coordination of activities and the sharing of the computer resources of the physical machine 114.


The physical machine 114 may include, without limitation, network content servers (e.g., Internet website servers, movie/television programming streaming servers, application program servers), network storage devices (e.g., cloud data storage servers), network data routers, network gateways, communication interfaces, program code processors, data memories, display devices, and/or peripheral devices. The physical machine 114 may include computer resources such as: processor(s) 116 (e.g., central processing unit, CPU); network interface(s) 118; memory device(s) 120; data mass storage device(s) 122 (e.g., disk drives, solid state nonvolatile memory, etc.); etc.. The processor(s) 116 is configured to execute computer program code from the memory device(s) 120, described below as a computer readable storage medium, to perform at least some of the operations disclosed herein.


Besides acting as a host for computing applications 106 and 108 that run on the physical machine 114, the host operating system 112 may operate at the highest priority level of the resource node 100, executing instructions associated with the physical machine 114, and it may have exclusive privileged access to the physical machine 114. The host operating system 112 creates an environment for implementing the VM cluster 101 which hosts the guest VMs 104. One host operating system 112 is capable of implementing multiple independently operating VM clusters 101 simultaneously.


The virtual hypervisor 110 (which may also be known as a virtual machine monitor or VMM) runs on the host operating system 112 and provides an interface between the VM clusters 101 and the physical machine 114 through the host operating system 112. The virtual hypervisor 110 virtualizes the computer system resources and facilitates the operation of the host guest VMs 104 and associated VM cluster 101. The virtual hypervisor 110 may provide the illusion of operating at a highest priority level to the guest operating system 130. However, the virtual hypervisor 110 can map the guest operating system's priority level to a priority level lower than a top most priority level. As a result, the virtual hypervisor 110 can intercept the guest operating system 130 operations, and execute instructions that require virtualization assistance. Alternatively, the virtual hypervisor 110 may indirectly emulate or directly execute the instructions on behalf of the guest operating system 130. Software steps permitting indirect interaction between the guest operating system 130 and the physical machine 114 can also be performed by the virtual hypervisor 110.


The VMs 104 present a virtualized environment to the guest operating systems 130, which in turn provide an operating environment for the applications 106 and 108, and other software constructs.


Distributed Computing System


FIG. 3 is a block diagram of a distributed computing system 300 that is configured according to some embodiments. Referring to FIG. 3, the distributed computing system 300 receives requests from electronic devices 170a-170n via one or more networks 160′-160″ for processing. The electronic devices 170a-170n may be operated by end-users. The distributed computing system 300 includes a plurality of resource nodes 100 and a resource management node 150. The electronic devices 170a-170n may include, but are not limited to, desktop computers, laptop computers, tablet computers, wireless mobile terminals (e.g., smart phones), gaming consoles, networked televisions with on-demand media request capability. The resource nodes 100 may be configured as described herein regarding FIG. 2. For some distributed computing systems 300, the number of resource nodes 100 can number more than a hundred or thousand and the number of electronic devices 170 can number more than a thousand or hundred thousand.


The resource management node 150 may operate to distribute individual requests that are received from the electronic devices 170a-n to particular ones of the resource nodes 100 selected for processing. The resource management node 150 may select among the resource nodes 100 and/or applications hosted on VM clusters 101 of the resource nodes 100 for distributing individual requests responsive to the present loading of the resource nodes 110 and/or the VM clusters 101. The loading may be determined based on the amount of processing resources, volatile memory resources, non-volatile mass storage resources, communication resources, and/or application resources that are utilized to process the requests. The resource management node 150 may, for example, operate to distribute the requests responsive to comparison of the relative loading characteristics of the resource nodes 100. The resource management node 150 may attempt to obtain a more balanced loading across the resource nodes 100 to avoid one of the resource nodes 100 operating at more than a threshold loading above other ones of the resource nodes 100.


Example Resource Management Node


FIG. 4 is a block diagram of a resource management node 150 that is configured to perform the operations of one of more of the embodiments disclosed herein. The resource management node 150 can include one or more network interfaces 420, one or more processors 400 (referred to as “processor” for brevity), and one or more memories 410 (referred to as “memory” for brevity) containing program code 412.


The processor 400 may include one or more data processing circuits, such as a general purpose and/or special purpose processor (e.g., microprocessor and/or digital signal processor) that may be collocated or distributed across one or more networks. The processor 400 is configured to execute program code 412 in the memory 410, described below as a computer readable medium, to perform some or all of the operations for one or more of the embodiments disclosed herein.


VM Cluster Utilization of Distributed Computing System Infrastructure

As explained above, a distributed computing system (e.g., data center) can include hundreds or thousands of physical machines (e.g., data servers). The physical machines perform computer operations that provide a plurality of guest VMs within a plurality of VM clusters. Each VM cluster can include a plurality of guest VMs.



FIGS. 5-8 illustrates operations that can be performed by a resource management node 150.


Referring to FIG. 5, for each of the guest VMs of a VM cluster, the resource management node 150 determines (block 500) a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM. Moreover, for each of the guest VMs, the resource management node 150 determines (block 502), based on the productivity metric for the guest VM, an infrastructure value that indicates how much infrastructure of the distributed computing system 300 is attributed to providing the guest VM. The resource management node 150 may also display (504) information for viewing by an operator based on the infrastructure values. The resource management node can repeat the operations of blocks 500, 502, and 504 for each of the VM clusters.


The infrastructure value may be determined based on electrical power consumption by the physical machine which is attributed to providing the guest VM. The infrastructure value may additionally or alternatively be determined based on physical rack storage space of the distributed computing system occupied by the physical machine which is attributed to providing the guest VM. Other infrastructure of the distributed computing system that can be attributed to being used to provide the guest VM can include one or more of: cooling system utilization, processing throughput, memory utilization, nonvolatile mass data storage utilization, communication input/output utilization, and application resource utilization (e.g., what types and how many applications programs).


The resource management node 150 may determine (block 500) the productivity metric for a guest VM by, for example, determining the processor loading created by the guest VM, determining an amount of memory used by or allocated to the guest VM, determining an amount of nonvolatile mass data storage that is used by or allocated to the guest VM, determining communication input/output bandwidth used by the guest VM, and/or a number of applications that are used by the guest VM.


The resource management node 150 may determine (block 502) the infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM by, for example, determining how much electrical power is consumed by the physical machine to provide the guest VM, determining physical rack storage space occupied by the physical machine to provide the guest VM, determining cooling system resources of a distributed computing system that are used by the physical machine to provide the guest VM, determining communication bandwidth resources of a distributed computing system that are used by the physical machine to provide the guest VM, determining data storage resources of a distributed computing system that are used by the physical machine to provide the guest VM etc.



FIG. 7 illustrates operations that can be performed by the resource management node 150 to determine how much infrastructure of the distributed computing system 300 is attributed to providing a guest VM. Referring to FIG. 7, the resource management node 150 determines (block 700) a physical rack storage space of the distributed computing system 300 that is occupied by the physical machine and which is attributed to providing the guest VM, based on the productivity metric for the guest VM. The electrical power consumption by the physical machine which is attributed to providing a guest VM can be determined (block 702) based on the productivity metric for the guest VM. A cooling metric (e.g., British thermal units, rack cooling index, etc.) used by the physical machine which is attributed to providing a guest VM can be determined (block 704) based on the productivity metric for the guest VM.


Determining the physical rack storage space, the electrical power consumption, and/or the cooling metric can be based on known relationships between the physical machine and defined infrastructure characteristics that are known or observed to be consumed by the physical machine operating at different loading. The relationships may be specified by manufacturers and/or operators, calculated, and/or developed by data collection processes that can include monitoring effects that different observed guest VM loading and/or VM cluster loading have on the infrastructure requirements of a distributed computing system, such as the electrical power consumption, cooling metrics, and/or physical rack storage space use by the physical machines to provide processing and other resources for the guest VMs and/or VM clusters. A Data Center Infrastructure Management™ (DCIM) tool by CA Technologies may be used to provide information used by the relationships to determine the infrastructure attributed to providing a guest VM.


In one embodiment, the infrastructure attributed to operation of a physical machine is determined. The determined infrastructure is then proportionally attributed to each of the guest VMs hosted by the physical machine based on the relative utilization of the physical machine's resources by respective ones of the guest VMs. For example, when four guest VMs each use 10% of a physical machine resource and a fifth guest VM uses 60% of the physical machine resource, then the infrastructure used (power, cooling, space, etc.) by the physical machine can be attributed 10% to each of the four guest VMs and attributed 60% to the fifth guest VM. The physical machine resource utilization may be determined based on any defined resources of the physical machine that can be used by a guest VM including, but not limited to, processor utilization, memory utilization, network interface utilization, disk input/output utilization, and/or a combination thereof.


When determining the relative utilization, the physical machine resource used by overhead system services (e.g., host operating system, data archiving applications, virus scanning applications, physical device manager applications, display applications, etc.) may be included or excluded from the calculation. Excluding physical machine resources used by overhead system services may enable more accurately determination of how much infrastructure is needed to support the guest VMs (e.g., how much user directed work is done by a physical machine and how much associated infrastructure is used to support that work).


For example, electrical power consumption and/or cooling loading by a physical machine may be defined by a manufacturer and/or operator, and/or measured during operation of the physical machine under various resource loading scenarios (e.g., processor utilization, memory utilization, network interface utilization, disk input/output utilization, and/or a combination thereof). The resource loading scenarios may be defined to exhibit known characteristics of defined types of guest VMs.


Referring again to FIG. 3, the distributed computing system 300 may include a resource parameter repository 154 that contains information that identifies relationships between different identified types of physical machines and the quantities of infrastructure (e.g., electrical power, rack space, cooling, communication bandwidth, data storage, etc.) of a distributed computing system they respectively consume when operating. The relationships may further identify how the quantities of consumed infrastructure vary with different loading of the physical machines. The resource parameter repository 154 may indicate other attributes of the physical machines, such as their start-up time, shut-down time peak and average electrical power utilization, communication bandwidth capabilities, processing throughput capabilities, data storage capabilities, available application resources, etc.


The resource management node can display reports that indicate which VM clusters are determined to satisfy rules for being productive versus unproductive. The reports may alternatively or additionally indicate which VM clusters are consuming excessive electrical power, physical rack storage space, and/or other resources of the data center 10 relative to being productive versus unproductive. Example reports are shown in FIG. 1 described above and FIGS. 7 and 8 described further below.


In one embodiment, a time window over which the productivity metric is measured may be adjusted/controlled based on how quickly physical machines can be started up (e.g. brought on-line from an idle state or booted-up from a power-off state to be available to provide VMs to provide services to electronic devices 170) and/or shut-down. Referring to FIG. 6, the resource management node 150 may determine the productivity metric by measuring (block 600) what resources of the physical machine are used by the guest VM over a threshold duration that is defined based on observed change in number of VM guests within a VM cluster over an elapsed time. The resource management node 150 may alternatively or additionally determine (block 602) an elapsed time from start-up of the physical machine to the physical machine being ready to provide guest VMs. The threshold duration can be defined (block 604) based on the change number of VM guest within a VM cluster and/or based on the elapsed time between start-up and the physical machine being ready to provide guest VMs. The resources of the physical machine that are used by the guest VM can be measured (block 606) over the threshold duration.


Thus, for example, it may be desirable to avoid presenting information that could cause the resource management node and/or a system operator (human) to make guest VM, physical machine, and/or other management decisions based on short duration or momentary changes occurring in productivity metrics for physical machines that have a slower start-up time. So, slower startup times may cause the resource management node 150 to use corresponding longer elapsed times over which the productivity metrics are measured.


Similarly, it may be desirable to avoid presenting information that could cause the resource management node and/or a system operator to make guest VM, physical machine, and/or other management decisions based on short duration or momentary changes occurring in productivity metrics for physical machines having rapidly changing numbers of guest VMs provided within a VM cluster. For example, the rapid increase in the number of guest VMs may be an indication of an anticipated near-term rapid increase in loading of the physical machine, which may be beneficial for a system operator to know. So, observation of greater changes in the number of guest VMs provided within a VM cluster may cause the resource management node 150 to use corresponding shorter elapsed times over which the productivity metrics are measured.


Determining Infrastructure Used by Unproductive and Productive VM Clusters

In some further embodiments, the resource management node 152 determines for each VM cluster the amount of infrastructure of the distributed computing system 300 being used by the VM cluster (e.g., electrical power, rack space, cooling, communication bandwidth, data storage, etc.), and can display information to a system operator to enable improved infrastructure consumption management and deployment of VM guests to VM clusters and VM clusters to physical machines.


In some embodiments, guest VMs of a VM cluster are sorted between productive and unproductive lists. The infrastructure used by each of the VM clusters is determined for each of the productive and unproductive lists of associated guest VMs. FIG. 8 illustrates operations that may be performed by the resource management node 152 to determine the productivity of guest VMs and VM clusters, and to determine the infrastructure they are using.


Referring to FIG. 8, a guest VM is analyzed to determine (block 800) whether the applications performed by the guest VM satisfy a defined user relevance rule for providing at least a threshold level of client services to user clients. The user relevance rule may identify applications or characteristics of applications that make the applications productive or unproductive. For example, applications that operate primarily to provide overhead system services for maintaining a physical machine and/or operating a VM cluster (e.g., data archiving applications, virus scanning applications, physical device manager applications, display applications, etc.) without providing services for a user can be defined by the user relevance rule to be unproductive. In contrast, applications that provide client services to users (e.g., word processing applications, database applications, voice-recognition applications, gaming applications, financial applications, etc.) can be defined by the user relevance rule to be productive. The resource management node 150 may determine application relevance based on application characteristics information provided by an Application Performance Management™ (APM) tool by CA Technologies.


When a guest VM is determined to be productive, a productivity metric is determined (block 802) for the guest VM based on resources of the physical machine that are used by the guest VM. The productivity metric may be determined based on processor utilization, memory utilization, nonvolatile mass data storage utilization, communication input/output interface device utilization, and/or application resource utilization. The resource management node 150 may receive and use utilization information from a Capacity Management (CAPMAN) tool by CA Technologies. The utilization information can be a time series stream of utilization values that are observed for defined resources, and may have time stamps associated therewith to allow averaging or other combining operations over defined time periods. The productivity metric may be determined over a time period that is defined based on the user defined setting (e.g., defined number of minutes, days, etc.), characteristics of the physical machine, and/or rate of change in resource utilization.


In one embodiment, the time period over which the productivity metric is measured may be adjusted/controlled based on how quickly physical machines can be started up (e.g. brought on-line from an idle state or booted-up from a power-off state to be available to provide VMs to provide services to electronic devices 170). Slower startup times may cause the resource management node 150 to use corresponding longer time periods over which the productivity metric is measured.


In another embodiment, the time period over which the productivity metric is measured may be adjusted/controlled based on how quickly the numbers of guest VMs provided within a VM cluster is changing. So, observation of greater changes in the number of guest VMs provided within a VM cluster may cause the resource management node 150 to use corresponding shorter time periods over which the productivity metric is measured.


A determination (block 804) is made whether the productivity metric for a guest VM satisfies a threshold value. When the productivity metric for a guest VM satisfies the threshold value (e.g., the guest VM consumes more than a threshold amount of resources of the physical machine), the guest VM is added (block 806) to a listing of productive members of the guest VMs of a VM cluster. The productive infrastructure usage value(s) (e.g., physical rack storage space, electrical power consumption, and/or cooling metric) used by the physical machine which is attributed to providing the guest VM is determined (block 808). For example, each different type of infrastructure parameters can have a separate productive infrastructure usage value (e.g., physical rack storage space usage value, power consumption usage value (e.g., average power (kW) or total energy (kWh), and/or cooling metric usage value (British thermal unit, etc.)). The resource management node 150 may determine the productive infrastructure usage value(s) for a guest VM based on infrastructure usage information provided by a Data Center Infrastructure Management™ (DCIM) tool by CA Technologies. The productive infrastructure usage value(s) is combined (block 810) with other productive infrastructure values determined for the VM cluster (which includes the guest VM) over a defined time window (e.g., averaged over the defined time window).


In contrast, when a guest VM is determined (block 800) to be unproductive or when a productivity metric for a guest VM is determined (block 804) to not satisfy the threshold value (e.g., the guest VM consumes less than a threshold amount of resources of the physical machine), the guest VM is added (block 812) to a listing of unproductive members of the guest VMs of a VM cluster. The unproductive infrastructure usage value(s) (e.g., physical rack storage space, electrical power consumption, and/or cooling metric) used by the physical machine which is attributed to providing the guest VM is determined (block 814). The resource management node 150 may determine the unproductive infrastructure usage value(s) for a guest VM based on information provided by the DCIM tool. The unproductive infrastructure usage value(s) is combined (block 810) with other unproductive infrastructure values determined for the VM cluster (which includes the guest VM) over a defined time window (e.g., averaged over a defined time window).


The time window may be adjusted/controlled based on an operator defined setting, how quickly physical machines can be started up or shut-down, and/or based on how quickly the numbers of guest VMs provided within a VM cluster is changing.


The operations of blocks 800-816 can be repeated for each guest VM in each of the VM clusters. The productive infrastructure usage values and the unproductive infrastructure usage values can be displayed (block 820) for each of the clusters.


Determining and Displaying Infrastructure Used by Unproductive and Productive VM Clusters


FIG. 9 illustrates information that may be displayed to inform an operator regarding which VM clusters satisfy rules for being productive versus unproductive, and to further inform the operator of the infrastructure utilization of the VM clusters. Referring to FIG. 9, graphs 906a-906g are generated that illustrate the average resource utilization by seven different VM clusters 902a-902g over a past week. The average resource utilization may correspond to the average processor utilization, memory utilization, nonvolatile mass data storage utilization, communication input/output interface device utilization, and/or application resource utilization attributed to providing the respective VM clusters 902a-902g over the past week.


Other information that may be displayed can include, alert notifications 904a-904g which notify an operator when one or more of the VM clusters 902a-902g is using too much or too little infrastructure. In FIG. 9, the alert notifications 904a-904g indicate whether a particular VM cluster is using excessive electrical circuit breaker capacity. For example, VM Cluster_4902d has a highlighted alert notification 904d with a sub-text notification indicating that it is drawing at least 60 percent of the maximum electrical power that can be supplied within the capacity rating of the associated circuit breaker resource of the distributed computing system 300. Another VM Cluster_6902f has a highlighted alert notification 904f with a sub-text notification indicating that it is drawing at least 80 percent of the maximum electrical power that can be supplied within the capacity rating of the associated circuit breaker resource of the distributed computing system 300. These notifications can inform a system operator that VM Cluster_4902d and VM Cluster_6902f are drawing excessive electrical power, and can provide such notification before the circuit breaker switches become overloaded. The system operator can thereby take corrective action by shifting guest VMs from those VM clusters to other VM clusters. Moreover, the system operator may determine that VM Cluster_4902d and VM Cluster_6902f have an operational fault associated with their physical machines because of the excessive electrical power being consumed relative to the low average resource utilization indicated in their respective graphs 106d and 106. The system operator may therefore initiate procedures to shut-down and replace those physical machines.


The resource management node 150 may respond to detecting the alarm conditions with VM Cluster_4902d and VM Cluster_6902f by displaying indicia 908 and 910 which can be selected by a system operator to initiate actions to further analyze and/or remedy the alarm conditions with VM Cluster_4902d and VM Cluster_6902f.


Other information that can be displayed can include a graph 920 showing the relative amount of infrastructure of the distributed computing system 300 that is being used by unproductive guest VMs and productive guest VMs of each of the VM clusters 902a-902g. In the example of FIG. 9, VM Cluster_1 has 1 productive guest VM and 2 unproductive guest VMs, and consumes a total of about 3 kWatts of electrical power. VM Cluster_2 has 5 productive guest VMs and 5 unproductive guest VMs, and consumes a total of about 10 kWatts of electrical power. VM Cluster_3 has 5 productive guest VMs and 6 unproductive guest VMs, and consumes a total of about 12 kWatts of electrical power. VM Cluster_4 has 4 productive guest VMs and 12 unproductive guest VMs, and consumes a total of about 15.5 kWatts of electrical power. VM Cluster_5 has 2 productive guest VMs and 7 unproductive guest VMs, and consumes a total of about 9 kWatts of electrical power. VM Cluster_6 has 11 productive guest VMs and 23 unproductive guest VMs, and consumes a total of about 34 kWatts of electrical power. VM Cluster_7 has 2 productive guest VMs and 8 unproductive guest VMs, and consumes a total of about 10 kWatts of electrical power.


A system operator and/or the resource management node may determine from the information displayed by the graph 920 that VM Cluster 6 is consuming substantially more electrical power to provide unproductive guest VMs relative to what it consumes to provide productive guest VMs. The system operator and/or the resource management node may therefore perform operations to shift the 11 productive guest VMs from VM cluster 6 to other VM clusters, such as VM clusters 4, 5 and 8 which also are determined to be consuming substantially more power for purposes of providing unproductive guest VMs then for productive guest VMs.


Alternatively or additionally, the system operator and/or the resource management node may perform operations to terminate operation or reschedule operation for a later time for at least some of the unproductive guest VMs on one or more of the VM clusters 4-7 which are consuming disproportionate amounts of electrical power relative to their usefulness with supporting operation of the productive guest VMs in their respective VM clusters. Thus for example, guest VMs providing data archiving applications and/or virus scanning that consume substantial electrical power because of their associated disk bandwidth disk input/output operations and processing operations can be terminated or reschedule for later operation to provide a more efficient balance of power consumption, cooling utilization, and/or other infrastructure utilization between the productive and unproductive guest VMs for those VM clusters.


The excessive power consumption of the nonproductive guest VMs of one or more of VM clusters 4-7 may indicate the VM cluster is having operational problems and should be restarted and/or that the associated physical machine 114 providing the VM cluster is having operational problems and should be restarted, shut-down, or replaced. A system operation and/or the resource management node may thereby be informed of problems before they result in software and/or hardware failure.


Determining and Displaying Infrastructure Used by Unproductive and Productive VM Clusters


FIG. 10 illustrates information that may be displayed to inform an operator regarding the estimated impact that decommissioning (e.g., shutting down or taking off-line) various VM clusters will have on infrastructure utilization of a distributed computer system. The resource management node 150 has projected the effect on infrastructure utilization of VM cluster 4 (of FIG. 9) if guest VMs from other VM clusters are reallocated to VM cluster_4 according to one of two different reallocation models. In FIG. 10, a preferable targeted utilization level for VM cluster_4 is 55 percent, which is illustrated by line 1002. With a conservative reallocation model for reallocating guest VMs from one or more of the other VM cluster_1 to VM cluster_3 and VM cluster_5 to VM cluster_7 (of FIG. 9), the resource management node 150 projects (estimates) that the utilization of VM cluster_4 will follow the utilization graph values of line 1004 over time. Moreover, the resource management node 150 estimates that the conservative reallocation of guest VMs (resulting in shutting down or triggering lower power states of one or more physical machines) will result in infrastructure savings in the distributed computing system 300 of 1.4 kW of electrical power, savings of 3 physical rack storage spaces (U-space), 34 percent increase in circuit breaker capacity, and $1226 savings per year in energy costs.


A user may select a user selectable indicia 1012 to trigger the conservative reallocation model operations to estimate the utilization and infrastructure savings that may be obtained by performing the conservative reallocation of guest VMs to the VM cluster 4 from one or more of the other VM clusters. A user may alternatively select another user selectable indicia 1014 to trigger aggressive reallocation model operations to estimate the utilization and infrastructure savings that may be obtained by performing a more aggressive reallocation of guest VMs to the VM cluster 4 from one or more of the other VM clusters and associated shutting down or triggering lower power states of one or more physical machines.


A user may select another user selectable indicia 1010 to perform similar analysis of scenarios for reallocating guest VMs from other VM clusters (e.g., overloaded VM cluster 6) to other VM clusters to obtain estimates of the associated effect on infrastructure utilization and infrastructure savings that may be obtained in the distribution computing system 300.


Further Definitions and Embodiments

In the above-description of various embodiments of the present disclosure, aspects of the present disclosure may be illustrated and described herein in any of a number of patentable classes or contexts including any new and useful process, machine, manufacture, or composition of matter, or any new and useful improvement thereof. Accordingly, aspects of the present disclosure may be implemented in entirely hardware, entirely software (including firmware, resident software, micro-code, etc.) or combining software and hardware implementation that may all generally be referred to herein as a “circuit,” “module,” “component,” or “system.” Furthermore, aspects of the present disclosure may take the form of a computer program product comprising one or more computer readable media having computer readable program code embodied thereon.


Any combination of one or more computer readable media may be used. The computer readable media may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an appropriate optical fiber with a repeater, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.


A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable signal medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.


Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python or the like, conventional procedural programming languages, such as the “C” programming language, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy, or other programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider) or in a cloud computing environment or offered as a service such as a Software as a Service (SaaS).


Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable instruction execution apparatus, create a mechanism for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.


These computer program instructions may also be stored in a computer readable medium that when executed can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions when stored in the computer readable medium produce an article of manufacture including instructions which when executed, cause a computer to implement the function/act specified in the flowchart and/or block diagram block or blocks. The computer program instructions may also be loaded onto a computer, other programmable instruction execution apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatuses or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.


It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of this specification and the relevant art and will not be interpreted in an idealized or overly formal sense expressly so defined herein.


The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various aspects of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.


The terminology used herein is for the purpose of describing particular aspects only and is not intended to be limiting of the disclosure. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. As used herein, the term “and/or” includes any and all combinations of one or more of the associated listed items. Like reference numbers signify like elements throughout the description of the figures.


The corresponding structures, materials, acts, and equivalents of any means or step plus function elements in the claims below are intended to include any disclosed structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the disclosure. The aspects of the disclosure herein were chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure with various modifications as are suited to the particular use contemplated.

Claims
  • 1. A method of operating a resource management node comprising: for each of a plurality of guest virtual machines (VMs) of a VM cluster provided by computer operations of a physical machine among a plurality of physical machines in a distributed computing system, determining a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM; andfor each of the guest VMs, determining, based on the productivity metric for the guest VM, an infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM.
  • 2. The method of claim 1, wherein determining the productivity metric comprises: measuring what resources of the physical machine are used by the guest VM over a threshold duration that is defined based on observed change in number of VM guests within a VM cluster over an elapsed time.
  • 3. The method of claim 1, wherein determining the productivity metric comprises: measuring what resources of the physical machine are used by the guest VM over a threshold duration that is defined based on an elapsed time from start-up of the physical machine to the physical machine being ready to provide guest VMs.
  • 4. The method of claim 1, wherein determining the infrastructure value comprises: determining electrical power consumption by the physical machine which is attributed to providing the guest VM.
  • 5. The method of claim 1, wherein determining the infrastructure value comprises: determining physical rack storage space of the distributed computing system occupied by the physical machine which is attributed to providing the guest VM.
  • 6. The method of claim 1, further comprising: repeating the determining a productivity metric and the determining an infrastructure value for each of a plurality of VM clusters provided by computer operations of a plurality of the physical machines.
  • 7. The method of claim 1, further comprising: adding to a listing of unproductive members of the guest VMs any of the guest VMs that do not satisfy a defined user relevance rule for providing at least a threshold level of client services to user clients; anddisplaying information regarding the listing of unproductive members of the guest VMs.
  • 8. The method of claim 7, wherein adding to a listing of unproductive members of the guest VMs any of the guest VMs that do not satisfy a defined user relevance rule for providing at least a threshold level of client services to user clients, comprises: identifying services performed by guest VMs that are performed as overhead for operating the VM cluster on the physical machine instead of as client services provided to user clients.
  • 9. The method of claim 7, further comprising: adding to the listing of unproductive members of the guest VMs any of the guest VMs having a productivity metric that does not satisfy a defined utilization rule for using at least a threshold amount of a resource of the physical machine.
  • 10. The method of claim 9, wherein adding to the listing of unproductive members of the guest VMs any of the guest VMs having a productivity metric that does not satisfy a defined utilization rule for using at least a threshold amount of a resource of the physical machine, comprises: controlling a value of the threshold amount of the resource of the physical machine based on an elapsed time from start-up of the physical machine to the physical machine being ready to provide guest VMs.
  • 11. The method of claim 9, wherein adding to the listing of unproductive members of the guest VMs any of the guest VMs having a productivity metric that does not satisfy a defined utilization rule for using at least a threshold amount of a resource of the physical machine, comprises: controlling a value of the threshold amount of the resource of the physical machine based on observed change in number of VM guests within a VM cluster over a defined time.
  • 12. The method of claim 7, further comprising: repeating the adding to a listing of unproductive members of the guest VMs and the displaying information regarding the listing of unproductive members of the guest VMs for each of a plurality of VM clusters provided by computer operations of a plurality of physical machines.
  • 13. The method of claim 12, further comprising: displaying electrical power consumption by the physical machines which is attributed to the listing of unproductive members of the guest VMs for each of the VM clusters.
  • 14. The method of claim 13, further comprising: for each of a plurality of VM clusters provided by computer operations of a plurality of physical machines, adding to a listing of productive members of the guest VMs any of the guest VMs that satisfy a defined user relevance rule for providing at least the threshold level of client services to users; anddisplaying electrical power consumption by the physical machines which is attributed to the listing of productive members of the guest VMs for each of the VM clusters.
  • 15. The method of claim 12, further comprising: displaying physical rack storage space of the distributed computing system occupied by the physical machine which is attributed to the listing of unproductive members of the guest VMs for each of the VM clusters.
  • 16. The method of claim 1, further comprising: adding to a listing of productive members of the guest VMs any of the guest VMs that satisfy a defined user relevance rule for providing at least the threshold level of client services to users; anddisplaying information regarding the listing of productive members of the guest VMs.
  • 17. The method of claim 16, wherein adding to a listing of productive members of the guest VMs any of the guest VMs that satisfy a defined user relevance rule for providing at least the threshold level of client services to users, comprises: identifying services performed by guest VMs that are performed as overhead for operating the VM cluster on the physical machine instead of as client services provided to user clients.
  • 18. The method of claim 16, further comprising: repeating the adding to a listing of productive members of the guest VMs and the displaying information regarding the listing of productive members of the guest VMs for each of a plurality of VM clusters provided by computer operations of a plurality of physical machines; anddisplaying electrical power consumption by the physical machines which is attributed to the listing of productive members of the guest VMs for each of the VM clusters.
  • 19. The method of claim 16, further comprising: repeating the adding to a listing of productive members of the guest VMs and the displaying information regarding the listing of productive members of the guest VMs for each of a plurality of VM clusters provided by computer operations of a plurality of physical machines; anddisplaying physical rack storage space of the distributed computing system occupied by the physical machine which is attributed to the listing of productive members of the guest VMs for each of the VM clusters.
  • 20. A resource management node comprising: a processor; anda memory coupled to the processor and comprising computer readable program code that when executed by the processor causes the processor to perform operations comprising:for each of a plurality of guest virtual machines (VMs) of a VM cluster provided by computer operations of a physical machine among a plurality of physical machines within a distributed computing system, determining a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM; andfor each of the guest VMs, determining, based on the productivity metric for the guest VM, a infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM.
  • 21. A computer program product comprising: a computer readable storage medium having computer readable program code embodied in the medium that when executed by a processor of a computer system causes the computer system to perform operations comprising: for each of a plurality of guest virtual machines (VMs) of a VM cluster provided by computer operations of a physical machine among a plurality of physical machines in a distributed computing system, determining a productivity metric for the guest VM based on resources of the physical machine that are used by the guest VM; andfor each of the guest VMs, determining, based on the productivity metric for the guest VM, an infrastructure value that indicates how much infrastructure of the distributed computing system is attributed to providing the guest VM.