Virtual Machine Memory Pre-Migration for Bandwidth Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing live migration techniques for virtual machines are costly in terms of bandwidth and resources, especially over long distances, and restrict users from selecting target hosts based on dynamic conditions, as they typically migrate the entirety of the source virtual machine.

Innovation Solution

The method involves pre-migrating a portion of the memory from a parent virtual machine to multiple target hosts before a migration request, allowing only the unique memory pages to be transferred to the selected target host, which are further compressed, reducing the bandwidth and resource requirements.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the entirety of the source VM is migrated to the target host, then the migration is complete and reliable, but the bandwidth and resource consumption increases significantly

Engineering Contradiction:
Improvemigration completenessVSAvoidbandwidth consumption
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent extracts only the unique memory pages that differ between source and target VMs, rather than migrating the entire memory image. This is achieved by comparing memory pages and identifying only those pages that need to be transferred, significantly reducing bandwidth consumption while maintaining migration completeness

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The memory image is segmented into individual memory pages, and only the necessary subset (unique pages) is selected for migration. This segmentation allows the system to process and transfer only the essential portions of the memory image rather than the complete image

Inventive Principle:
Principle #1Segmentation

2Reliability

If the entire memory image is transferred, then the target VM is fully initialized, but the migration time increases especially over long distances

Engineering Contradiction:
Improvetarget VM initializationVSAvoidmigration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts only the unique memory pages required for proper VM initialization, eliminating the need to transfer redundant identical pages. This extraction approach maintains complete target VM initialization while dramatically reducing migration time, especially for long-distance migrations

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary comparison of memory pages between source and target VMs before migration, identifying which pages need to be transferred. This preliminary action enables the migration process to focus only on necessary data, reducing overall migration time

Inventive Principle:
Principle #10Preliminary action

3Productivity

If memory pages are pre-migrated to multiple target hosts, then migration flexibility and speed improve, but the initial setup complexity increases

Engineering Contradiction:
Improvemigration speedVSAvoidpre-migration setup
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent creates pre-migrated memory images that can serve multiple potential target hosts simultaneously. This universal approach allows any of the pre-prepared target hosts to receive the VM migration request, providing flexibility and fast migration execution without requiring complex real-time decision-making during migration

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS10579409B2Live migration of virtual machines with memory state sharing
Publication Date: 2020.03.03 VMWARE INC
  • US10579409B2 patent drawing
  • US10579409B2 patent drawing
  • US10579409B2 patent drawing

AI summary

Embodiments described herein rapidly pre-migrate child virtual machines (VMs) by leveraging shared memory resources between parent and child VMs. In a first, proactive phase, at least a portion of the memory of a parent VM is migrated to a plurality of potential target hosts. In a second, reactive phase, after a request is detected to migrate a child VM to a selected target host, differences in memory are transferred to the selected target host. Aspects of the disclosure offer a high performance, resource efficient solution that outperforms traditional approaches in areas of software compatibility, stability, quality of service control, resource utilization, and more.