VM Live Migration via Memory Fingerprint Comparison

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Live migrations of virtual machines often face challenges in maintaining continuous operation due to the need to transfer large numbers of memory pages, especially when these pages are frequently updated or accessed, leading to difficulties in completing the migration without significant stoppage or unavailability of the virtual machine.

Innovation Solution

A system that identifies candidate memory pages for transfer during a live migration by comparing their fingerprints with existing pages on the destination hardware resources, allowing the use of duplicate pages to reduce the data transfer and maintain virtual machine functionality with minimal disruption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If all memory pages are transferred during live migration, then the virtual machine can be migrated completely, but the migration time increases significantly

Engineering Contradiction:
Improvecompleteness of migrationVSAvoidmigration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent uses fingerprint comparison to identify duplicate memory pages between source and destination. When a duplicate is found, instead of transferring the entire page data, the system creates a reference or copy indicator that points to the existing page, significantly reducing transfer time while maintaining data integrity through the fingerprint verification mechanism.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent extracts only the essential identifying information (fingerprints) of memory pages rather than transferring the complete page contents. By comparing these extracted fingerprints, the system determines which pages need actual data transfer and which can be referenced from existing destination pages, reducing overall migration time.

Inventive Principle:
Principle #2Taking out (Extraction)

2Ease of operation

If memory pages are transferred while the virtual machine continues to execute, then continuous operation is maintained, but the complexity of managing page transfers increases

Engineering Contradiction:
Improvecontinuous operationVSAvoidpage transfer management
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent performs fingerprint comparison and identification of duplicate pages before actual data transfer begins. This preliminary action allows the system to pre-determine which pages can be referenced from the destination and which require transfer, simplifying the subsequent transfer process while maintaining continuous virtual machine operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The fingerprint acts as an intermediary mechanism that mediates between the source and destination memory pages. By using fingerprints as the comparison key, the system simplifies the complexity of direct page-by-page verification while ensuring accurate identification of duplicates during live migration.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of substance

If duplicate pages are identified and used, then data transfer is reduced, but the precision of page matching must be high to avoid errors

Engineering Contradiction:
Improvedata transfer volumeVSAvoidpage matching accuracy
Core Design Contradiction:
Loss of substanceVSMeasurement precision

Solution Approach 1:

The patent creates fingerprints as simplified copies or representations of the actual memory page contents. These fingerprints serve as reliable proxies for comparing page equivalence without requiring complete data transfer, reducing transfer volume while maintaining matching accuracy through the fingerprint verification process.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS8239609B2Leveraging memory similarity during live migrations
Publication Date: 2012.08.07 SAP SE
  • US8239609B2 patent drawing
  • US8239609B2 patent drawing
  • US8239609B2 patent drawing

AI summary

A page scanner may be configured to identify, during a live migration of a virtual machine including a transfer of a plurality of memory pages from source hardware resources to destination hardware resources, a candidate memory page of the plurality of memory pages to include in the transfer while at least one operation of the virtual machine continues to execute. A fingerprint comparator may be configured to compare a candidate page fingerprint of the candidate memory page to existing page fingerprints of existing memory pages stored using the second hardware resources, and further configured to determine, based on the comparing, that a duplicate of the candidate page is included within the existing memory pages. A duplicate page handler may be configured to facilitate continued execution of the virtual machine using the duplicate of the candidate page and the second hardware resources.