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

Memory state migration method applicable to dynamic migration of virtual machine

A technology of dynamic migration and memory state, which is applied in the field of memory state migration of virtual machine dynamic migration, which can solve problems affecting migration performance, no memory page division, repeated transmission, etc., and achieve the effect of avoiding retransmission

Active Publication Date: 2015-01-07
NANJING UNIV OF SCI & TECH
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The most complicated problem is to migrate physical memory, because with the operation of VM, the content of memory is dynamic, which is the main factor affecting migration performance
However, in terms of memory state migration, the existing dynamic migration methods have the following problems: (1) judging whether dirty pages need to be sent to the destination VM only depends on the previous round and the current round of iterations, resulting in unnecessary repeated transfers; (2) The number of iterations is only three, and the historical dirty page data of three iterations is still unreliable for accurately judging the page type; (3) There is no detailed division of memory pages, resulting in unnecessary memory page transfers

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 state migration method applicable to dynamic migration of virtual machine
  • Memory state migration method applicable to dynamic migration of virtual machine
  • Memory state migration method applicable to dynamic migration of virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] combine figure 1 , explaining the various stages and important operations of VM live migration, including the following steps:

[0034] Step 1, collect the historical data of the memory page, store the collected information into the defined data structure, the specific process is as follows:

[0035] Step 1.1, define a data structure for storing memory page state information. Define a data structure global_pfn_info, which has three members of int type, namely pfn, type and dirty_num. pfn indicates the physical page number of the guest operating system; type indicates one of the following four types, which are PFINFO_FREE, PFINFO_RDO, PFINFO_HW, and PFINFO_WW, which describe the status of each guest operating system's physical page, representing free memory pages, Read-only memory pages, high-frequency rewritten pages, and low-frequency rewritten pages; dirty_num indicates the number of rewritten pages.

[0036] Step 1.2, determine the collection time span and time in...

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 state migration method applicable to dynamic migration of a virtual machine. The memory state migration method includes steps of regularly collecting memory historical data of memory dirty pages in a source host at a fixed time interval, recording rewriting times and observation values of the latest N times of each page; recognizing free memory pages of the source hose and transmitting migration requests to a selected target host; iteratively copying; stopping copying. The memory state migration method is high in copying efficiency, short in total migration time, short in halting time and small in migration data flows.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a memory state migration method suitable for dynamic migration of virtual machines. Background technique [0002] With the development of cloud computing and data centers, live migration of virtual machines (VMs) has become a research hotspot this year. VM Live Migration is a technique for moving a running VM between different physical machines without disconnecting clients or applications. Therefore, in the fields of load balancing, online maintenance, and active fault tolerance, VM dynamic migration is used as a powerful tool for managing clusters and cloud platforms. [0003] In order to perform live migration of a VM, the physical memory, network connection, VCPU, and other resources in the running state of the VM must be migrated from the source host to the destination host, and the VM remains running during the migration process. The most complicated issue is mig...

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/455G06F9/50
Inventor 徐建费薇李涛张琨张宏吴旺文李千目许福范志凯陈龙
Owner NANJING UNIV OF SCI & TECH
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