Virtual Machine Migration Using Shared Contiguous Memory Regions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Cloud computing providers face challenges in efficiently migrating virtual machines across hardware platforms without disrupting service performance, as existing methods do not effectively utilize shared contiguous memory regions to optimize resource allocation and minimize data transfer.
Innovation Solution
A method for migrating virtual machines that determines a minimum hardware configuration and identifies candidate processors with shared contiguous memory regions, using a dedicated link to transfer only non-replicated memory regions, optimizing resource allocation and minimizing data transfer by selecting a target processor with common contiguous memory regions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If virtual machine migration is performed using existing methods, then service continuity is maintained, but resource transfer efficiency is low due to lack of optimization for shared contiguous memory regions
Solution Approach 1:
The system performs preliminary scanning of memory regions on both source and candidate processors to identify shared contiguous memory regions before migration. This advance preparation allows the migration process to skip transferring already-shared regions, significantly reducing transfer time and improving efficiency.
Solution Approach 2:
The memory transfer process is segmented into two distinct parts: shared contiguous memory regions that are identified and skipped, and non-shared regions that require transfer. This segmentation allows the system to optimize by transferring only the necessary portions of memory, reducing overall migration time and resource consumption.
2Reliability
If all memory regions are transferred during migration, then complete virtual machine state is preserved, but bandwidth consumption increases unnecessarily for shared regions
Solution Approach 1:
The system extracts and identifies shared contiguous memory regions between source and candidate processors, then excludes these regions from the transfer process. This extraction ensures that only non-shared memory regions are transferred, preserving complete virtual machine state while minimizing bandwidth consumption by eliminating redundant transfers of shared regions.
3Productivity
If contiguous memory regions are scanned and compared between processors, then data transfer is minimized, but processing overhead increases
Solution Approach 1:
The system creates data structures that copy and represent memory region information from both source and candidate processors. By working with these copied representations rather than directly comparing actual memory contents, the system minimizes processing overhead while still achieving effective identification of shared contiguous memory regions for optimized transfer decisions.
Data Source
AI summary
Embodiments relate to a method for migrating a virtual machine from a first processor to a second processor in a work group. The method includes determining a minimum hardware configuration to support the virtual machine. A list of one or more candidate processors in the work group is constructed. For each of the one or more candidate processors information about shared contiguous memory regions accessible to the candidate processor that is in common to contiguous memory regions accessed by the virtual machine is determined. The virtual machine is migrated to the second processor based on the determination of the information about shared contiguous memory regions accessible to each of the one or more candidate processors that are in common to contiguous memory regions accessed by the virtual machine. The migrating includes moving contiguous memory regions that are not in common between the first processor and the second processor.


