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

Virtual machine establishing method, virtual machine monitor and virtual machine system

A virtual machine monitor and virtual machine technology, which is applied in the directions of instruments, program control design, program control devices, etc., can solve the problems of reducing the density of virtual machines, limiting the number of virtual machines, and not considering the memory usage of virtual machines. Memory usage, effect of increasing virtual machine density

Active Publication Date: 2011-08-03
HUAWEI TECH CO LTD
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The above technologies do not consider the memory usage during the process of starting the GOS after the virtual machine is created, but first allocate all the memory required by the virtual machine to the virtual machine, and then reclaim part of the memory, which enables the physical machine to start the virtual machine concurrently. The number is limited by the amount of physical memory, reducing virtual machine density

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 establishing method, virtual machine monitor and virtual machine system
  • Virtual machine establishing method, virtual machine monitor and virtual machine system
  • Virtual machine establishing method, virtual machine monitor and virtual machine system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] figure 2 It is a schematic diagram of the architecture of the virtual machine system in the embodiment of the present invention. Such as figure 2 As shown, the system includes: a virtual machine monitor and a virtual machine; wherein,

[0024] The virtual machine monitor is configured to map the client machine page frame number GFN corresponding to the pseudo-physical memory of the virtual machine to a shared zero page, where the shared zero page is a page whose page content is all zero in the physical memory; when the When the virtual machine writes the GFN, if a page exception occurs, a physical memory page is allocated to release the mapping relationship between the guest machine page frame number GFN and the shared zero page, and establish the guest machine page frame number GFN and the The mapping relationship of the machine page frame number MFN of the physical memory page.

[0025] Further, the virtual machine monitor can also be used to update the memory us...

Embodiment 2

[0034] Embodiment 2 of the present invention provides a virtual machine monitor VMM. read on figure 2 , the virtual machine monitor includes:

[0035] Initialize the virtual memory unit 210, which is used to map the client page frame number GFN corresponding to the pseudo-physical memory of the virtual machine to a shared zero page, which is a page whose page content in the physical memory is all zero;

[0036] The copy-on-write unit 220 is configured to allocate a physical memory page to release the mapping relationship between the client page frame number GFN and the shared zero page if a page exception occurs when the above-mentioned virtual machine writes the GFN, and establishes the Describe the mapping relationship between the client page frame number GFN and the machine page frame number MFN of the physical memory page.

[0037] Specifically, initialize the virtual memory unit 210, specifically for indexing all GFNs corresponding to the pseudo-physical memory of the ...

Embodiment 3

[0047] Embodiment 3 of the present invention provides a method for creating a virtual machine, image 3 It is an overall flow chart of a method for creating a virtual machine in Embodiment 3 of the present invention, such as image 3 As shown, the method includes:

[0048] Step 310, mapping the client page frame number GFN corresponding to the pseudo-physical memory of the virtual machine to a shared zero page, where the shared zero page is a page whose page content is all zeros in the physical memory;

[0049] Step 320, when the virtual machine writes the GFN, if a page exception occurs, allocate a physical memory page to release the mapping relationship between the guest page frame number GFN and the shared zero page, and establish the guest page The mapping relationship between the frame number GFN and the machine page frame number MFN of the physical memory page.

[0050] Specifically, in step 310, mapping the guest page frame number GFN corresponding to the pseudo-physi...

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 virtual machine establishing method, a virtual machine monitor and a virtual machine system. The method comprises the following steps of: mapping a guest frame number (GFN) corresponding to a pseudo-physical memory of the virtual machine to a sharing zero page, wherein the sharing zero page is a page that the page content in the physical memory is completely zero; distributing the physical memory page if the page is abnormal to cancel the mapping relationship between the GFN and the sharing zero page, and establishing a mapping relationship between the GFN and a machine frame number (MFN) of the physical memory page, when the virtual machine writes the GFN. By adopting the method, the memory usage of the virtual machine in the starting process can be reduced, and the density of the virtual machine can be improved. The virtual machine with Memory Overcommitted number are supported and concurrently started.

Description

technical field [0001] The invention relates to virtual machine technology, in particular to a method for creating a virtual machine, a virtual machine monitor and a virtual machine system. Background technique [0002] Virtualization technology is a decoupling method that separates underlying hardware devices from upper-level operating systems and applications. It introduces a virtual machine monitor (Virtual Machine Monitor, VMM) layer to directly manage underlying hardware resources, and creates an environment independent of the underlying hardware. A virtual machine (Virtual Machine, VM) is used by the upper-layer operating system and application programs. Virtualization technology, as one of the underlying important supporting technologies of the current popular cloud computing (Cloud Computing) platform, can greatly improve the resource utilization efficiency of physical devices. Such as figure 1 As shown, after system virtualization, a physical machine can run multi...

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
IPC IPC(8): G06F9/455G06F12/08
CPCG06F2009/45583G06F9/45558
Inventor 邱军叶川
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More