Page Table Activity Classification for VM Migration Efficiency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtual machine environments, memory page migration processes such as live VM migration and checkpointing are inefficient due to unnecessary retransmission of modified memory pages, leading to increased time, computational overhead, and network bandwidth consumption.

Innovation Solution

A method is introduced to classify memory page activity levels by continuously scanning page table entries to determine access and modification status, using a finite state machine to categorize pages as hot or cold, and storing this information to prioritize page transmission during migration.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If memory pages are transmitted during migration without activity level classification, then all pages are transmitted uniformly, but retransmission of modified pages occurs wasting time and network bandwidth

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

Solution Approach 1:

The patent applies preliminary action by classifying memory pages into activity levels (hot, warm, cold) before migration begins. This classification is done by monitoring page access patterns and setting activity level bits in advance, so that during migration, only the necessary pages are transmitted with the correct activity level, eliminating the need for retransmission of modified pages.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter of page transmission priority by introducing activity level classification. Pages are assigned different transmission priorities based on their activity level (hot pages transmitted first, cold pages later), which optimizes migration efficiency by ensuring frequently accessed pages are available sooner while reducing unnecessary retransmissions.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If all memory pages are transmitted uniformly during migration, then simplicity is maintained, but network bandwidth is unnecessarily consumed

Engineering Contradiction:
Improvemigration process complexityVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
Device complexityVSLoss of energy

Solution Approach 1:

The patent applies local quality by treating different memory pages differently based on their individual activity levels. Instead of uniform transmission, each page is classified and transmitted according to its specific characteristics (hot, warm, or cold), which optimizes network bandwidth usage by prioritizing essential pages while deferring or eliminating transmission of less critical pages.

Inventive Principle:
Principle #3Local quality

3Loss of time

If memory pages are classified by activity level, then retransmission is reduced, but page table scanning overhead is introduced

Engineering Contradiction:
Improveoverall migration timeVSAvoidcomputational overhead for scanning
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The patent implements continuous scanning of page table entries during the migration process to update activity level classifications. This continuous monitoring ensures that the classification remains current throughout migration, allowing the system to dynamically adjust which pages need transmission while minimizing overall migration time through optimized retransmission handling.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentUS9063866B1Page table data structure for online classification of memory pages based on activity level
Publication Date: 2015.06.23 VMWARE INC
  • US9063866B1 patent drawing
  • US9063866B1 patent drawing
  • US9063866B1 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. The method includes the steps of scanning page table entries of hypervisor-managed page tables continuously over repeating scan periods to determine whether memory pages have been accessed or not, and for each memory page, determining an activity level of the memory page based on whether the memory page has been accessed or not since a prior scan and storing the activity level of the memory page. The activity level of the memory page may be represented by one or more bits of its page table entry and may be classified as having at least two states ranging from hot to cold.