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

Dynamic EMS memory mappings method of virtual machine manager

A virtual machine manager and dynamic memory technology, applied in the field of virtualization, can solve the problems of weak mechanism scalability, difficult modules to work together, not applicable to on-demand page fetching, memory swapping and memory sharing, etc.

Inactive Publication Date: 2009-08-12
PEKING UNIV
View PDF5 Cites 2 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
  • Dynamic EMS memory mappings method of virtual machine manager

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0094] 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.

[0095] 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.

[0096] 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 of which are: respectively establishing page pools of the virtual machine and the virtual machine manager; and dynamically establishing and updating the physical memory of the virtual machine by the virtual machine manager when the virtual machine access is violated Set P to the mapping relationship f(p) of the machine memory set M in the page pool of the virtual machine manager; adopting the method of the present invention can support the upper layer's on-demand page fetching, virtual storage and memory sharing functions at the same time, so that the virtual machine manager On the premise of fully guaranteeing the memory access performance of the virtual machine, realize the dynamic management and allocation of the memory of the virtual machine.

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
Patent Type & Authority Patents(China)
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