System and method for attributing CPU usage of a virtual machine monitor to a corresponding virtual machine
AssigneeHewlett-Packard Development Company, L.P.
InventorsLudmila Cherkasova, Robert D. Gardner
Life of this patent
Estimating the term…
Abstract
According to at least one embodiment, a method comprises observing communication from a virtual machine (VM) to a virtual machine monitor (VMM). The method further comprises determining, based on the observed communication, CPU utilization of the VMM that is attributable to the VM. According to at least one embodiment, a system comprises a Central Processing Unit (CPU), Virtual Machines (VMs), and a Virtual Machine Monitor (VMM) operable to receive requests for resource access from the VMs. The system further comprises a CPU utilization monitor operable to determine an amount of CPU utilization of the VMM in processing the received requests that is attributable to each of the VMs.
Claims32
A method comprising:
- observing communication from a given virtual machine (VM) of a plurality of VMs, to a virtual machine monitor (VMM), by observing communication from said VM that is requesting access to a resource, as an access request for said VM by said VMM;
- and
- determining, based on said communication, utilization of the CPU by said VMM specifically attributable to said VM, and not attributable to any other of the plurality of VMs, wherein the utilization of the CPU by said VMM is the utilization of the CPU by said VMM performed for processing said access request for said VM by said VMM.
A method comprising:
- a plurality of virtual machines (VMs) communicating with a virtual machine monitor (VMM) for requesting resource access;
- and
- determining CPU utilization of each VM, wherein said determining includes:
- observing communication from said VMs and said VMM that is requesting access to a resource as access requests for said VMs by said VMM;
- determining CPU utilization of said VMM attributable to each of said VMs,
- wherein the CPU utilization of each VM is the utilization of the CPU by said VMM performed for processing said access request for said VM by said VMM.
A method comprising:
- determining, for each of a plurality of virtual machines (VMs), CPU utilization allocated by a scheduler to such VM;
- determining, for each of said VMs, an amount of virtual machine monitor (VMM) CPU utilization specifically attributable to each VM, and not attributable to any other of the plurality of VMs, by observing communication from said VMs that are requesting access to a resource, as access requests for said VMs by said VMM;
- and
- determining, for each of said VMs, total CPU utilization attributable to such VM by summing the determined CPU utilization allocated to the VM by the scheduler and the determined amount of VMM CPU utilization attributable to the VM,
- wherein the determined CPU utilization by said VMM includes utilization of the CPU by said VMM performed for processing said access requests for said VMs by said VMM.
A system comprising:
- Central Processing Unit (CPU);
- Virtual Machines (VMs);
- Virtual Machine Monitor (VMM) operable to receive requests for resource access from said VMs;
- and
- a CPU utilization monitor operable to determine an amount of CPU utilization of said VMM in processing said received requests that is attributable to each of said VMs, by:
- observing communication from said VMs that is requesting access to a resource, as access requests for said VMs by said VMM;
- determining, based on said communication, utilization of the CPU by said VMM specifically attributable to said VM, and not attributable to any other of said VMs,
- wherein the utilization of the CPU by said VMM is the utilization of the CPU by said VMM performed for processing said access requests for said VMs by said VMM.
A non-transitory computer-readable medium storing computer-executable software code executable by a processor, said computer-executable software code comprising:
- code for observing communication from a virtual machine (VM) to a virtual machine monitor (VMM) by observing communication from said VM that is requesting access to a resource, as an access request for said VM by said VMM;
- and
- code for determining, based on said communication, utilization of the CPU by said VMM specifically attributable to said VM, and not attributable to any other of the plurality of VMs,
- wherein the utilization of the CPU by said VMM is the utilization of the CPU by said VMM performed for processing said access request for said VM by said VMM.
Dependencies are inferred from the claim text.