VM Resource Allocation Co-location on Processor Nodes
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing virtual machine resource allocation methods in cloud environments lead to long data transmission delays between virtual processors, virtual memory, and virtual input/output devices, increasing physical processor consumption and reducing virtual machine performance.
Innovation Solution
A method and apparatus for allocating physical resources to virtual machines, where the resource allocation parameter includes a scheduling parameter that ensures the physical processor, memory, and input/output devices are located on the same processor node, reducing data transmission delays and improving performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If resources are allocated in static random allocation manner or dynamic allocation according to load status, then resource allocation flexibility is improved, but data transmission delay between virtual processor, virtual memory, and virtual input/output device increases
Solution Approach 1:
The patent merges the allocation of physical processor, physical memory, and physical input/output device into a unified resource allocation unit located on the same processor node. This co-location strategy combines previously separately allocated resources into an integrated cluster, reducing transmission delays while maintaining allocation flexibility through the unified management approach.
Solution Approach 2:
The patent performs preliminary action by pre-establishing resource clusters on processor nodes before virtual machine deployment. Resources are pre-grouped and organized into available resource pools on specific nodes, allowing virtual machines to be quickly allocated to pre-prepared resource configurations that guarantee co-location, thereby avoiding transmission delays during runtime.
2Productivity
If resources are allocated across different processor nodes, then resource utilization rate is improved, but physical processor consumption increases due to longer data transmission paths
Solution Approach 1:
The patent applies local quality by optimizing resource allocation at the local processor node level rather than globally across the entire system. Each processor node maintains its own available resource pool with co-located resources, allowing local allocation decisions that minimize transmission distance and processor consumption while still achieving high overall utilization through distributed node management.
Data Source
Figure 1
Figure 2~3
Figure 4
AI summary
The present invention discloses a virtual machine resource allocation method and apparatus, which relate to the field of communications technologies and is invented to improve performance of a virtual machine. The method includes: acquiring a resource allocation parameter of a virtual machine, where the resource allocation parameter includes a scheduling parameter, and the scheduling parameter is used to indicate that at least two of a physical processor resource, a physical memory, and a physical input/output IO device that are allocated to the virtual machine are located on a same processor node; and allocating a physical resource to the virtual machine according to the resource allocation parameter. The present invention can be applied to a virtual machine technology.