Target physical host, operation method of target physical host, and computer readable storage medium for executing operation method

By using the switch to access requests directly in the post-copy phase of the hot migration operation, reading and storing dirty page content from the source physical host, the problem of long waiting time of the virtual machine is solved and the performance and user experience of the virtual machine is improved.

CN118897712APending Publication Date: 2024-11-05ALIBABA (CHINA) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310513186.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-05
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

In the cloud computing system, in the post-copy stage of the hot migration operation, when the virtual machine waits for accessing content that has not yet been migrated from the source physical host, it may cause operational pauses, and only part of the content is required but the entire page needs to be copied, resulting in inefficiency.

Method used

The switch generates access requests in the post-copy stage, and directly reads and stores the content of dirty pages from the source physical host to the device memory of the destination physical host, reducing the waiting time and improving the fine-grained memory access.

Benefits of technology

Reduces the time when the virtual machine waits for content to be read from the source physical host in the post-copy stage, and improves the operating performance and user experience of the virtual machine.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897712A_ABST
    Figure CN118897712A_ABST
Patent Text Reader

Abstract

The invention discloses a target physical host, an operation method of the target physical host and a computer readable storage medium for executing the operation method. In the post-copy stage, the target physical host accesses the content of the corresponding dirty page in the source memory of the source physical host; the target physical host comprises a target memory, a CPU (Central Processing Unit) and cache consistency equipment; the cache consistency equipment comprises an equipment memory and is in communication operation with the CPU through a consistency interconnection protocol; the method comprises the following steps: generating a first access request in a post-copy stage to indicate a target physical host to access a first part of the content corresponding to the dirty page; transmitting a first access request to the source physical host to read the first portion from the source memory; storing the first portion in a device memory; and reading the first part from the device memory, and storing the first part in the target memory.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a destination physical host, an operation method for the destination physical host, and a computer-readable storage medium for executing the operation method, and more specifically to a destination physical host in a post-optimization copy phase of a hot migration operation, an operation method for the destination physical host in a post-optimization copy phase of a hot migration operation, and a computer-readable storage medium for executing the operation method. Background Art

[0002] In a cloud computing system, a physical host allocates memory to different virtual machines. When a physical host needs to be maintained, the physical host needs to perform a live migration operation with other physical machines to move the virtual machines using the memory of the physical host to other physical machines. Generally speaking, after the pre-copy phase and the stop-and-copy phase of the live migration operation are completed, the virtual machine has been migrated from the source physical host to the destination physical host, but there is still a small part of the content that has been written in the pre-copy phase and has not yet been migrated to the destination physical host. When the virtual machine on the destination physical host wants to access the content that has not yet been migrated to the destination physical host, the live migration operation enters the post-copy phase. At this time, the virtual machine needs to wait for the content to be retrieved from the source physical host to the destination physical host. If the waiting time is too long, the pause of the virtual machine operation may make the user experience poor. In addition, the content that the virtual machine wants to access may only be a part of the corresponding page, but in the post-copy phase, the entire page corresponding to the content still needs to be copied to the destination physical host. Therefore, how to reduce the time of accessing the contents that have not been migrated from the source physical host and improve the granularity of accessing the memory from the source physical host in the post-copy phase is an urgent problem to be solved. Summary of the invention

[0003] One of the purposes of the present application is to disclose a destination physical host in an optimized post-copy phase in a hot migration operation, an operation method for the destination physical host, and a computer-readable storage medium for executing the operation method, so as to solve the above-mentioned problem.

[0004] One embodiment of the present application relates to a destination physical host, characterized in that, in the post-copy phase of a hot migration operation, the destination physical host accesses the content of a corresponding dirty page in the source memory of the source physical host. The destination physical host includes: the destination memory, a CPU, and a cache consistency device. The CPU is used to generate a first access request in the post-copy phase to indicate that the destination physical host wants to access a first part of the content corresponding to the dirty page. The cache consistency device includes a device memory, wherein the cache consistency device receives the first access request from the CPU through a consistency interconnect protocol, and transmits the first access request to the source physical host accordingly, so as to read the first part from the source memory, and store the first part in the device memory, so that the CPU reads the first part from the device memory and stores the first part in the destination memory.

