Frequency reduction method and device in thermal migration and storage medium

A thermal migration and frequency reduction technology, which is applied in the direction of multi-channel program devices, program control devices, program control design, etc., can solve the problems of vm overall performance degradation, simplicity and roughness, etc., and achieve precise control of frequency reduction operations and reduce virtual machine performance the effect of reducing the effect of

Active Publication Date: 2019-04-02
ALIBABA GRP HLDG LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In one solution, after the dirty page rate reaches a certain threshold, all vcpu threads in the vm that are performing live migration will be woken up (this can prevent the vcpu from going to sleep when the vcpu is already sleeping), and then perform live migration The vcpu thread in the vm in the vm performs millisecond (ms) level sleep (sleep), then on the host side, it appears that the vcpu thread in the vm undergoing live migration actively gives up the physical cpu, which in turn causes the vcpu thread in the vm undergoing live migration won't get scheduled
[0006] From a practical point of view, the above solution is too simple and rude, which will cause the vcpu that is performing other operations (such as computing, encoding and decoding, etc.) to be sleepy, reducing the overall performance of the vm

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
  • Frequency reduction method and device in thermal migration and storage medium
  • Frequency reduction method and device in thermal migration and storage medium
  • Frequency reduction method and device in thermal migration and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] Embodiment 1. A frequency reduction method in thermal migration, such as figure 1 As shown, including steps S110-S120:

[0068] S110. During the hot migration process, after the frequency reduction is determined, mark the vcpu thread targeted for the frequency reduction;

[0069] S120. Block the marked vcpu thread when a predetermined type of operation is performed on the marked vcpu thread.

[0070] In this embodiment, vm may refer to, but is not limited to, kvm, other open-source virtual machines, or other virtual machines that can modify execution codes.

[0071] In this embodiment, the vcpu threads targeted for frequency reduction may include, but not limited to, all or part of the vcpu threads of the source VM in live migration. The source vm may refer to the vm as the migration target in the live migration, and the memory copy in the live migration process is to copy the memory of the source vm to the target vm. The source vm can contain one or more vcpu thread...

Embodiment 2

[0136] Embodiment 2. A frequency reduction device in thermal migration, including: a memory and a processor;

[0137] The memory is used to store a program for frequency reduction; when the program for frequency reduction is read and executed by the processor, the following operations are performed:

[0138] During the hot migration process, after the frequency reduction is determined, mark the vcpu thread targeted for the frequency reduction;

[0139] Blocks a marked vcpu thread when performing a predetermined type of operation on the marked vcpu thread.

[0140] In an implementation manner, the predetermined type of operation may include an exit caused by writing a memory page.

[0141] In this implementation, the exit caused by writing the memory page may be, but not limited to, the misconfigure exit of the extended page table ept.

[0142] In an implementation manner, marking the vcpu thread targeted for frequency reduction may include:

[0143] Set the block bit in the...

Embodiment 3

[0154] Embodiment 3. A frequency reduction device in thermal migration, such as image 3 shown, including:

[0155] The marking module 31 is used to mark the vcpu thread targeted for the frequency reduction after determining the frequency reduction in the process of hot migration;

[0156] The blocking module 32 is configured to block the marked vcpu thread when a predetermined type of operation is performed on the marked vcpu thread.

[0157] In an implementation manner, the predetermined type of operation may include an exit caused by writing a memory page.

[0158] In this implementation, the exit caused by writing the memory page may be, but not limited to, the misconfigure exit of the extended page table ept.

[0159] In an implementation manner, the marking module marking the vcpu thread targeted for frequency reduction may include:

[0160] The marking module sets the block position in the vcpu request bitmap corresponding to the vcpu thread targeted for frequency re...

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 frequency reduction method and device in thermal migration and a storage medium. The frequency reduction method in the thermal migration comprises the steps of in the thermalmigration process, after frequency reduction is determined, marking a virtual central processing unit vcpu thread which the frequency reduction aims at; and when a predetermined type of operation is executed on the marked vcpu thread, blocking the marked vcpu thread. According to at least one embodiment of the invention, when frequency reduction is carried out in the thermal migration process, theinfluence on the performance of the virtual machine is reduced.

Description

technical field [0001] The invention relates to the field of virtual machines, in particular to a frequency reduction method, device and storage medium in hot migration. Background technique [0002] Live migration is a very important feature of the Kernel-based Virtual Machine (kvm) platform, also known as live migration and live migration, which plays an important role in the operation and maintenance of data centers. Role. During the hot migration process, the downtime (downtime) of the virtual machine directly affects the available time of the virtual machine (Virtual Machine, vm). [0003] During the hot migration process of kvm, it is necessary to continuously copy the vm memory from the source to the destination. Due to the generation of memory dirty pages (modified pages), it usually takes many iterations to completely copy the memory. When a certain number of iterations reaches the convergence of the memory, the last copy will be performed. The time spent on the...

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/48G06F9/455
CPCG06F9/45558G06F9/4856G06F2009/4557G06F2009/45591Y02D10/00
Inventor 周宜波
Owner ALIBABA GRP HLDG 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