Memory access optimization method and system for numa architecture system in virtual machine environment

A virtual machine and memory access technology, applied in the field of virtual machine scheduling, can solve problems such as inability to run correctly, difficulty in NUMA memory access optimization, and the inability of guest operating systems to correctly obtain underlying hardware information, so as to achieve the effect of easy memory access optimization.

Active Publication Date: 2017-12-26
SHENZHEN POLYTECHNIC
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because of the high isolation of the virtual machine, the guest operating system running on the virtual machine cannot correctly obtain the underlying hardware information, so that most performance analysis tools cannot run correctly in the virtual machine, causing NUMA memory access in the virtual machine environment Optimization brings great difficulty

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory access optimization method and system for numa architecture system in virtual machine environment
  • Memory access optimization method and system for numa architecture system in virtual machine environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0046] Such as figure 1 As shown, the memory access optimization method of the NUMA architecture system in the virtual machine environment of the present invention includes the following steps:

[0047] Step A: Real-time detection of the physical memory bandwidth pressure of each node in the NUMA architecture system by programming the performance monitoring unit of the non-core part of the processor in the virtual machine (VMM) environment, and determine whether the physical memory bandwidth pressure of each node exceeds the preset level . According to the Intel Corporation, the present invention divides the processor into two parts: a core subsystem (inner part) and a non-core subsystem (non-core part). and Logic Unit, ALU), Floating Point Unit ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a memory access optimization method and system for a NUMA architecture system in a virtual machine environment. The method comprises the steps of: detecting in real time the physical memory bandwidth pressure of each node in the NUMA architecture system by programming the performance monitoring unit of the non-core part of the processor in a virtual machine environment, and judging whether the physical memory bandwidth pressure of each node exceeds a preset level ;When the physical memory bandwidth pressure of a node exceeds the preset level, detect the global queue buffer pressure of this node, and judge the relationship between the local memory access pressure and the remote memory access pressure of this node accordingly; when the remote end of the node When the access pressure is greater than the local access pressure, the memory physical pages of the non-local virtual machines in the node are migrated to other nodes; when the local access pressure of the node is greater than the remote access pressure, the node is detected within the first preset time The number of times each local virtual machine causes the second-level cache to fail, and the local virtual machine that causes the least number of second-level cache failures is scheduled to other nodes.

Description

technical field [0001] The present invention relates to the technical field of virtual machine scheduling, in particular to a memory access optimization method and system for a NUMA architecture system in a virtual machine environment. Background technique [0002] With the rise of cloud computing and big data, NUMA (Non-Uniform Memory Access, non-uniform memory access) system platform has become the main infrastructure of cloud computing and cloud storage, and NUMA architecture will gradually become the mainstream architecture of high-performance computing. At the same time, due to the high isolation of the virtual machine (the virtual machine is isolated from the underlying physical machine), it is easy for users to accept (it looks consistent with the ordinary machine that the user is used to), supports different operating systems and applications, and is low-cost. Due to the characteristics of risk and easy maintenance, virtual machines are widely used in both personal P...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/455G06F9/50
Inventor 王梅罗秋明肖正兴肖锋
Owner SHENZHEN POLYTECHNIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products