Hardware Address Frequency Tracker for Memory Tier Migration
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
2Quantity of substance
If frequently accessed memory units are kept in lower tiers, then hardware cost is reduced, but application performance deteriorates
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.
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.
3Measurement precision
If hardware-based frequency tracking is implemented, then memory migration accuracy is improved, but chip area consumption increases
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.
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.
Data Source
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.