[0005] Another embodiment of the present application relates to an operation method of a destination physical host, characterized in that in the post-copy phase of a hot migration operation, the destination physical host accesses the content of a corresponding dirty page in the source memory of the source physical host, and the destination physical host includes a destination memory, a CPU and a cache consistency device; the cache consistency device includes a device memory, and communicates with the CPU through a consistency interconnection protocol; the method includes: generating a first access request in the post-copy phase to indicate that the destination physical host wants to access a first part of the content corresponding to the dirty page; transmitting the first access request to the source physical host to read the first part from the source memory; storing the first part in the device memory; and reading the first part from the device memory and storing the first part in the destination memory.

[0006] Another embodiment of the present application relates to a computer-readable storage medium storing computer-executable instructions for executing the operating method of the destination physical host as described above.

[0007] In the present application, when the destination physical host wants to access the content written in the pre-copy stage but not yet migrated, the destination physical host transmits an access request indicating access to the memory to the source physical host through the switch, so as to read the memory from the source memory and store the memory in the device memory, so that the CPU can read the memory and store it in the destination memory. Therefore, in the case of performing the post-copy stage of the hot migration operation through hardware (i.e., the switch), the destination physical host of the present application can reduce the time that the virtual machine waits for the content to be accessed to be read back from the source memory to the destination physical host in the post-copy stage, thereby reducing the pause of the virtual machine and maintaining the performance of the virtual machine operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] When read in conjunction with the accompanying drawings, aspects of the present disclosure are better understood from the following embodiments. It should be noted that, in accordance with standard practice in the industry, various structures are not drawn to scale. In fact, for clarity of discussion, the dimensions of various structures may be arbitrarily increased or reduced.

[0009] Figure 1 A schematic diagram of an embodiment of a communication system for optimizing a post-copy phase of a hot migration operation according to the present application.

[0010] Figure 2 For the purpose of this application, the physical host performs the process of the post-copy phase of the hot migration operation. DETAILED DESCRIPTION

[0011] The following disclosure provides many different embodiments or examples of different components for implementing the subject matter provided. Specific examples of components and arrangements are described below to simplify the disclosure. Of course, this type is only an example and is not intended to be restrictive. For example, in the following description, a first component is formed above or on a second component and may include an embodiment in which the first component and the second component are directly contacted through formation, and may also include an embodiment in which an additional component may be formed between the first component and the second component so that the first component and the second component may not be directly contacted. In addition, the disclosure may repeat reference numbers and / or letters in various examples. This repetition is for the purpose of simplicity and clarity and does not itself indicate the relationship between the various embodiments and / or configurations discussed.

[0012] Additionally, for ease of description, spatially relative terms, such as "below," "beneath," "below," "above," "above," "on," and the like, may be used herein to describe the relationship of one component or member to a remote component or member illustrated in the figures. The spatially relative terms are intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. The device may be otherwise oriented (rotated 90 degrees or at other orientations) and the spatially relative descriptors used herein should be interpreted similarly.

[0013] As used herein, terms such as "first," "second," and "third" describe various components, members, regions, layers, and / or sections, but such components, members, regions, layers, and / or sections should not be limited by such terms. Such terms can only be used to distinguish one component, member, region, layer, or section from another. Terms such as "first," "second," and "third" do not imply a sequence or order when used herein unless clearly indicated by the context.

[0014] The singular forms "a", "an", and "the" may also include the plural forms unless the context clearly indicates otherwise. The term "connected" along with its derivatives may be used herein to describe structural relationships between components. "Connected" may be used to describe that two or more components are in direct physical or electrical contact with each other. "Connected" may also be used to indicate that two or more components are in direct or indirect (with intervening components between them) physical or electrical contact with each other, and / or that the two or more components cooperate or interact with each other.

[0015] Figure 1 A schematic diagram of an embodiment of a communication system 10 for optimizing the post-copy phase of a hot migration operation in the present application. Figure 1 As shown, the communication system 10 includes a destination physical host 100, a source physical host 110 and a switch 120. In this embodiment, the hot migration operation is described by taking the migration of a virtual machine on the source physical host 110 to the destination physical host 100 as an example.

