Hardware Access Frequency Caching for Memory Bandwidth Reduction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for tracking memory access frequency are inefficient, leading to inaccurate results and high runtime overhead, especially when distinguishing between pages accessed a small number of times versus those accessed frequently, due to limitations in existing hardware and software approaches.

Innovation Solution

A hardware-based access frequency caching structure with a global tracking data structure, where access frequency counters are maintained in hardware and periodically updated, reducing the need for software intervention and minimizing memory bandwidth usage, while allowing for more accurate tracking across a wide range of access frequencies.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If software-based access frequency tracking is used, then implementation flexibility is improved, but runtime overhead and performance cost increase significantly

Engineering Contradiction:
Improveimplementation flexibilityVSAvoidruntime performance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent introduces a hardware-based access frequency tracking structure that acts as an intermediary between memory access requests and the software memory management system. This hardware structure automatically tracks access frequencies without requiring software intervention for each access, thereby reducing runtime overhead while maintaining tracking functionality.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces the software-based tracking mechanism with a hardware-based implementation. By using dedicated hardware circuitry to track access frequencies, the system eliminates the performance penalty associated with software-based tracking while preserving the ability to gather accurate access frequency information for memory management decisions.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If hardware-based access frequency tracking is implemented, then runtime overhead is reduced, but device complexity increases

Engineering Contradiction:
Improveruntime efficiencyVSAvoidhardware structure complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the access frequency tracking functionality into a dedicated hardware structure that is separate from the main memory management units. This segmentation allows the tracking function to be implemented efficiently in hardware without significantly complicating the overall system architecture, as the tracking structure operates independently and can be managed through simple control signals.

Inventive Principle:
Principle #1Segmentation

3Measurement precision

If access frequency tracking accuracy is improved for distinguishing frequently accessed pages, then memory mapping efficiency is improved, but memory bandwidth usage increases

Engineering Contradiction:
Improveaccess frequency tracking accuracyVSAvoidmemory bandwidth consumption
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent implements preliminary tracking of access frequencies in a hardware structure before memory management decisions are made. By pre-tracking access patterns in hardware, the system accumulates accurate frequency information without requiring frequent reads from main memory, thereby reducing memory bandwidth consumption while maintaining high tracking accuracy for identifying frequently accessed pages.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11467960B1Access frequency caching hardware structure
Publication Date: 2022.10.11 ARM LTD
  • US11467960B1 patent drawing
  • US11467960B1 patent drawing
  • US11467960B1 patent drawing

AI summary

An access frequency caching hardware structure has entries each storing an access frequency counter indicative of a frequency of accesses to a corresponding page of a memory address space. Access frequency tracking circuitry is responsive to a given memory access request requesting access to a target page, to determine whether the access frequency caching hardware structure already includes a corresponding entry which is valid and corresponds to the target page. When the structure includes the corresponding entry, a corresponding access frequency counter specified by the corresponding entry is incremented. In response to a counter writeback event associated with a selected access frequency counter corresponding to a selected page, an update is made to a global access frequency counter corresponding to the selected page within a global access frequency tracking data structure stored in the memory system.