Internal storage static state partition and virtualization method

A virtualization and static technology, applied in the direction of memory address/allocation/relocation, memory system, instrument, etc., can solve the problems of high performance overhead, double page table space, large TLB performance overhead of virtual machine, etc., to achieve performance overhead low effect

Active Publication Date: 2013-05-22
JIANGNAN INST OF COMPUTING TECH
View PDF5 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] X86 based on NPT or VT hardware has high performance overhead: After the hardware provides these interfaces, it does not need to use shadow page tables, nor does it need to modify the virtual machine kernel, making memory virtualization completely transparent to virtual machines, but the introduction of such interfaces leads to bypass After the translation lookaside buffer (TLB) is missing (Miss) (in this manual, the bypass translation buffer miss is referred to as "TLBMiss"), the number of memory accesses during filling is greatly increased, and the TLB performance overhead of the virtual machine is relatively large.
[0008] The method based on the shadow page table has a large space overhead: specifically, for each page table managed by the virtual machine kernel, another copy of the shadow page table of the page table needs to be constructed and provided to the hardware. This method makes the page table occupy double the space

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 storage static state partition and virtualization method
  • Internal storage static state partition and virtualization method
  • Internal storage static state partition and virtualization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the content of the present invention clearer and easier to understand, the content of the present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.

[0030] It is different from the existing technology that uses dynamic allocation to realize memory virtualization, and the virtual machine requests memory from the host machine when it needs memory; the embodiment of the present invention adopts static memory allocation, and pre-allocates a fixed-size memory when the virtual machine is created. Memory. Correspondingly, in the memory static division virtualization method based on TLB Miss filling according to the embodiment of the present invention, the memory virtualization mode transparent to the virtual machine kernel is implemented by means of static memory allocation and modification of the TLB Miss filling process, which has low Features of performance overhead and low memory overhead.

[...

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 storage static state partition and virtualization method which comprises that when a virtual address translation is conducted, a true launch bar (TLB) table is inquired, if the virtual address hits the target in the table, a machine address corresponding to the virtual address is directly confirmed according to a page frame number of a page table item in the TLB table; and if the virtual address does not hit the target in the table, a missing processing flow of the TLB is switched to. In the missing processing flow of the TLB, a physical address is acquired from the virtual address; then a machine address corresponding to the physical address is calculated through address offset of a virtual machine, wherein the address offset of the virtual machine is stored in a control register of a virtual machine; and then the machine address is filled in the TLB. The address offset of the virtual machine is the address offset of the virtual machine, wherein the address offset of the virtual machine is stored in the control register of the virtual machine.

Description

technical field [0001] The present invention relates to the field of computer design, and more specifically, the present invention relates to a virtualization method for static memory division. Background technique [0002] Memory virtualization is to add a layer of mapping relationship on the basis of virtual address to physical address mapping, so that the virtual address is mapped to the virtual physical address, and then the virtual physical address is mapped to the physical address, and at the same time, each virtual machine (Virtual Machine, VM ) all think that they run independently on virtual physical addresses starting from 0. [0003] There are many ways to implement memory virtualization. From the perspective of memory allocation, there are two forms: dynamic allocation and static allocation. Existing commercial or open-source virtual machine managers (VMMs) on X86 use dynamic allocation to realize memory virtualization. When the virtual machine needs memory, it ...

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): G06F12/10G06F12/1036
Inventor 王星焱殷红武沈金祥何升许国春
Owner JIANGNAN INST OF COMPUTING 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