Selective Cache Migration for Virtual Machines

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The migration of virtual machine (VM) caches between storage devices is challenging due to performance loss and prolonged migration times when either discarding or fully migrating the cache, leading to inefficient use of network bandwidth.

Innovation Solution

Selecting a portion of cache entries from recently and frequently used lists based on hit rates and frequency of use for migration, along with metadata for unselected entries, to optimize I/O latency and throughput without excessive bandwidth consumption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the whole cache is migrated with VM, then the VM performance is maintained, but the migration time is prolonged dramatically

Engineering Contradiction:
ImproveVM performanceVSAvoidmigration time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The cache is segmented into multiple lists (first list for recently used entries, second list for frequently used entries) based on access patterns. Only a portion of cache entries is selected for migration based on hit rates and frequency of use, rather than migrating the entire cache. This segmentation allows selective migration of only the most relevant entries, reducing migration time while maintaining performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of migrating the complete cache (excessive action), the system migrates only a partial subset of cache entries that are most likely to be needed based on their hit rates and frequency of use. This partial action approach reduces migration time and bandwidth consumption while still maintaining adequate VM performance.

Inventive Principle:
Principle #16Partial or excessive action

2Loss of time

If the cache is discarded and only the VM is migrated, then the migration time is reduced, but the VM suffers a loss of performance

Engineering Contradiction:
Improvemigration timeVSAvoidVM performance
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

Before migration, the system performs preliminary analysis of cache entry characteristics (hit rates, frequency of use) to identify which entries should be migrated. This preliminary action ensures that the most valuable cache entries are selected for migration, so that when migration occurs, the VM receives the most relevant data and minimizes performance loss.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses feedback from cache hit rate monitoring and frequency of use tracking to dynamically determine which cache entries should be migrated. By continuously monitoring cache access patterns and using this feedback to guide migration decisions, the system optimizes the balance between migration speed and performance maintenance.

Inventive Principle:
Principle #23Feedback

3Reliability

If the whole cache is migrated, then the VM performance is maintained, but the network bandwidth is consistently consumed for an extended period

Engineering Contradiction:
ImproveVM performanceVSAvoidnetwork bandwidth consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The cache is divided into multiple lists based on entry importance and access patterns. The system then selects only a portion of entries from these lists for migration, segmenting the data transfer into a smaller, more manageable subset. This reduces the total network bandwidth consumption during migration while still transferring the most critical entries needed for VM performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies partial action by migrating only the necessary portion of cache entries rather than the entire cache. This selective migration approach significantly reduces network bandwidth consumption and migration duration while maintaining adequate VM performance through the transfer of high-value entries.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9317207B2Cache migration
Publication Date: 2016.04.19 VMWARE INC
  • US9317207B2 patent drawing
  • US9317207B2 patent drawing
  • US9317207B2 patent drawing

AI summary

Exemplary methods, apparatuses, and systems determine that a cache is to be migrated from a first storage device to a second storage device. The cache includes cache entries organized in a first list of cache entries and a second list of cache entries. Only a portion of all cache entries from the first and second lists is selected for migration to the second storage device. The selected cache entries and metadata for cache entries from the first or second list that were not selected are migrated from the first storage device to the second storage device.