CN103353850A - Virtual machine thermal migration memory processing method, device and system - Google Patents

Virtual machine thermal migration memory processing method, device and system Download PDF

Info

Publication number
CN103353850A
CN103353850A CN2013102333118A CN201310233311A CN103353850A CN 103353850 A CN103353850 A CN 103353850A CN 2013102333118 A CN2013102333118 A CN 2013102333118A CN 201310233311 A CN201310233311 A CN 201310233311A CN 103353850 A CN103353850 A CN 103353850A
Authority
CN
China
Prior art keywords
page piece
compression
virtual machine
page
piece
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013102333118A
Other languages
Chinese (zh)
Other versions
CN103353850B (en
Inventor
洪涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310233311.8A priority Critical patent/CN103353850B/en
Publication of CN103353850A publication Critical patent/CN103353850A/en
Application granted granted Critical
Publication of CN103353850B publication Critical patent/CN103353850B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Memory System (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

The invention provides a virtual machine thermal migration memory processing method, device and system. The method comprises the following steps: compression processing of a current to-be-transmitted first memory page block of a virtual machine on a source physical machine is performed by using the first compression algorithm, and storing compression information of the first memory page block; if N memory page blocks containing the first memory page block do not meet preset compression performance after being subjected to compression processing through judging according to the compression information of the first memory page block and compression information of (N-1) memory page blocks transmitted before the first memory page block, and then M memory page blocks after the first memory page block are not subjected to compression processing and are directly transmitted to a target physical machine, wherein the N is greater than 1 and the M is greater than 1. According to the method, the device and the system provided by the invention, the thermal migration performance of the virtual machine is improved, the CPU (Central Processing Unit) overhead of the source physical machine is reduced and processing resources are saved.

Description

Live migration of virtual machine internal memory processing method, device and system
Technical field
The embodiment of the invention relates to communication technical field, relates in particular to a kind of live migration of virtual machine internal memory processing method, device and system.
Background technology
Live migration of virtual machine is a gordian technique in virtual field, is to realize changing under the dynamic load leveling and non-interrupting service condition in the cluster and the important means of maintenance host.The ultimate principle of live migration of virtual machine is: in the situation that does not affect customer service or not perception of user, the virtual machine of operation is moved to the target physical machine from the source physical machine, and minimizing transit time and resource consumption are the means that improve thermophoresis efficient.
Because it is much bigger that the internal storage data amount of virtual machine is compared other information of virtual machine, be the important means that promotes live migration of virtual machine efficient so optimize the memory pages load mode of virtual machine.In the thermophoresis process, it is that loop iteration sends that the internal storage data of virtual machine is sent to the method that the target physical machine adopts from the source physical machine, in internal storage data loop iteration process of transmitting, the page that source virtual machine is to be sent is cut into the page piece according to pseudo-Physical Page frame number order by a certain size, after every page piece compressed, be sent to the purpose physical machine.
But, can learn that according to the experiment of compression algorithm some data is such as h.264 film and mp3 file, compression consumes more than the cpu resource but compression effectiveness is not obvious, therefore, the thermophoresis efficient of virtual machine is affected.
Summary of the invention
For the defects of prior art, the embodiment of the invention provides a kind of live migration of virtual machine internal memory processing method, device and system.
First aspect, the embodiment of the invention provide a kind of live migration of virtual machine internal memory processing method, comprising:
Use the first compression algorithm on the physical machine of source, the first page piece of current virtual machine to be sent compresses processing, and stores the compressed information of described the first page piece;
Compressed information according to the compressed information of described the first page piece and (N-1) individual page piece of before described the first page piece, sending continuously, know that a N continuous page piece that comprises described the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.
In conjunction with first aspect, in the possible implementation of the first, described method also comprises:
Know that the described N continuous page piece number percent that the satisfied page piece of presetting compression performance accounts for described N page piece after overcompression is processed reaches default threshold value if judge, then described the first compression algorithm is changed to the second compression algorithm, compress to sent the page piece of virtual machine to use described the second compression algorithm.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described the second compression algorithm of described application is compressed specifically to sent the page piece of virtual machine and is comprised:
Use described the second compression algorithm on the physical machine of source, the second page piece of current virtual machine to be sent compresses processing, and stores the compressed information of described the second page piece;
Compressed information according to the compressed information of described the second page piece and (N-1) individual page piece of before described the second page piece, sending continuously, know that a N continuous page piece that comprises described the second page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the second page piece do not compressed processing and directly send to the target physical machine, and described the second compression algorithm changed to described the first compression algorithm, wherein, N greater than 1, M greater than 1.
In conjunction with the above-mentioned possible implementation of first aspect, in the third possible implementation after described compressed information is page piece compression with compression before ratio of compression and during the unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression and described unit compression time are all greater than default threshold value, perhaps, the product of the ratio of compression of described page piece and unit compression time is greater than default threshold value;
When described compressed information is described ratio of compression or described unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression or described unit compression time are greater than default threshold value.
Second aspect, the embodiment of the invention provide a kind of live migration of virtual machine internal memory treating apparatus, comprising:
Compression module be used for to be used the first compression algorithm the first page piece of source physical machine, current virtual machine to be sent is compressed processing, and stores the compressed information of described the first page piece;
Processing module, be used for the compressed information according to the compressed information of described the first page piece and (N-1) individual page piece of before described the first page piece, sending continuously, know that a N continuous page piece that comprises described the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.
In conjunction with second aspect, in the possible implementation of the first, described processing module also is used for: know that the described N continuous page piece number percent that the satisfied page piece of presetting compression performance accounts for described N page piece after overcompression is processed reaches default threshold value, then changes to the second compression algorithm with described the first compression algorithm if judge.
In conjunction with second aspect, in the possible implementation of the second, described compression module also is used for: use described the second compression algorithm the second page piece of source physical machine, current virtual machine to be sent is compressed processing, and store the compressed information of described the second page piece;
Described processing module also is used for: according to the compressed information of the compressed information of described the second page piece and (N-1) individual page piece of sending continuously before described the second page piece, know that a N continuous page piece that comprises described the second page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the second page piece do not compressed processing and directly send to the target physical machine, and described the second compression algorithm changed to described the first compression algorithm, wherein, N greater than 1, M greater than 1.
In conjunction with the above-mentioned various possible implementations of second aspect, in the third possible implementation,
When described compressed information is after the page piece compresses and compresses front ratio of compression and unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression and described unit compression time are all greater than default threshold value, perhaps, the product of the ratio of compression of described page piece and unit compression time is greater than default threshold value;
When described compressed information is described ratio of compression or described unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression or described unit compression time are greater than default threshold value.
The third aspect, the embodiment of the invention provides a kind of virutal machine memory data handling system, comprise: source physical machine, target physical machine and above-mentioned live migration of virtual machine internal memory treating apparatus, described live migration of virtual machine internal memory treating apparatus is positioned on the physical machine of described source.
The live migration of virtual machine internal memory processing method that the embodiment of the invention provides, device and system, by using the first compression algorithm on the physical machine of source, the first page piece of current virtual machine to be sent compresses processing, and store the compressed information of the first page piece, compressed information according to the compressed information of the first page piece and (N-1) individual page piece of before the first page piece, sending continuously, know that a N continuous page piece that comprises the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.Thereby improved the performance of live migration of virtual machine, reduced the CPU expense of source physical machine, saved the processing resource.
Description of drawings
The process flow diagram of the live migration of virtual machine internal memory processing method that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is for using the data processed result of processing page piece embodiment illustrated in fig. 1;
Fig. 3 compares histogram for using the analysis with prior art processing live migration of virtual machine process embodiment illustrated in fig. 1;
The structural representation of the live migration of virtual machine internal memory treating apparatus that Fig. 4 provides for the embodiment of the invention;
The structural representation of the virutal machine memory data handling system that Fig. 5 provides for the embodiment of the invention;
The hardware configuration synoptic diagram that Fig. 6 processes for the virutal machine memory data that the embodiment of the invention provides.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The process flow diagram of the live migration of virtual machine internal memory processing method that Fig. 1 provides for the embodiment of the invention, as shown in Figure 1, the method comprises:
Step 100, use the first compression algorithm on the physical machine of source, the first page piece of current virtual machine to be sent compresses processing, and stores the compressed information of described the first page piece;
Live migration of virtual machine internal memory treating apparatus use the first compression algorithm on the physical machine of source, the first page piece of current virtual machine to be sent compresses processing, and the first page piece after overcompression is processed sent on the purpose physical machine, then live migration of virtual machine internal memory treating apparatus is at the compressed information of the first page piece of this locality storage after overcompression is processed.Need to prove that the compressed information in the present embodiment specifically comprises: the ratio of compression that the compression of page piece is rear and compression is front and/or the unit compression time of page piece.
Step 101, compressed information according to the compressed information of described the first page piece and (N-1) individual page piece of before described the first page piece, sending continuously, know that a N continuous page piece that comprises described the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.
Live migration of virtual machine internal memory treating apparatus sends to the first page piece after the purpose physical machine, compressed information according to the compressed information of the first page piece and (N-1) individual page piece of before the first page piece, sending continuously, judgement comprises a N continuous page piece of the first page piece, whether satisfies default compression performance after overcompression is processed, wherein, compression performance arranges according to compressed information, particular content is adjusted according to practical application, illustrates as follows:
After compressed information comprises page piece compression with compression before ratio of compression and during the unit compression time of page piece, corresponding default compression performance comprises: if the ratio of compression of page piece and unit compression time are all less than or equal to default threshold value, perhaps, the product of the ratio of compression of page piece and unit compression time is less than or equal to default threshold value, determine that then the page piece after overcompression is processed satisfies default compression performance, if the ratio of compression of page piece and/or unit compression time are greater than default threshold value, perhaps, the product of the ratio of compression of page piece and unit compression time determines then that greater than default threshold value the page piece after overcompression is processed does not satisfy default compression performance; When compressed information is the ratio of compression of page piece or unit compression time, corresponding, default compression performance specifically comprises: if the ratio of compression of page piece or unit compression time, determine then that the page piece after overcompression is processed satisfies default compression performance less than or equal to default threshold value; If the ratio of compression of page piece or unit compression time, are then determined the page piece after overcompression is processed greater than default threshold value and are not satisfied default compression performance.
Hence one can see that, if judging, live migration of virtual machine internal memory treating apparatus knows that a N continuous page piece that comprises the first page piece does not all satisfy default compression performance after overcompression is processed, illustrate that then a present N continuous page piece belongs to that h.264 this type of compression effectiveness such as film and mp3 file is not obvious, the probability of the data that compression efficiency is relatively poor surpasses default alarm threshold, the cpu resource that data compression consumes of these types is many but compression effectiveness is not obvious, because adjacent memory page or leaf piece has the locality characteristics on the virutal machine memory space, be the data that the continuous page piece of certain a slice belongs to same-type, therefore, it is not obvious that live migration of virtual machine internal memory treating apparatus judges that according to the compression situation of this N continuous page piece this first page piece M page piece afterwards also belongs to compression effectiveness, the probability of the data that compression efficiency is relatively poor is also very large, therefore, live migration of virtual machine internal memory treating apparatus is no longer used the first compression algorithm M page piece after the first page piece is compressed processing, but directly send to the target physical machine, wherein, N is greater than 1, M is greater than 1, because network transmission speed, the factors such as page block size can change according to concrete application needs, therefore, the concrete numerical value of N and M can be optimized by test according to the application scenarios of reality, so that compression efficiency is higher.
The live migration of virtual machine internal memory processing method that present embodiment provides, by using the first compression algorithm on the physical machine of source, the first page piece of current virtual machine to be sent compresses processing, and store the compressed information of the first page piece, compressed information according to the compressed information of the first page piece and (N-1) individual page piece of before the first page piece, sending continuously, know that a N continuous page piece that comprises the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.Thereby improved the performance of live migration of virtual machine, reduced the CPU expense of source physical machine, saved the processing resource.
Based on above-described embodiment, further, live migration of virtual machine internal memory treating apparatus is according to the compressed information of the compressed information of the first page piece and (N-1) individual page piece of sending continuously before the first page piece, know the page piece that after overcompression is processed, does not satisfy default compression performance in the N continuous page piece that comprises the first page piece if judge, account for the number percent of N page piece more than or equal to default threshold value, illustrate that then some page piece satisfies default compression performance in the present N continuous page piece after overcompression is processed, this type of compression effectiveness such as film and mp3 file is not obvious and belong to h.264, the proportion that the proportion of the page piece of the data that compression efficiency is relatively poor accounts for N contiguous memory page or leaf piece is larger, the first compression algorithm that current application is described is not high to the treatment effeciency of at present continuous page piece, therefore, live migration of virtual machine internal memory treating apparatus changes to the second compression algorithm with the first compression algorithm, compresses to sent the page piece of virtual machine to use the second compression algorithm.
Particularly, after live migration of virtual machine internal memory treating apparatus sends to the target physical machine with the first page piece after overcompression is processed, the second compression algorithm behind the live migration of virtual machine internal memory treating apparatus apply changes is on the physical machine of source, the second page piece of current virtual machine to be sent compresses to be processed and the second page piece after overcompression is processed is sent to the target physical machine, then store the compressed information of the second page piece in this locality, and according to the compressed information of the compressed information of the second page piece and (N-1) individual page piece of before the second page piece, sending continuously, judge whether a N continuous page piece that comprises the second page piece satisfies default compression performance after overcompression is processed, know that a N continuous page piece that comprises the second page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after the second page piece do not compressed processing and directly send to the target physical machine, and the second compression algorithm changed to the first compression algorithm, wherein, N is greater than 1, M is greater than 1, above-mentioned concrete processing procedure repeats no more referring to embodiment shown in Figure 1 herein.
Further, based on above-described embodiment, in actual application, live migration of virtual machine internal memory treating apparatus is adjusted the value of above-mentioned N and M according to network transmission speed to the page block size of virtual machine, to optimize the thermophoresis efficient of virtual machine.
Solve the specific implementation process of the lower problem of present live migration of virtual machine efficient by live migration of virtual machine internal memory processing method provided by the invention for clearer explanation, illustrate as follows with concrete application scenarios: suppose that the virtual machine on the physical machine of source has 20 memory blocks need to send to the purpose physical machine, suppose N=3 in the present embodiment, M=3, skip is whether follow-up page piece to be sent needs to process through overcompression, such as when the skip=0, next page piece needs compression, when skip=2, two page pieces that send afterwards do not need compression, arrange after the page piece compression with compression before ratio of compression do not satisfy compression performance greater than 0.8, other considering compression algorithm changeover not in this scene.Fig. 2 is the data processed result of application processing page piece embodiment illustrated in fig. 1, and Fig. 3 compares histogram for using the analysis with prior art processing live migration of virtual machine process embodiment illustrated in fig. 1.Can be specified by data analysis in Fig. 2 table, suppose that the network transmission speed is 1000M/s, then using existing common compression memory transfer approach A and the inventive method B contrast is: the size of data of the page piece that A and B are to be migrated is identical, the actual size of data A that sends is 11.6M, B is 14.1M, the CPU processing time A that expends is 42ms, B is 21ms, network transmitting time A is 11.2ms, and B is 13.7ms, and the total A consuming time of live migration of virtual machine is 53.2ms, B is that 34.7ms. this shows, the present invention has improved the performance of live migration of virtual machine than prior art, has reduced the CPU expense of source physical machine, has saved the processing resource.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The structural representation of the live migration of virtual machine internal memory treating apparatus that Fig. 4 provides for the embodiment of the invention, as shown in Figure 4, this device comprises: compression module 11 and processing module 12, wherein, compression module 11 is used for using the first compression algorithm the first page piece of source physical machine, current virtual machine to be sent is compressed processing, and stores the compressed information of described the first page piece; Processing module 12 is used for the compressed information according to the compressed information of described the first page piece and (N-1) individual page piece of sending continuously before described the first page piece, know that a N continuous page piece that comprises described the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.
Function and the treatment scheme of each module in the live migration of virtual machine internal memory treating apparatus that present embodiment provides can be referring to the embodiments of the method shown in above-mentioned, and it realizes that principle and technique effect are similar, repeats no more herein.
Further, processing module 12 also is used for: know that the described N continuous page piece number percent that the satisfied page piece of presetting compression performance accounts for described N page piece after overcompression is processed reaches default threshold value, then changes to the second compression algorithm with described the first compression algorithm if judge.
Further, compression module 11 also is used for: use described the second compression algorithm the second page piece of source physical machine, current virtual machine to be sent is compressed processing, and store the compressed information of described the second page piece;
Processing module 12 also is used for: according to the compressed information of the compressed information of described the second page piece and (N-1) individual page piece of sending continuously before described the second page piece, know that a N continuous page piece that comprises described the second page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the second page piece do not compressed processing and directly send to the target physical machine, and described the second compression algorithm changed to described the first compression algorithm, wherein, N greater than 1, M greater than 1.
Based on above-described embodiment, when described compressed information is after the page piece compresses and compresses front ratio of compression and unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression and described unit compression time are all greater than default threshold value, perhaps, the product of the ratio of compression of described page piece and unit compression time is greater than default threshold value; When described compressed information is described ratio of compression or described unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression or described unit compression time are greater than default threshold value.
Function and the treatment scheme of each module in the live migration of virtual machine internal memory treating apparatus that present embodiment provides can be referring to the embodiments of the method shown in above-mentioned, and it realizes that principle and technique effect are similar, repeats no more herein.
The structural representation of the virutal machine memory data handling system that Fig. 5 provides for the embodiment of the invention, as shown in Figure 5, this system comprises: source physical machine 1, target physical machine 2 and live migration of virtual machine internal memory treating apparatus 3, live migration of virtual machine internal memory treating apparatus 3 is positioned on the source physical machine 1, wherein, the live migration of virtual machine internal memory treating apparatus that live migration of virtual machine internal memory treating apparatus 3 can provide for the above embodiment of the present invention, source physical machine 1 and target physical machine 2 can be source physical machine and the target physical machine that relates in the above embodiment of the present invention.
Function and the treatment scheme of each module in the virutal machine memory data handling system that present embodiment provides can be referring to the embodiments of the method shown in above-mentioned, and it realizes that principle and technique effect are similar, repeats no more herein.
The hardware configuration synoptic diagram of the live migration of virtual machine internal memory treating apparatus that Fig. 6 provides for the embodiment of the invention, as shown in Figure 6, this device 100 comprises: processor 101, storer 102, communication interface 103 and bus 104.Wherein, connect by bus 104 between described processor 101, storer 102 and the communication interface 103.Bus 104 can be isa bus, pci bus or eisa bus etc.Described bus can be divided into address bus, data bus, control bus etc.For ease of expression, only represent with a thick line among Fig. 4, but do not represent only to have the bus of a bus or a type.
Storer 102 is used for depositing program code, comprises computer-managed instruction in the described program code.Storer 102 can be the high speed random access memory, also can be nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.
Processor 101 is carried out described program code, is used for:
Use the first compression algorithm on the physical machine of source, the first page piece of current virtual machine to be sent compresses processing, and stores the compressed information of described the first page piece;
Compressed information according to the compressed information of described the first page piece and (N-1) individual page piece of before described the first page piece, sending continuously, know that a N continuous page piece that comprises described the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.
Processor 101 also is used for:
Know that a described N continuous page piece does not satisfy the page piece of presetting compression performance and accounts for the number percent of described N page piece more than or equal to default threshold value after overcompression is processed if judge, then described the first compression algorithm is changed to the second compression algorithm, compress to sent the page piece of virtual machine to use described the second compression algorithm.
Processor 101 is used described the second compression algorithm and is specifically comprised to sent the process that the page piece of virtual machine compresses:
Use described the second compression algorithm on the physical machine of source, the second page piece of current virtual machine to be sent compresses processing, and stores the compressed information of described the second page piece;
Compressed information according to the compressed information of described the second page piece and (N-1) individual page piece of before described the second page piece, sending continuously, know that a N continuous page piece that comprises described the second page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the second page piece do not compressed processing and directly send to the target physical machine, and described the second compression algorithm changed to described the first compression algorithm, wherein, N greater than 1, M greater than 1.
The treatment scheme of the program code in the live migration of virtual machine internal memory treating apparatus that present embodiment provides in the processor execute store can be referring to the embodiment of the method shown in above-mentioned, and it realizes that principle and technique effect are similar, repeats no more herein.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a live migration of virtual machine internal memory processing method is characterized in that, comprising:
Use the first compression algorithm on the physical machine of source, the first page piece of current virtual machine to be sent compresses processing, and stores the compressed information of described the first page piece;
Compressed information according to the compressed information of described the first page piece and (N-1) individual page piece of before described the first page piece, sending continuously, know that a N continuous page piece that comprises described the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.
2. live migration of virtual machine internal memory processing method according to claim 1 is characterized in that, described method also comprises:
Know that a described N continuous page piece does not satisfy the page piece of presetting compression performance and accounts for the number percent of described N page piece more than or equal to default threshold value after overcompression is processed if judge, then described the first compression algorithm is changed to the second compression algorithm, compress to sent the page piece of virtual machine to use described the second compression algorithm.
3. live migration of virtual machine internal memory processing method according to claim 2 is characterized in that, described the second compression algorithm of described application is compressed specifically to sent the page piece of virtual machine and comprised:
Use described the second compression algorithm on the physical machine of source, the second page piece of current virtual machine to be sent compresses processing, and stores the compressed information of described the second page piece;
Compressed information according to the compressed information of described the second page piece and (N-1) individual page piece of before described the second page piece, sending continuously, know that a N continuous page piece that comprises described the second page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the second page piece do not compressed processing and directly send to the target physical machine, and described the second compression algorithm changed to described the first compression algorithm, wherein, N greater than 1, M greater than 1.
4. arbitrary described live migration of virtual machine internal memory processing method is characterized in that according to claim 1-3,
When described compressed information is after the page piece compresses and compresses front ratio of compression and unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression and described unit compression time are all greater than default threshold value, perhaps, the product of the ratio of compression of described page piece and unit compression time is greater than default threshold value;
When described compressed information is described ratio of compression or described unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression or described unit compression time are greater than default threshold value.
5. arbitrary described live migration of virtual machine internal memory processing method is characterized in that according to claim 1-3,
According to network transmission speed described page block size is adjusted.
6. a live migration of virtual machine internal memory treating apparatus is characterized in that, comprising:
Compression module be used for to be used the first compression algorithm the first page piece of source physical machine, current virtual machine to be sent is compressed processing, and stores the compressed information of described the first page piece;
Processing module, be used for the compressed information according to the compressed information of described the first page piece and (N-1) individual page piece of before described the first page piece, sending continuously, know that a N continuous page piece that comprises described the first page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the first page piece do not compressed processing and directly send to the target physical machine, wherein, N greater than 1, M greater than 1.
7. live migration of virtual machine internal memory treating apparatus according to claim 6 is characterized in that,
Described processing module also is used for: know that the described N continuous page piece number percent that the satisfied page piece of presetting compression performance accounts for described N page piece after overcompression is processed reaches default threshold value, then changes to the second compression algorithm with described the first compression algorithm if judge.
8. live migration of virtual machine internal memory treating apparatus according to claim 7 is characterized in that,
Described compression module also is used for: use described the second compression algorithm the second page piece of source physical machine, current virtual machine to be sent is compressed processing, and store the compressed information of described the second page piece;
Described processing module also is used for: according to the compressed information of the compressed information of described the second page piece and (N-1) individual page piece of sending continuously before described the second page piece, know that a N continuous page piece that comprises described the second page piece does not all satisfy default compression performance after overcompression is processed if judge, then M page piece after described the second page piece do not compressed processing and directly send to the target physical machine, and described the second compression algorithm changed to described the first compression algorithm, wherein, N greater than 1, M greater than 1.
9. arbitrary described live migration of virtual machine internal memory treating apparatus is characterized in that according to claim 6-8,
When described compressed information is after the page piece compresses and compresses front ratio of compression and unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression and described unit compression time are all greater than default threshold value, perhaps, the product of the ratio of compression of described page piece and unit compression time is greater than default threshold value;
When described compressed information is described ratio of compression or described unit compression time, corresponding, described satisfied default compression performance specifically comprises: described ratio of compression or described unit compression time are greater than default threshold value.
10. virutal machine memory data handling system, it is characterized in that, comprise: source physical machine, target physical machine and such as the arbitrary described live migration of virtual machine internal memory treating apparatus of claim 6-9, described live migration of virtual machine internal memory treating apparatus is positioned on the physical machine of described source.
CN201310233311.8A 2013-06-13 2013-06-13 Virtual machine thermal migration memory processing method, device and system Expired - Fee Related CN103353850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310233311.8A CN103353850B (en) 2013-06-13 2013-06-13 Virtual machine thermal migration memory processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310233311.8A CN103353850B (en) 2013-06-13 2013-06-13 Virtual machine thermal migration memory processing method, device and system

Publications (2)

Publication Number Publication Date
CN103353850A true CN103353850A (en) 2013-10-16
CN103353850B CN103353850B (en) 2017-02-22

Family

ID=49310224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310233311.8A Expired - Fee Related CN103353850B (en) 2013-06-13 2013-06-13 Virtual machine thermal migration memory processing method, device and system

Country Status (1)

Country Link
CN (1) CN103353850B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159841A (en) * 2014-06-13 2015-12-16 华为技术有限公司 Memory migration method and memory migration device
WO2016037499A1 (en) * 2014-09-12 2016-03-17 华为技术有限公司 Memory migration method and device
CN106020946A (en) * 2016-05-06 2016-10-12 浪潮集团有限公司 Virtual machine transferring method
CN106970824A (en) * 2017-03-07 2017-07-21 华中科技大学 A kind of virtual machine (vm) migration compression method and system based on bandwidth aware
CN107704311A (en) * 2017-09-27 2018-02-16 郑州云海信息技术有限公司 A kind of virutal machine memory moving method and its device
CN109818940A (en) * 2019-01-03 2019-05-28 浙江好络维医疗技术有限公司 A kind of ecg wave form fast compression algorithm suitable for realizing real-time Transmission embedded hardware
CN109918174A (en) * 2019-03-15 2019-06-21 合肥谐桐科技有限公司 The system and method for live migration of virtual machine optimization processing are realized based on accelerator card
CN112783599A (en) * 2019-11-05 2021-05-11 阿里巴巴集团控股有限公司 Virtual machine live migration method and device, terminal equipment and computer storage medium
CN113254161A (en) * 2021-06-29 2021-08-13 飞腾信息技术有限公司 CPU-based rapid virtual machine live migration method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228629A1 (en) * 2008-03-07 2009-09-10 Alexander Gebhart Migration Of Applications From Physical Machines to Virtual Machines
CN102103524A (en) * 2010-12-23 2011-06-22 北京航空航天大学 Memory redundancy oriented virtual machine migration device and method
CN102681913A (en) * 2011-12-21 2012-09-19 中兴通讯股份有限公司 Method and device for realizing live migration along virtual machines
CN103049308A (en) * 2012-11-30 2013-04-17 华为技术有限公司 Method, device and system for achieving thermal migration of virtual machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090228629A1 (en) * 2008-03-07 2009-09-10 Alexander Gebhart Migration Of Applications From Physical Machines to Virtual Machines
CN102103524A (en) * 2010-12-23 2011-06-22 北京航空航天大学 Memory redundancy oriented virtual machine migration device and method
CN102681913A (en) * 2011-12-21 2012-09-19 中兴通讯股份有限公司 Method and device for realizing live migration along virtual machines
CN103049308A (en) * 2012-11-30 2013-04-17 华为技术有限公司 Method, device and system for achieving thermal migration of virtual machine

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105159841B (en) * 2014-06-13 2018-10-19 华为技术有限公司 A kind of internal memory migration method and device
CN105159841A (en) * 2014-06-13 2015-12-16 华为技术有限公司 Memory migration method and memory migration device
WO2016037499A1 (en) * 2014-09-12 2016-03-17 华为技术有限公司 Memory migration method and device
CN105468538A (en) * 2014-09-12 2016-04-06 华为技术有限公司 Memory migration method and device
CN105468538B (en) * 2014-09-12 2018-11-06 华为技术有限公司 A kind of internal memory migration method and apparatus
US10013205B2 (en) 2014-09-12 2018-07-03 Huawei Technologies Co., Ltd. Memory migration method and device
CN106020946A (en) * 2016-05-06 2016-10-12 浪潮集团有限公司 Virtual machine transferring method
CN106970824A (en) * 2017-03-07 2017-07-21 华中科技大学 A kind of virtual machine (vm) migration compression method and system based on bandwidth aware
CN106970824B (en) * 2017-03-07 2019-12-17 华中科技大学 Virtual machine migration compression method and system based on bandwidth sensing
CN107704311A (en) * 2017-09-27 2018-02-16 郑州云海信息技术有限公司 A kind of virutal machine memory moving method and its device
CN109818940A (en) * 2019-01-03 2019-05-28 浙江好络维医疗技术有限公司 A kind of ecg wave form fast compression algorithm suitable for realizing real-time Transmission embedded hardware
CN109818940B (en) * 2019-01-03 2021-06-25 浙江好络维医疗技术有限公司 Electrocardio waveform rapid compression algorithm suitable for realizing real-time transmission in embedded hardware
CN109918174A (en) * 2019-03-15 2019-06-21 合肥谐桐科技有限公司 The system and method for live migration of virtual machine optimization processing are realized based on accelerator card
CN112783599A (en) * 2019-11-05 2021-05-11 阿里巴巴集团控股有限公司 Virtual machine live migration method and device, terminal equipment and computer storage medium
CN112783599B (en) * 2019-11-05 2024-03-29 阿里巴巴集团控股有限公司 Virtual machine thermomigration method, device, terminal equipment and computer storage medium
CN113254161A (en) * 2021-06-29 2021-08-13 飞腾信息技术有限公司 CPU-based rapid virtual machine live migration method

Also Published As

Publication number Publication date
CN103353850B (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN103353850A (en) Virtual machine thermal migration memory processing method, device and system
US11960726B2 (en) Method and apparatus for SSD storage access
US11340812B2 (en) Efficient modification of storage system metadata
CN102609360B (en) Data processing method, data processing device and data processing system
CN108415669A (en) The data duplicate removal method and device of storage system, computer installation and storage medium
CN105204781B (en) Compression method, device and equipment
US9965196B2 (en) Resource reservation for storage system metadata updates
CN108089814B (en) Data storage method and device
CN103020255B (en) Classification storage means and device
CN104503840A (en) Method and device for optimizing terminal resources
CN104239518A (en) Repeated data deleting method and device
CN103064797B (en) Data processing method and virtual machine management platform
CN104166606A (en) File backup method and main storage device
CN103324533A (en) distributed data processing method, device and system
CN105824881B (en) A kind of data de-duplication data placement method based on load balancing
CN104199784A (en) Data migration method and device based on hierarchical storage
CN103399823A (en) Method, equipment and system for storing service data
CN104503703A (en) Cache processing method and device
CN111813713A (en) Data acceleration operation processing method and device and computer readable storage medium
CN105183399A (en) Data writing and reading method and device based on elastic block storage
CN107479950B (en) Virtual machine scheduling method, device and system
CN104484132A (en) Data reduction method and device
CN104346404A (en) Method, equipment and system for accessing data
CN105068875A (en) Intelligence data processing method and apparatus
CN109375868B (en) Data storage method, scheduling device, system, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170222

Termination date: 20180613