Unlock instant, AI-driven research and patent intelligence for your innovation.

Internal memory resource distribution method based on internal memory hole mechanism

A memory hole and allocation method technology, which is applied in the field of on-demand allocation and management of memory resources on a multi-virtual machine platform, can solve problems such as high load, insufficient available memory, and reduced virtual machine performance, so as to enhance compatibility and reduce swapping out , The effect of reducing the I/O load

Inactive Publication Date: 2015-04-08
NAT UNIV OF DEFENSE TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As a result, the performance of the virtual machine is reduced, and at the same time, the swapping out of the page causes a high load on the I / O of the virtual machine
[0013] The virtual machine operating system triggers its paging mechanism because the operating system thinks that the available memory is insufficient, but the available memory is actually occupied by the balloon drive and may be recycled at any time, but the operating system cannot grasp this situation

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
  • Internal memory resource distribution method based on internal memory hole mechanism
  • Internal memory resource distribution method based on internal memory hole mechanism
  • Internal memory resource distribution method based on internal memory hole mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0056] The following VMM takes XEN, an open source virtualization platform popular in the industry, as an example to illustrate the implementation of the present invention as an example to further describe the present invention in detail.

[0057] XEN supports Linux and Windows as operating systems for virtual machines, and its privileged virtual machine for system management is called Dom0. The CPU of the physical computer adopts Intel Xeon CPU with virtualization support of Intel Virtual Machine eXtensions (VMX) technology and Extend Page Table (EPT) technology.

[0058] In the XEN virtualization platform, there are three different memory address spaces, which are the address space ranges seen from different perspectives of XEN or virtual machines:

[0059] (1) Guest virtual address GVA (Guest Virtual Address): the linear address in each process in the virtual machine;

[0060] (2) Guest Physical Address GPA (Guest Physical Address): The physical address seen by the virtual...

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 provides an internal memory resource distribution method based on an internal memory hole mechanism. A virtual machine monitor VMM is used for distributing physical hardware resources for a virtual machine. The internal memory resource distribution method comprises the following steps of: (1) assuming an internal memory total amount T of the virtual machine, and loading an inner core driving module which is called as internal memory hole drive in a virtual machine operation system; (2) applying and occupying an available internal memory space with a size of R by the internal memory hole drive according to a balloon drive working manner, and recycling the available internal memory space by the VMM to be repeatedly utilized, wherein the R is less than the T; (3) distributing an internal memory hole area with a size of H for the virtual machine by the internal memory hole drive in the available internal memory space occupied in the step (2) according to a set hole size value H, wherein the H is less than the R, and an internal memory hole is an internal memory space without establishing mapping from a client virtual address to a client physical address, and is a visible and available internal memory for the virtual machine; and (4) if the internal memory is accessed, respectively treating according to the difference of areas of the accessed internal memory in the operation process of the virtual machine.

Description

technical field [0001] The field that the present invention mainly relates to is the technical field of virtualization system software, especially the method for allocating and managing memory resources of a multi-virtual machine platform on demand. Background technique [0002] Virtualization technology is one of the core technologies of cloud computing. Through virtualization, the resources of a computer can be flexibly divided into multiple virtual machines according to the needs, and provided to multiple different users for simultaneous use, thus effectively improving the hardware performance. The utilization rate of resources reduces the cost of use. Therefore, this technology is also commonly referred to as "hardware resource consolidation". The key to the integration of hardware resources is the on-demand allocation of resources, that is, each virtual machine on a physical machine can reasonably obtain the right to use the corresponding part of the hardware resources...

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/50G06F9/455G06F11/07
Inventor 张鹏飞褚瑞王怀民刘兰峥王柳峰彭宇行王意洁田甜
Owner NAT UNIV OF DEFENSE TECH