[0016] The switch 120 includes (for example) a CXL switch or a network switch, but the present application is not limited thereto. The switch 120 is used to connect the destination physical host 100 and the source physical host 110 so that the destination physical host 100 and the source physical host 110 can transmit access requests to another physical host and receive access requests from another physical host.

[0017] Generally speaking, the hot migration operation is divided into three stages: the pre-copy stage, the shutdown copy stage, and the post-copy stage. In the pre-copy stage, the virtual machine is still running in the source physical host 110, and the contents in the source memory 112 that have been overwritten by the virtual machine will be migrated from the source physical host 110 to the destination memory 102 of the destination physical host 100. However, during the migration process, because the virtual machine continues to run, there may be new overwritten contents in the source memory 112, and these contents need to be migrated to the destination memory 102 of the destination physical host 100 in the next cycle. Therefore, it takes several cycles to gradually implement the pre-copy stage. When it is determined that the memory content migration in the pre-copy stage has reached a certain level, the hot migration operation enters the shutdown copy stage, and the virtual machine on the source physical host 110 is shut down and migrated to the destination physical host 100. After the virtual machine is migrated from the source physical host 110 to the destination physical host 100, there are still contents in the source memory 112 that have been overwritten in the last cycle during the execution of the pre-copy stage that have not yet been migrated to the destination memory 102 of the destination physical host 100. The page corresponding to the address of the source memory 112 of the content that has not been migrated to the destination physical host 100 is called a dirty page. After the hot migration operation enters the post-copy phase, the virtual machine migrated to the destination physical host 100 can run normally. However, when the memory address to be accessed by the virtual machine corresponds to a dirty page (i.e., the content to be accessed has not been migrated to the destination physical host 100), the destination physical host 100 needs to obtain the content in the corresponding dirty page from the source memory 112 of the source physical host 110.

[0018] In the general practice of the post-copy stage, when the memory address that the virtual machine wants to access corresponds to a dirty page, the destination physical host 100 needs to transmit page fault information to the source physical host 110 through the upper layer in a software-controlled manner, so as to copy the content of the entire page corresponding to the dirty page (i.e., the missing content) from the source physical host 110 to the destination physical host 100. The virtual machine of the destination physical host 100 needs to wait for the missing content to be accessed by the destination physical host 100. The longer the waiting time, the longer the operation of the virtual machine is suspended, which makes the user experience poor. The purpose of this application is to improve the performance of the post-copy stage. Specifically, it can reduce the access time of the content corresponding to the dirty page. In short, in the communication system 10 of this application, when the hot migration operation enters the post-copy stage, the destination physical host 100 accesses the content of the corresponding dirty page in the source memory 112 of the source physical host 110 through the switch 120, rather than performing the post-copy stage through page fault information. The details are described as follows.

[0019] Please also refer to Figure 1 and Figure 2 . Figure 2The process 20 of the destination physical host 100 of the present application performing the post-copy phase of the hot migration operation includes steps 200 to 206. The destination physical host 100 includes a destination memory 102, a CPU 104, and a cache consistency device 106. In step 200 of the process 20, in the post-copy phase of the hot migration operation, when the memory address to be accessed by the destination physical host 100 corresponds to the first part of the dirty page, it means that the content of the memory address to be accessed has not been migrated from the source memory 112 to the destination memory 102, so the CPU 104 will correspondingly generate a first access request to indicate that the destination physical host 100 wants to access the first part of the dirty page. The first access request is transmitted to the cache consistency device 106 through the coherent interconnect protocol.

[0020] In this embodiment, the cache coherence device 106 includes a device memory 1060. Through the coherent interconnect protocol, the cache coherence device 106 receives a first access request from the CPU 104. In step 202 of the process 20, the cache coherence device 106 transmits the first access request to the cache coherence device 116 of the source physical host 110 through the switch 120, so as to read the first part from the source memory 112 through the CPU 114 in the source physical host 110.

[0021] In step 204 of process 20, after obtaining the first portion from the source physical host 110, the cache coherence device 106 stores the first portion in the device memory 1060. In step 206 of process 20, the CPU 104 may read the first portion from the device memory 1060 of the cache coherence device 106 through the coherent interconnect protocol and store the first portion in the destination memory 102.

