Metadata Registry Decouples Granularity from Page Size

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Coarse metadata granularity in virtual memory systems leads to inefficient memory management, particularly in virtualized environments, where large page sizes result in unnecessary data transfer and overhead during backup and migration processes due to lack of precision in tracking accessed and modified pages.

Innovation Solution

Implementing a metadata registry with finer granularity than memory page sizes to track accessed and dirty bits, allowing for more precise representation of memory state and improving system performance by using a metadata registry cache to update metadata efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If large page sizes are used in virtual memory systems, then memory management overhead is reduced and fewer page table entries are needed, but metadata granularity becomes coarse leading to unnecessary data transfer during backup and migration

Engineering Contradiction:
Improvememory management efficiencyVSAvoidmetadata granularity
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent segments the metadata tracking granularity from the memory page size by introducing a metadata registry that divides each large memory page into smaller metadata granules. This allows the system to maintain large page sizes for efficient memory management while tracking access and modification patterns at a finer granularity level, enabling selective backup and migration of only the modified portions rather than entire pages.

Inventive Principle:
Principle #1Segmentation

2Productivity

If fine metadata granularity is implemented to track memory state precisely, then backup and migration efficiency improves, but system complexity increases due to additional data structures

Engineering Contradiction:
Improvebackup and migration efficiencyVSAvoiddata structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements a nested structure where a metadata registry is embedded within the existing page table framework. Each page table entry points to a metadata registry entry that contains fine-grained metadata about sub-regions of the memory page. This nesting allows the system to add fine granularity tracking capability while reusing the existing page table infrastructure, thereby limiting the increase in overall system complexity.

Inventive Principle:
Principle #7Nested doll (Nesting)

3Device complexity

If metadata is tracked at page level granularity, then data structure simplicity is maintained, but unnecessary data transfer occurs during backup and migration processes

Engineering Contradiction:
Improvedata structure simplicityVSAvoidunnecessary data transfer
Core Design Contradiction:
Device complexityVSLoss of substance

Solution Approach 1:

The patent extracts the metadata tracking function from the page table structure itself and places it in a separate metadata registry. This extraction allows the page tables to remain simple while the metadata registry maintains fine-grained tracking information. The separated metadata registry can precisely identify which sub-regions of memory pages have been modified, enabling the backup and migration processes to transfer only the necessary data portions rather than entire pages.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10635600B2Decoupling memory metadata granularity from page size
Publication Date: 2020.04.28 VMWARE INC
  • US10635600B2 patent drawing
  • US10635600B2 patent drawing
  • US10635600B2 patent drawing

AI summary

The disclosure provides an approach for tracking metadata (e.g., accessed and dirty bits) of page tables at finer granularity than the size of the page tables. A disclosed herein, modification to existing hardware design may enable finer page table granularity of metadata, leading to more precise representation of the state of memory and an improvement to system performance and efficiency. Finer grain dirty metadata can dramatically improve the efficiency and simplicity of subsystems.