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

Virtual machine tlb filling method, device and storage medium

A virtual machine, virtual address technology, applied in the computer field to achieve the effect of fast filling

Active Publication Date: 2021-08-03
LOONGSON TECH CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a TLB filling method, device and storage medium of a virtual machine, which are used to solve the technical problem of how to realize the TLB filling of a virtual machine on a computer architecture that does not support page table base address registers in the prior art

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
  • Virtual machine tlb filling method, device and storage medium
  • Virtual machine tlb filling method, device and storage medium
  • Virtual machine tlb filling method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0065] In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the present invention. Some, but not all, embodiments are disclosed. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0066] In order to facilitate the understanding of the embodiments of the present invention, the concepts involved in the embodiments of the present invention are first described and introduced below:

[0067] 1. Virtual Machine (VM for short): refers to a complete computer system with complete hardware system functions simulated by software and running ...

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 present invention provides a TLB filling method, device and storage medium for a virtual machine. The method includes: obtaining a target virtual address to be filled into a TLB in a translation detection buffer, and identifying an identifier of a target process accessing the target virtual address; according to the target virtual address address and the identifier of the target process, obtain the target machine address corresponding to the target virtual address and the identifier of the target process from the shadow page table of the virtual machine, the shadow page table includes at least one mapping relationship of at least one virtual address, each virtual address The mapping relationship is used to indicate a combination corresponding to the virtual address, and the combination includes: the machine address and the process identifier; the mapping relationship between the identifier of the target process, the target virtual address, and the target machine address is filled in the TLB. The invention can solve the technical problem of how to realize the TLB filling of the virtual machine on the computer architecture that does not support the page table base address register in the prior art.

Description

technical field [0001] The present invention relates to computer technology, in particular to a TLB filling method, device and storage medium of a virtual machine. Background technique [0002] Xen is an open source hypervisor. In order to allow the memory of the physically existing computer (HOST) to be shared by different virtual machines running on the HOST, Xen introduces a layer of intermediate addresses between the virtual address and the physical address, called the "physical" address of the virtual machine. In this way, the operating system Guest OS running on the virtual machine can see the "physical" address of the virtual machine, but not the machine address of the HOST. [0003] The Guest page table, which maintains the mapping relationship between the GVA (virtual address) of each process and the GPA (the "physical" address of the virtual machine), is maintained in the Guest OS, and the GPA (the virtual machine's "physical" address) of each process is maintaine...

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/455G06F12/1036
CPCG06F9/45533G06F12/1036G06F2009/45562G06F2009/45575
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