Memory snapshot management method and device, equipment and medium

A technology of memory snapshot and management method, which is applied in the direction of program control device, memory system, program control design, etc. It can solve the problems affecting the use of memory snapshot and slow operation of memory snapshot, so as to improve the creation speed and realize the effect of mutual differentiation

Active Publication Date: 2022-03-08
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Currently, in the common virtual machine (Virtual Machine) memory snapshot solution, the virtual machine monitor needs to suspend the virtual machine first, and then export the current memory data of the virtual machine to the disk; since the memory data needs to be written to the disk, The operation of performing memory snapshots on virtual machines is very slow, which affects the use of memory snapshots in real-world scenarios

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 snapshot management method and device, equipment and medium
  • Memory snapshot management method and device, equipment and medium
  • Memory snapshot management method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0043] Currently, in the commonly used virtual machine memory snapshot scheme, the virtual machine monitor needs to suspend the virtual machine first, and then export the current memory data of the virtual machine to the disk; since the memory data needs to be written to the disk, the virtual machine executes The operation of memory snapshots is very slow, which affects the use of memory snapshots in real-world scenarios. To this end, the embodiment of the pre...

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 discloses a memory snapshot management method and device, equipment and a medium, and the method comprises the steps: pausing a virtual machine when a memory snapshot generation command is obtained; copying a second-level page table of the virtual machine to obtain a first snapshot page table, and setting a read-only identifier for a page table item of the second-level page table; and obtaining a corresponding memory page through a page table item of the first snapshot page table, increasing a reference count of the memory page, and recovering the virtual machine from a pause state to a running state. It can be seen that after the memory snapshot generation command is obtained, the memory snapshot of the virtual machine is created by copying the second-level page table of the virtual machine, and the created memory snapshot is still stored in the memory and does not need to be written into a disk, so that the influence on actual operation caused by writing the memory data into the disk is avoided; therefore, the creation speed of the memory snapshot is improved.

Description

technical field [0001] The invention relates to the technical field of data protection in a cloud computing environment, in particular to a memory snapshot management method, device, equipment and medium. Background technique [0002] Currently, in the common virtual machine (Virtual Machine) memory snapshot solution, the virtual machine monitor needs to suspend the virtual machine first, and then export the current memory data of the virtual machine to the disk; since the memory data needs to be written to the disk, The operation of performing memory snapshots on virtual machines is very slow, which affects the use of memory snapshots in real-world scenarios. [0003] To sum up, it can be seen that how to avoid the impact of writing the memory data to the disk on the actual operation and improve the creation speed of the memory snapshot is a problem to be solved at present. Contents of the invention [0004] In view of this, the purpose of the present invention is to pro...

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/0897
CPCG06F9/45558G06F12/0897G06F2009/45583G06F2009/45562G06F2009/45575
Inventor 王亮周胜利冯振
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
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