[0022] More specifically, when the destination physical host 100 wants to access the content (i.e., the first part) in the corresponding dirty page, in the communication system 10, the post-copy phase of the hot migration operation is divided into two sub-phases: in the first sub-phase of the post-copy phase (including steps 200 and 202 in process 20), the destination physical host 100 transmits a first access request indicating access to the first part of the dirty page to the source physical host 110 through the switch 120, so as to read the first part of the dirty page in the source memory 112, and then store the read first part in the device memory 1060 of the cache consistency device 106; in the second sub-phase of the post-copy phase (including steps 204 and 206 in process 20), the CPU 104 in the destination physical host 100 reads the first part from the device memory 1060 and stores the first part in the destination memory 102, so that the virtual machine can access the first part.

[0023] Furthermore, when the destination physical host 100 wishes to access the contents of the corresponding dirty page in the source memory 112, unlike the post-copy stage of a general hot migration operation which requires transmitting page miss information to the source physical host 110 through the network and copying the contents corresponding to the dirty page from the source physical host 110 to the destination physical host 100, in the communication system 10 of the present application, the destination physical host 100 will not transmit page miss information associated with the dirty page to the source physical host 110, but will inform the source physical host 110 of the contents of the corresponding dirty page that the destination physical host 100 wishes to access through an access request via hardware (i.e., the switch 120), so as to read the contents of the corresponding dirty page from the source memory 112, and then store the contents of the corresponding dirty page in the device memory 1060 in the cache consistency device 106, so that the CPU 104 can read the contents of the corresponding dirty page from the device memory 1060 and store it in the destination memory 102.

[0024] Compared with the conventional practice, in the post-copy stage, the communication system 10 of the present application does not need to access the content of the corresponding dirty page through the upper layer to transmit the page missing information, but accesses the content of the corresponding dirty page through the lower layer hardware (i.e., the switch 120), which can reduce the time of waiting for the content of the corresponding dirty page to be copied from the source physical host 110 to the destination physical host 100. Therefore, the communication system 10 of the present application can prevent the user from feeling that the operation of the virtual machine has obvious pauses or is not smooth in the post-copy stage, thereby improving the user experience.

[0025] In some embodiments, the cache coherence device 106 may not have the device memory 1060 . In this case, after obtaining the first portion from the source physical host 110 , the cache coherence device 106 stores the first portion in the destination memory 102 through the CPU 104 .

[0026] In some embodiments, in the destination physical host 100, the CPU 104 and the cache coherence device 106 communicate via a coherent interconnect protocol, which may be a cache-coherent link protocol or a CXL protocol, but the present application is not limited thereto.

[0027] In some embodiments, the device memory 1060 in the cache coherence device 106 includes (for example, may be) a dynamic random access memory (DRAM) or a high bandwidth memory (HBM), but the present application is not limited thereto. The device memory 1060 may include multiple cache lines, which may be used to store a portion of the content of the corresponding dirty page accessed from the source memory 112 of the source physical host 110. In other words, the content accessed by the cache coherence device 106 from the source memory 112 of the source physical host 110 through the switch 120 may be in units of the size of a cache line. Compared with the need to read the content of the corresponding entire dirty page from the source memory 112 in the post-copy stage in the prior art, the cache coherence device 106 may access and read the content in the source memory 112 at a smaller granularity. For example, after receiving the first access request from the CPU 104, the cache coherence device 106 checks whether the content in its device memory 1060 has a cache line hit corresponding to the first part of the dirty page content; if no cache line in the device memory 1060 hits the first part, the cache coherence device 106 transmits the first access request to the source physical host 110 through the switch 120 to read the first part from the source memory 112 at a fine granularity of the cache line size.

[0028] In some embodiments, in the post-copy phase, in addition to reading the first part of the content of the corresponding dirty page from the source memory 112, the cache coherence device 106 additionally reads the second part of the content of the corresponding dirty page from the source memory 112, and stores the second part in the device memory 1060, wherein the second part is the other part of the content of the corresponding dirty page except the first part. That is, even if the destination physical host 100 only needs to access the first part of the content of the corresponding dirty page in the source memory 112 at present, the cache coherence device 106 not only reads the first part from the source memory 112 of the source physical host 110, but also pre-reads the other part of the content of the corresponding dirty page except the first part (i.e., the second part). In other words, the cache coherence device 106 reads and stores all the contents of the corresponding dirty page in the device memory 1060. Since the first part is the part that the destination physical host 100 wants to access, in the source memory 112, the priority of accessing the second part (which is additionally accessed) is lower than the priority of accessing the first part (which needs to be accessed at present).

