Memory Page Activity Classification for VM Migration Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtual machine environments, the inefficiencies in managing memory page migrations for hypervisor-based services like live VM migration and fault tolerance lead to wasted time, computational overhead, and unnecessary network bandwidth usage due to retransmitting modified memory pages.

Innovation Solution

Implementing a method to classify memory page activity levels within a virtual machine environment, allowing hypervisor-based services to efficiently manage memory page migrations by determining and storing activity levels at varying frequencies and granularities, using finite state machines and data structures to track heat classification states across different scanning time intervals.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If memory pages are transmitted during live migration or fault tolerance operations, then VM migration and backup services can be provided, but retransmitting modified pages wastes time, adds computational overhead, and consumes network bandwidth

Engineering Contradiction:
Improvemigration speedVSAvoidretransmission time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system performs preliminary classification of memory pages into hot and cold categories before migration begins. Cold pages are identified and marked in advance, so during migration only these cold pages need to be transmitted. This preliminary classification prevents the need to retransmit modified pages later, directly resolving the contradiction by reducing both migration time and retransmission overhead.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system continuously monitors memory page activity levels during migration and updates the classification status accordingly. If a cold page becomes hot (modified), the system receives feedback about this change and adjusts transmission priorities. This feedback mechanism ensures that only truly cold pages are transmitted, eliminating wasted retransmissions and improving overall migration efficiency.

Inventive Principle:
Principle #23Feedback

2Measurement precision

If memory page activity levels are classified at high precision and frequent intervals, then accurate migration decisions can be made, but computational overhead increases

Engineering Contradiction:
Improveactivity level classification precisionVSAvoidcomputational overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system applies different classification precision levels to different memory pages based on their actual activity characteristics. Hot pages that are frequently accessed receive more precise and frequent monitoring, while cold pages receive less intensive classification. This local quality approach maintains high measurement precision where needed while reducing computational overhead for pages that don't require intensive monitoring.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts the classification interval and precision parameters based on the current state of memory pages and migration progress. When migration is underway, the system may reduce the frequency of classification for pages already identified as cold, thereby reducing computational overhead while maintaining sufficient precision to detect any status changes that would require retransmission.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8990531B2Multiple time granularity support for online classification of memory pages based on activity level
Publication Date: 2015.03.24 VMWARE INC
  • US8990531B2 patent drawing
  • US8990531B2 patent drawing
  • US8990531B2 patent drawing

AI summary

Activity level of memory pages is classified in virtual machine environment, so that processes such as live VM migration and checkpointing, among others, can be carried out more efficiently. Because each such hypervisor-based service may desire classification of activity levels of memory pages at different frequencies and different time granularities, the hypervisor supports methods to classify activity levels of memory pages for a plurality of time intervals.