Method for fast scanning dirty page bitmap of full-virtualization virtual machine

A full-virtualization and fast-scanning technology, applied in the field of computing system virtualization, can solve problems such as the performance impact of virtual machines, and achieve the effects of achieving overall performance, shortening scan time, and reducing pause time

Inactive Publication Date: 2013-03-20
HUAZHONG UNIV OF SCI & TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is worth emphasizing that the virtual machine is in a paused state during the process of scanning the dirty page bitmap. For an application such as Remus that performs high-frequ

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
  • Method for fast scanning dirty page bitmap of full-virtualization virtual machine
  • Method for fast scanning dirty page bitmap of full-virtualization virtual machine
  • Method for fast scanning dirty page bitmap of full-virtualization virtual machine

Examples

Experimental program
Comparison scheme
Effect test

example

[0075] In order to verify the feasibility and effectiveness of the system of the present invention, the system of the present invention is configured in a real environment, and an experiment is carried out on fast scanning of dirty page bitmaps.

[0076] The basic hardware and software configurations of the server of the present invention are shown in Table 1.

[0077]

[0078] Table 1

[0079] The present invention first analyzes the dirty page recording mechanism of Xen and the distribution of dirty pages of the virtual machine; then according to whether the address stored in the second-level page table entry of Xen is valid, the first-level flag bit is set for the 4GB virtual address space of the full-virtualized virtual machine When the application requests the dirty page bitmap, it will be returned to the application together with the flag bits; after the application receives the dirty page bitmap, the first-level flag bits and the second-level flag bits, it will first...

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 method for fast scanning a dirty page bitmap of a full-virtualization virtual machine. The method comprises the following steps: a zone bit initialization phase, allocating a first class zone bit and a second class zone bit for 4 gigabyte (GB) memory space of the full-virtualization virtual machine in Xen address space, and meanwhile, initializing the first class zone bit and the second class zone bit into zero, wherein the number of the first class zone bit is 4GB/128MB=32, and the number of the second class zone bit is one; a zone bit setting phase, reading an address in a second class page table entry of an Xen and setting the values of the first class zone bit and the second class zone bit according to the address; and a zone bit scanning phase, scanning the dirty page bitmap of the full-virtualization virtual machine according to the values of the first class zone bit and the second class zone bit so as to obtain a dirty page number. According to the method for fast scanning the dirty page bitmap of the full-virtualization virtual machine, the time for suspending the virtual machine caused by scanning of the dirty page bitmap in a dynamic migration or a Remus HA system of the virtual machine is reduced, so that the calculated performance and the service quality of the virtual machine are enhanced.

Description

technical field [0001] The invention belongs to the field of computing system virtualization, and more specifically relates to a method for quickly scanning a dirty page bitmap of a fully virtualized virtual machine. Background technique [0002] System virtualization (System virtualization) is to run multiple operating system instances on a single physical hardware at the same time. These operating system instances share the underlying physical hardware resources and are independent of each other without interfering with each other. Resources are fully and efficiently used. Virtual machine (Virtual machine, referred to as VM) live migration (Live migration), as an important feature of system virtualization, allows virtual machines to migrate from one physical computer to another with almost no service interruption. It is transparent to virtual machines and users, and is widely used in system maintenance, load balancing, and fault-tolerant disaster recovery in data centers....

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): G06F12/02
Inventor 吴松石宜化金海杜云杰
Owner HUAZHONG UNIV OF SCI & TECH
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