[0029] It should be noted that the first part and the second part described above are only used to distinguish different parts of the dirty page, and are not used to limit the range of the first part or the second part in the dirty page. More specifically, any part of the content of the dirty page (regardless of size) can be the first part of the dirty page, and the other parts of the dirty page other than the first part are the second part of the dirty page.

[0030] In the case where the cache coherence device 106 pre-stores the other parts of the content of the corresponding dirty page in the device memory 1060, when the destination physical host 100 wants to access any part of the content of the corresponding dirty page in the source memory 112, the CPU 104 generates a second access request to indicate that the destination physical host 100 wants to access the said any part. After receiving the second access request from the CPU 104 through the coherent interconnect protocol, the cache coherence device 106 enables the CPU 104 to read the said any part from the device memory 1060 and store the said any part in the destination memory 102. That is, in the case where the content of the corresponding dirty page that the destination physical host 100 wants to access already exists in the device memory 1060, the CPU 104 can directly read the content of the corresponding dirty page that the destination physical host 100 wants to access from the device memory 1060 of the cache coherence device 106, without having to access it from the source memory 112 of the source physical host 110 through the cache coherence device 106. In other words, in this case, the post-copy phase of the hot migration operation only needs to perform the second sub-phase mentioned above in the destination physical host 100, and does not need to perform the first sub-phase mentioned above through the switch 120 and the source physical host 110. Therefore, the communication system 10 of the present application can save the time of reading the source memory 112 from the source physical host 110 in the post-copy phase of the hot migration operation, and the virtual machine can also reduce the time of waiting for the content to be accessed to be read back from the source memory 112 to the original physical host 100 due to the post-copy phase, thereby reducing the pause of the virtual machine and maintaining the performance of the virtual machine operation.

[0031] Similar to the destination physical host 100, the source physical host 110 includes a source memory 112, a CPU 114 and a cache consistency device 116, and the cache consistency device 116 includes a device memory 1160. The above technical features of the destination physical host 100 and its components can also be executed on the source physical host 110 and its corresponding components, which will not be repeated here.

[0032] In certain embodiments, the destination physical host 100 and the source physical host 110 further include a memory, a processor, and a computer program stored in the memory and running on the processor. The processor and the memory may be connected via a bus or otherwise. The memory, as a non-transient computer-readable storage medium, may be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0033] The non-transient software program and instructions required to implement the operation method of the destination physical host of the above embodiment are stored in the memory. When the program and instructions are executed by the processor, the operation method of the destination physical host of the above embodiment is executed. For example, the above described Figure 2 Steps 200 to 206 of process 20 in FIG.

[0034] In addition, an embodiment of the present invention further provides a computer-readable storage medium, which is contained in the memory of the destination physical host 100 and the source physical host 110, and is used to store computer-executable instructions. The computer-executable instructions are executed by a processor (e.g., the processor of the destination physical host 100 and the source physical host 110) or a controller, and can enable the processor or the controller to execute the operation method of the destination physical host executed by the destination physical host 100 and the source physical host 110 in the above embodiment. For example, executing the above described Figure 2 Steps 200 to 206 of process 20 in FIG.

[0035] Those skilled in the art will appreciate that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, electronically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0036] In summary, when executing the post-copy phase in a hot migration operation, the destination physical host, the operating method of the destination physical host, and the computer-readable storage medium for executing the operating method of the present application can read the contents of the corresponding dirty pages in the source memory at the fine granularity of a cache line through a switch. Compared with the method of transmitting page miss information to the source physical host and copying the contents of the corresponding dirty pages to the destination physical host in a software-controlled manner through the upper layer, the present application can reduce the time that the virtual machine must wait for the content to be accessed to be read back from the source memory to the original physical host due to the post-copy phase, thereby reducing the pause of the virtual machine and maintaining the performance of the virtual machine operation.

