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

Memory virtualization method and device and processor

A memory virtualization and processor technology, applied in the field of system virtualization, can solve the problems of reducing the efficiency of memory virtualization, high implementation complexity, and large changes, and achieve the effects of eliminating refill exceptions, less hardware modification, and improving efficiency

Active Publication Date: 2014-09-17
LOONGSON TECH CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the prior art, the internal changes of the processor are large, the cost is high, and the implementation complexity is high. Moreover, the addition of additional TLB or address translation components leads to a large number of additional TLB refills or related exceptions, which reduces memory virtualization. s efficiency

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
  • Memory virtualization method and device and processor
  • Memory virtualization method and device and processor
  • Memory virtualization method and device and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0035] figure 1 It is a flowchart of a memory virtualization method provided by an embodiment of the present invention. Such as figure 1 As shown, the method includes:

[0036] 101. Create a page table-based shadow buffer; the shadow buffer is used to buffer entries written into the conversion lookaside buffer TLB;

[0037] 102. Put the proces...

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 embodiment of the invention provides a memory virtualization method and device and a processor. The method comprises the steps of establishing a shadow buffer based on a page table, wherein the shadow buffer is used for writing in table items of a TLB in a buffering mode; switching processing of a TLB refilling abnormity into a root mode kernel mode so that a VMM can process the TLB refilling abnormity by inquiring the shadow buffer; switching execution of a TLB operational order into the root mode kernel mode so that the VMM can execute the TLB operational order on the shadow buffer; switching processing of a non-TLB refilling abnormity into a client mode kennel mode so that a virtual machine can process the non-TLB refilling abnormity. By adopting the memory virtualization method and device and the processor, the memory virtualization efficiency is improved.

Description

technical field [0001] Embodiments of the present invention relate to system virtualization technology, and in particular to a memory virtualization method, device and processor. Background technique [0002] With the application of cloud computing, system virtualization has developed faster and faster, and more and more architectures are trying to increase virtualization support, except for X86 and other hardware management translation lookaside buffer (Translation Lookaside Buffer, referred to as TLB ) architecture, the Million Instructions Per Second (MIPS) architecture and the Scalable Processor Architecture (SPARC) architecture have also proposed their own virtualization solutions. [0003] The TLB management of different architectures is mainly divided into two strategies, one is hardware management TLB, and the other is software management TLB. Hardware-managed TLB refers to the TLB in the hardware that is invisible to the programmer. When a processor (CPU) memory a...

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/10G06F11/00G06F3/06
Inventor 台运方蔡万伟刘奇
Owner LOONGSON TECH CORP
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