Hardware Address Frequency Tracker for Memory Tier Migration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In tiered memory architectures, frequently accessed memory units often reside in slower, cheaper memory tiers, leading to performance degradation due to high latency, as the system typically maps memory address spaces to lower tiers to conserve faster, more expensive memory.

Innovation Solution

Implementing a hardware-based address frequency tracker (AFT) module with a frequency estimator and backend to identify frequently accessed memory units and migrate them to higher, faster memory tiers, using a reversible hash function and counter arrays to track access frequencies efficiently.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If memory address spaces are mapped to lower tiers to conserve faster memory, then cost efficiency is improved, but access latency increases

Engineering Contradiction:
Improvememory capacityVSAvoidaccess latency
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system proactively monitors memory access patterns and identifies frequently accessed memory units before they cause performance degradation. By detecting hot memory units in advance and migrating them to faster tiers, the system prevents latency issues rather than reacting to them, thus maintaining both cost efficiency and performance.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a feedback mechanism where memory access frequencies are continuously monitored and used to dynamically adjust memory tier assignments. The frequency tracker provides feedback about access patterns, which triggers automated migration decisions, creating a closed-loop system that adapts to changing workload characteristics and maintains optimal performance.

Inventive Principle:
Principle #23Feedback

2Quantity of substance

If frequently accessed memory units are kept in lower tiers, then hardware cost is reduced, but application performance deteriorates

Engineering Contradiction:
Improvememory capacityVSAvoidapplication performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The system dynamically adjusts memory tier assignments based on real-time access frequency measurements. Memory units are not statically assigned but are continuously evaluated and migrated between tiers according to their actual usage patterns, allowing the system to adapt to changing application requirements and maintain optimal performance while managing costs.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the operational parameters of the memory system by introducing frequency-based migration thresholds and time window parameters. These parameters control when and how memory units are migrated between tiers, allowing fine-tuned optimization of the balance between cost and performance based on specific workload characteristics.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If hardware-based frequency tracking is implemented, then memory migration accuracy is improved, but chip area consumption increases

Engineering Contradiction:
Improveaccess frequency measurementVSAvoidchip area
Core Design Contradiction:
Measurement precisionVSArea of stationary object

Solution Approach 1:

The patent introduces a frequency tracker as an intermediary component between the memory controller and the memory tiers. This mediator monitors access patterns and provides migration recommendations without requiring direct modification of the memory hardware, thus achieving accurate tracking with minimal impact on the core memory subsystem area.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The frequency tracking functionality is implemented as a separate monitoring layer that creates a copy of the access pattern information rather than modifying the physical memory structure. This allows accurate frequency measurement to be obtained without duplicating the entire memory array, significantly reducing the additional chip area required.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20240028243A1Techinques for tracking frequently accessed memory
Publication Date: 2024.01.25 VMWARE INC
  • US20240028243A1 patent drawing
  • US20240028243A1 patent drawing
  • US20240028243A1 patent drawing

AI summary

In one set of embodiments, a hardware module of a computer system can receive a stream of addresses corresponding to memory units being accessed by a central processing unit (CPU) of the computer system. The hardware module can further generate a frequency estimate for each address in the stream of addresses, the frequency estimate being indicative of a number of times a memory unit identified by the address has been accessed by the CPU, and can determine, based on the generated frequency estimates, a set of n most frequently accessed memory units.