Virtual machine dynamic migration method and device, and storage medium
A dynamic migration, virtual machine technology, applied in program control design, program startup/switching, software emulation/interpretation/simulation, etc., can solve problems such as error-prone, uncertain memory page transfer stage, and long virtual machine dynamic migration process. , to shorten the migration time and reduce the number of iterations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0031] Such as figure 1 As shown in FIG. 1 , it is a schematic flowchart of the virtual machine dynamic migration method provided in the first embodiment of the present invention. exist figure 1 Among them, the virtual machine dynamic migration method includes the following steps:
[0032] Step 110, calculate the first dirty page rate of each memory page in the list to be migrated in the current iteration.
[0033] Specifically, start the memory migration and start to predict the dirty page rate at the same time. In the present invention, the dirty page rate is: the probability that the memory page will be rewritten in the next period of time, which is estimated according to the rewrite situation of the memory page in the previous period of time out predicted value. Those skilled in the art can understand that the dirty page rate is related to the rewriting rate of memory pages. The write rate indicates the average number of writes to memory pages over a period of time. T...
no. 2 example
[0069] Such as Figure 5 As shown in FIG. 2 , it is a schematic flow chart of the virtual machine dynamic migration method provided by the second embodiment of the present invention. exist Figure 5 In the method, the virtual machine dynamic migration method is a further improvement made on the basis of the first embodiment, the only difference is that the method also includes:
[0070] Step 510, judging whether the memory pages that have been migrated in the current round of iterations are smaller than the preset value; if so, proceed to step 520, if not, then return to step 110 to calculate the dirty page rate of the memory pages;
[0071] Step 520, the iteration is terminated and the virtual machine enters the shutdown phase;
[0072] Step 530, sending the untransmitted memory pages to the receiving end.
[0073] Specifically, when the migrated memory pages in the current round of iteration are less than the preset value, the iteration is terminated, that is, the iterati...
no. 4 example
[0082] Such as Figure 7 As shown, a schematic diagram of a device hardware architecture is provided for a fourth embodiment of the present invention. exist Figure 7 Among them, the device includes: a memory 710 , a processor 720 , and a virtual machine dynamic migration program 730 stored on the memory 710 and operable on the processor 720 . In this embodiment, the virtual machine dynamic migration program 730 includes a series of computer program instructions stored in the memory 710. When the computer program instructions are executed by the processor 720, the virtual machine of each embodiment of the present invention can be implemented. Machine live migration operation. In some embodiments, the virtual machine live migration program 730 can be divided into one or more modules based on specific operations implemented by each part of the computer program instructions. Such as Figure 8 As shown, the virtual machine dynamic migration program 730 includes: a calculation ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap