Memory sharing method and device for virtual machine

A memory sharing and virtual machine technology, applied in the computer field, can solve problems such as sharing

Inactive Publication Date: 2013-04-10
BEIHANG UNIV
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, different virtual machines on a physical machine may belong to different users, which may cause sensitive information of users to be shared by other virtual machines during the process of scanning duplicate code or duplicate pages on different virtual machines

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 sharing method and device for virtual machine
  • Memory sharing method and device for virtual machine
  • Memory sharing method and device for virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] 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 making creative efforts belong to the protection scope of the present invention.

[0023] figure 1 It is a schematic diagram of the principle of virtual machine memory sharing, such as figure 1 As shown, in the virtual machine platform, virtual machines with the same memory page can share pages. Therefore, each virtual machine can include private pages and shared pages.

[0024] figure 2 A flowchart of an embodiment of...

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 a memory sharing method and device for a virtual machine. The method comprises the steps of: dividing the virtual machine on a physical machine into at least two user groups according to the users to whom the virtual machines on the physical machine belong, wherein the virtual machine in each user group shares a progress, and different user groups correspond to different progresses; scanning a memory page occupied to store repeated data by the virtual machine in the corresponding user group according to the progress; deleting redundant data of the memory page where repeated data is stored; and further comprising: re-distributing the memory page released by deletion of redundant data to the virtual machines in corresponding user groups. According to the method and device provided by the invention, sensitive information of the user is prevented from being shared by other virtual machines when the virtual machines share the memory.

Description

technical field [0001] The invention relates to computer technology, in particular to a virtual machine memory sharing method and device. Background technique [0002] With the continuous development of virtual machine technology, in order to solve the limitation of virtual machine memory space, memory sharing technology is proposed as a method to solve memory availability, which can effectively eliminate redundant memory pages. If a virtual machine with the same operating system and applications is running on a physical machine, there will be many memory pages with the same content, and redundant pages with the same content can be deleted, thereby freeing memory for continued use by other applications. [0003] In the existing memory sharing technology, duplicate codes or duplicate pages shared by various virtual machines on the same physical machine can be mapped to the same physical page to reduce redundant data on the memory. However, different virtual machines on a phy...

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/08G06F9/455G06F12/0806
Inventor 胡春明邓岩李博崔磊
Owner BEIHANG UNIV
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