A memory snapshot management method, 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 the slow operation of memory snapshot, so as to improve the creation speed and realize the effect of mutual distinction

Active Publication Date: 2022-05-10
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF4 Cites 0 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
  • A memory snapshot management method, device, equipment and medium
  • A memory snapshot management method, device, equipment and medium
  • A memory snapshot management method, 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 present application discloses a memory snapshot management method, device, device and medium, including: when a memory snapshot generation command is obtained, suspending the virtual machine; copying the secondary page table of the virtual machine to obtain the first snapshot page table, And set the read-only flag for the page table entry of the secondary page table; obtain the corresponding memory page through the page table entry of the first snapshot page table, and increase the reference count of the memory page, and set the virtual The machine resumes from the suspended state to the running state. It can be seen that after the application obtains the memory snapshot generation command, 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 without writing to the disk, which avoids memory The impact of data writing to disk on the actual operation, thus improving the creation speed of memory snapshots.

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 Patents(China)
IPC IPC(8): G06F9/455G06F12/0897
CPCG06F9/45558G06F12/0897G06F2009/45583G06F2009/45562G06F2009/45575
Inventor 王亮周胜利冯振
Owner INSPUR SUZHOU 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