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

Inactive Publication Date: 2011-10-19
HUAZHONG UNIV OF SCI & TECH
View PDF8 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the balloon driver has defects, such as the inability to expand the physical address space of the virtual machine, resulting in an upper limit on the memory size of the virtual machine; frequent use of the balloon driver will cause the physical address space to be discontinuous, resulting in memory fragmentation
Memory hot-swapping is an important technology of operating system memory management, which can effectively improve the shortcomings of balloon drive, but it has not yet been implemented on Xen virtual machines
[0003] In general, multiple virtual machines running on a single physical machine use static memory allocation, that is, the memory size of the virtual machine is always the same or manually adjusted by the administrator. When the load of the virtual machine changes, insufficient memory or excessive memory utilization may occur. low case

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
  • 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
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455G06F12/02
Inventor 金海廖小飞马博刘海坤
Owner HUAZHONG UNIV OF SCI & TECH
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