Dynamic virtual CPU core allocation
AssigneeIntel Corporation
InventorAlexander W. Min
Life of this patent
Estimating the term…
Abstract
The systems and methods described herein provide power management circuitry that factors one or more cache parameters (e.g., cache utilization) of an application or VM when determining pCPU-vCPU core remapping. By considering a more robust mix of both processor and cache memory related parameters, system performance and stability are increased by improving CPU and cache utilization and efficiency while reducing cache related issues such as collisions and/or pollution.
Claims24
A performance monitoring system for virtual machines, comprising:
- performance monitoring circuitry to determine performance data indicative of at least one parameter logically associated with each of a plurality of virtual machines;
- resource monitoring circuitry to determine resource data indicative of:
- at least one physical core parameter logically associated with each of a plurality of physical cores;
- and
- at least one physical cache parameter logically associated with each of a plurality of physical caches, each of the physical caches communicably coupled to a respective one of the plurality of physical cores;
- and
- power management circuitry to:
- determine whether at least two of the plurality of virtual machines can be consolidated in a first physical core included in the plurality of physical cores based on the at least one physical core parameter received from the resource monitoring circuitry:
- responsive to a successful determination that the at least two virtual machines can be consolidated in the first physical core based on the at least one physical core parameter, determine whether the at least two of the plurality of virtual machines can be consolidated in a first physical cache coupled to the first physical core based on the at least one physical cache parameter received from the resource monitoring circuitry, wherein the at least one physical cache parameter includes one or more of cache turnover or cache access time;
- and
- consolidate the at least two virtual machines on the first physical core responsive to a successful determination that:
- the at least two virtual machines can be consolidated in the first physical core based on the at least one physical core parameter;
- and
- the at least two of the plurality of virtual machines can be consolidated in a first physical cache based on the at least one physical cache parameter.
A performance monitoring method to consolidate a plurality of virtual machines on a plurality of physical cores, each communicably coupled to a respective one of a corresponding plurality of physical caches, the method comprising:
- determining, by performance monitoring circuitry, performance data indicative of at least one parameter logically associated with each of a plurality of virtual machines;
- determining, by resource monitoring circuitry, resource data indicative of:
- at least one physical core parameter logically associated with each of the plurality of physical cores;
- and
- at least physical cache parameter logically associated with each of the plurality of physical caches, each of the physical caches communicably coupled to a respective one of the plurality of physical cores;
- and
- determining, by power management circuitry, whether at least two of the plurality of virtual machines can be consolidated in a first physical core included in the plurality of physical cores based on the at least one physical core parameter received from the resource monitoring circuitry:
- responsive to a successful determination that the at least two virtual machines can be consolidated in the first physical core based on the at least one physical core parameter, determining, by the power management circuitry, whether the at least two of the plurality of virtual machines can be consolidated in a first physical cache coupled to the first physical core based on the at least one physical cache parameter received from the resource monitoring circuitry, wherein the at least one physical cache parameter includes one or more of cache turnover or cache access time;
- and
- consolidating, by the power management circuitry, the at least two virtual machines on the first physical core responsive to a successful determination that:
- the at least two virtual machines can be consolidated in the first physical core based on the at least one physical core parameter;
- and
- the at least two of the plurality of virtual machines can be consolidated in a first physical cache based on the at least one physical cache parameter.
A performance monitoring system to consolidate a plurality of virtual machines on a plurality of physical cores, each communicably coupled to a respective one of a corresponding plurality of physical caches, the system comprising:
- a means for determining performance data indicative of at least one parameter logically associated with each of a plurality of virtual machines;
- a means for determining resource data indicative of:
- at least one physical core parameter logically associated with each of the plurality of physical cores;
- and
- at least physical cache parameter logically associated with each of the plurality of physical caches, each of the physical caches communicably coupled to a respective one of the plurality of physical cores;
- and
- a means for determining whether at least two of the plurality of virtual machines can be consolidated in a first physical core included in the plurality of physical cores based on the at least one physical core parameter received from the resource monitoring circuitry:
- a means for determining, by the power management circuitry, whether the at least two of the plurality of virtual machines can be consolidated in a first physical cache coupled to the first physical core based on the at least one physical cache parameter received from the resource monitoring circuitry responsive to a successful determination that the at least two virtual machines can be consolidated in the first physical core based on the at least one physical cache parameter, wherein the at least one physical cache parameter includes one or more of cache turnover or cache access time;
- and
- a means for consolidating, by the power management circuitry, the at least two virtual machines on the first physical core responsive to a successful determination that:
- the at least two virtual machines can be consolidated in the first physical core based on the at least one physical cache parameter;
- and
- the at least two of the plurality of virtual machines can be consolidated in a first physical cache based on the at least one physical cache parameter.
A storage device that includes one or more machine readable instruction sets, that when executed by circuitry, cause the circuitry to transform to a virtual machine manager, the virtual machine manager to:
- cause performance monitoring circuitry to determine performance data indicative of at least one parameter logically associated with each of a plurality of virtual machines;
- cause resource monitoring circuitry to determine resource data indicative of:
- at least one physical core parameter logically associated with each of a plurality of physical cores;
- and
- at least physical cache parameter logically associated with each of a plurality of physical caches, each of the physical caches communicably coupled to a respective one of the plurality of physical cores;
- and
- cause power management circuitry to determine whether at least two of the plurality of virtual machines can be consolidated in a first physical core included in the plurality of physical cores based on the at least one physical core parameter received from the resource monitoring circuitry:
- responsive to a successful determination that the at least two virtual machines can be consolidated in the first physical core based on the at least one physical core parameter, determine whether the at least two of the plurality of virtual machines can be consolidated in a first physical cache coupled to the first physical core based on the at least one physical cache parameter received from the resource monitoring circuitry, wherein the at least one physical cache parameter includes one or more of cache turnover or cache access time;
- and
- consolidate the at least two virtual machines on the first physical core responsive to a successful determination that:
- the at least two virtual machines can be consolidated in the first physical core based on the at least one physical core parameter;
- and
- the at least two of the plurality of virtual machines can be consolidated in a first physical cache based on the at least one physical cache parameter.
Dependencies are inferred from the claim text.