Dynamic memory management system based on memory hot plug for virtual machine

A dynamic memory and management system technology, applied in the direction of memory address/allocation/relocation, software emulation/interpretation/simulation, program control device, etc. Virtual machine is not implemented and other problems, to achieve the effect of improving memory utilization, improving scalability, and improving performance

A dynamic memory and management system technology, applied in the direction of memory address/allocation/relocation, software emulation/interpretation/simulation, program control device, etc. Virtual machine is not implemented and other problems, to achieve the effect of improving memory utilization, improving scalability, and improving performance

CN102222014AInactive Publication Date: 2011-10-19HUAZHONG UNIV OF SCI & TECH

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dynamic memory management system based on memory hot plug for virtual machine
  • Dynamic memory management system based on memory hot plug for virtual machine
  • Dynamic memory management system based on memory hot plug for virtual machine

Examples

Experimental program
Comparison scheme
Effect test

example

[0104] The dynamic memory management system set forth in the present invention can be illustrated by specific examples, the experimental environment only needs a PC, and the configuration is as follows:

[0105]

[0106] The modified Xen 4.0 and Linux 2.6.31 kernels of the present invention need to be installed on the physical machine, and both domain U and domain 0 use the Linux 2.6.31 kernels. The three functions of the present invention are tested respectively below.

[0107] (1) Virtual machine memory hot plug test

[0108] (1.1) Initial state: The memory of the physical machine is 2G, and the memory of domain 0 is fixed at 1G (cannot be changed);

[0109] (1.2) Create a virtual machine with 256M memory;

[0110] (1.3) Coarse-grained increase in memory: Use the memory hot-swap driver to set the virtual machine memory to 512M in the user mode interface of domain 0, and increase the memory by 256M, that is, add two segments of memory;

[0111] (1.4) Fine-grained memory ...

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 discloses a dynamic memory management system based on memory hot plug for a virtual machine, comprising a memory monitoring module, a memory distributing module and a memory hot plug module. The memory hot plug module adopts Linux memory hot plug mechanism to realize memory hot plug on a semi-virtual Linux virtual machine, thereby breaking through the initial memory toplimit of the virtual machine and efficiently improving the memory expandability of the virtual machine by increasing and reducing the memory randomly. On one hand, the memory distributing module dynamically predicts the memory requirement of the virtual machine and balances the memory pressure of each virtual machine, thereby being capable of satisfying the memory requirement of the virtual machine and also improving the memory utilization ratio of a physical machine; on the other hand, the memory distributing module can establish a new virtual machine by reasonably reducing the memory of the existing virtual machine when the memory of the physical machine is not enough, thereby realizing memory overuse and improving the memory utilization ratio of the physical machine.

Description

technical field [0001] The invention belongs to the field of computer applications, relates to memory management of a Xen paravirtualized virtual machine, and specifically relates to a dynamic memory management system in a multi-virtual machine environment. Background technique [0002] The resource scale of the current computing system is continuously expanding, the processing capacity is rapidly increasing, the types of resources are becoming more and more abundant, and the application requirements are flexible and diverse. Virtualization technology can dynamically organize various computing resources to realize a transparent and scalable computing system architecture, so as to flexibly build a computing environment that meets various application requirements and improve the efficiency of computing resources. Various virtualization solutions are constantly emerging, and the virtualization software Xen is undoubtedly one of the best. Xen is an open source virtual machine 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
19 Oct 2011
Publication
CN102222014A
IPC
G06F9/455; G06F12/02
Inventors
金海; 廖小飞