Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dynamic EMS memory mappings method of virtual machine manager

A virtual machine manager, dynamic memory technology, applied in the field of virtualization, can solve problems such as difficult management, difficult memory management functions, and mutual conflicts

Inactive Publication Date: 2008-04-09
PEKING UNIV
View PDF0 Cites 87 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] First, the scalability of the mechanism is not strong
Affected by the development cycle, the above-mentioned VMM introduced different underlying support mechanisms when implementing different memory management functions, which made the memory management module increasingly complex and difficult to manage, limiting the scalability of the system
For example, in order to realize the Ballooning function, Xen introduced the Grant Table mechanism (see Keir Fraser in 2004, "Safe Hardware Access with the Xen Virtual Machine Monitor," in Proceedings of the 1st Workshop on Operating System and Architectural Support), but this mechanism does not Suitable for on-demand page fetching, memory swapping, and memory sharing, making it difficult to continue adding these memory management functions
[0011] Second, the integrity and coupling are not high
Since the underlying mechanisms used by the modules are independent of each other, it is difficult for these modules to work together effectively, or even conflict with each other
For example, in VMWare ESX Server, the memory sharing mechanism cannot be enabled at the same time as the switching mechanism

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 EMS memory mappings method of virtual machine manager
  • Dynamic EMS memory mappings method of virtual machine manager

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0097] In the following example, we will briefly describe the necessary steps to realize the dynamic memory mapping mechanism on a virtual machine manager, and how to use the implemented dynamic memory mapping mechanism to complete the page swap of the virtual machine.

[0098] First of all, we need to design a data structure representing the machine page, which is called "machine page descriptor". The descriptor must contain the following information: 1. The corresponding machine page number; 2. Reference count, which is used to indicate that the page is mapped to f The number of times used; 3. The status flag is used to indicate the usage status of the page.

[0099] Then, we need to implement the page pool mechanism. The page pool can be implemented with two doubly linked lists, which are used to represent the active pool and the idle pool respectively. When the descriptor of a machine page is added to a linked list, it means that the page has been added to the correspondi...

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 mapping method of a virtual machine manager, the steps are that: separately establish a virtual machine page pool and a virtual machine manager page pool; when the virtual machine access is violated, the virtual machine manager dynamically establishes and updates the mapping relations f(p) form a physical memory collection P to a machine memory collection M in the virtual machine manager page pool; the inventive method can simultaneously support obtaining pages according to the requirements at upper layer, virtual storage, as well as memory shared functions, so as to make the virtual machine manager realize dynamic management and allocation of the virtual machine memory on the premise that the virtual machine manager sufficiently guarantees the virtual machine access memory performance.

Description

technical field [0001] The invention relates to a virtualization method, in particular to a dynamic memory mapping method of a virtual machine manager. Background technique [0002] The virtual machine (Virtual Machine, VM) technology originated in the 1960s. Its core idea is to virtualize multiple virtual computers (VMs) on a physical host, on which multiple independent operating systems can run simultaneously. A guest operating system (Guest OS) accesses actual physical resources through a virtual machine manager (Virtual Machine Monitor, VMM). Memory virtualization is one of the important functions of a virtual machine manager (VMM). Since memory is one of the most frequently accessed devices by virtual machines, the efficiency of memory virtualization will have a significant impact on the performance of virtual machines. Since modern computers usually adopt complex storage architectures such as segmented page storage management and multi-level page tables, this brings ...

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
IPC IPC(8): G06F12/02G06F9/455
Inventor 罗英伟陈昊罡汪小林张彬彬孙逸峰许卓群
Owner PEKING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products