[0037] The foregoing summarizes the structures of several embodiments so that those skilled in the art can better understand the aspects of the present disclosure. Those skilled in the art will appreciate that they can easily use the present disclosure as a basis for designing or modifying other manufacturing processes and structures for carrying out the same purposes and / or achieving the same advantages of the embodiments described herein. Those skilled in the art will also recognize that such equivalent constructions do not depart from the spirit and scope of the present disclosure, and that various changes, substitutions, and modifications may be made herein without departing from the spirit and scope of the present disclosure.

Claims

1. A method for operating a destination physical host, characterized in that In a post-copy phase of the hot migration operation, the destination physical host accesses the content of a corresponding dirty page in a source memory of a source physical host, the destination physical host including a destination memory, a CPU, and a cache consistency device; The cache coherence device includes a device memory; the method includes: generating a first access request in the post-copy phase to indicate that the destination physical host wants to access a first portion of the content corresponding to the dirty page; transmitting the first access request to the source physical host to read the first portion from the source memory; storing the first portion in the device memory; and The first portion is read from the device memory and stored in the destination memory.

2. The method according to claim 1, characterized in that The device memory communicates with the CPU via a coherent interconnect protocol, and the coherent interconnect protocol includes a CXL protocol.

3. The method according to claim 1, characterized in that The step of generating the first access request in the post-copy phase to indicate that the destination physical host wants to access the first portion of the content corresponding to the dirty page further includes: Page miss information associated with the dirty page is not transmitted to the source physical host.

4. The method according to claim 1, further comprising: In the post-copy phase, in addition to reading the first portion of the content corresponding to the dirty page from the source memory, a second portion of the content corresponding to the dirty page is also read from the source memory. And storing the second part in the device memory, wherein the second part corresponds to the other part of the content of the dirty page except the first part.

5. The method according to claim 4, characterized in that In the source memory, the second portion is accessed with a priority lower than a priority of accessing the first portion.

6. The method according to claim 4, further comprising: generating a second access request to indicate that the destination physical host wants to access any part of the content corresponding to the dirty page; as well as The either portion is read from the device memory and stored in the destination memory.

7. A destination physical host, characterized in that: In the post-copy phase of the hot migration operation, the destination physical host accesses the content of the corresponding dirty page in the source memory of the source physical host; The destination physical host includes: the destination memory; The CPU is configured to generate a first access request in the post-copy phase to indicate that the destination physical host wants to access a first portion of the content corresponding to the dirty page; and A cache coherence device includes a device memory, wherein the cache coherence device receives the first access request from the CPU through a coherent interconnect protocol, and transmits the first access request to the source physical host accordingly, so as to read the first portion from the source memory and store the first portion in the device memory, so that the CPU reads the first portion from the device memory and stores the first portion in the destination memory.

8. The destination physical host according to claim 7, characterized in that: The coherent interconnect protocol includes the CXL protocol.

9. The destination physical host according to claim 7, characterized in that: In the post-copy phase, when the destination physical host intends to access the content corresponding to the dirty page in the source memory, the destination physical host does not transmit page miss information associated with the dirty page to the source physical host.

10. The destination physical host according to claim 7, characterized in that: In the post-copy stage, in addition to reading the first part of the content corresponding to the dirty page from the source memory, the cache consistency device further reads a second part of the content corresponding to the dirty page from the source memory, and stores the second part to the device memory, wherein the second part is the other part of the content corresponding to the dirty page except the first part.

11. The destination physical host according to claim 10, characterized in that: In the source memory, the second portion is accessed with a priority lower than a priority of accessing the first portion.

12. The destination physical host according to claim 10, characterized in that: When the destination physical host intends to access any part of the content corresponding to the dirty page in the source memory, the CPU generates a second access request to indicate that the destination physical host intends to access the any part of the content corresponding to the dirty page.

13. The destination physical host according to claim 12, characterized in that: After receiving the second access request from the CPU through the coherent interconnect protocol, the cache coherence device enables the CPU to read the any portion from the device memory and store the any portion to the destination memory.

14. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the operating method of the destination physical host as claimed in any one of claims 1 to 6.