Multi-Tier Cache Memory Management Using Reuse Distance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current storage devices lack an efficient method for managing cache memory, leading to suboptimal data access times and storage efficiency due to the absence of a systematic approach for determining which data to evict from the cache based on reuse distance and capacity constraints.

Innovation Solution

A storage device with a multi-tier cache memory system, comprising a first cache memory for hot data and a second cache memory for cold data, where the memory controller uses reuse distance to determine which data to evict and move between the two caches, optimizing cache usage based on access patterns and capacity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If a single cache memory is used, then the device complexity is low, but the data access time and cache efficiency deteriorate

Engineering Contradiction:
Improvedata access timeVSAvoidcache memory structure
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The cache memory is divided into two separate cache memories: a first cache memory for caching data with small reuse distances (hot data) and a second cache memory for caching data with large reuse distances (cold data). This segmentation allows each cache to be optimized for its specific access pattern, improving overall data access speed while maintaining manageable complexity through specialized design.

Inventive Principle:
Principle #1Segmentation

2Quantity of substance

If cache memory capacity is increased, then more data can be cached, but the loss of time for managing and evicting data increases

Engineering Contradiction:
Improvecache capacityVSAvoiddata management time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system pre-calculates and stores reuse distance information for cached data, enabling rapid identification of candidates for eviction without time-consuming analysis during eviction operations. This preliminary action allows the cache management system to quickly determine which data to evict based on pre-computed metrics, reducing the time overhead of cache management.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If data eviction is based on simple LRU policy, then the control logic is simple, but cache efficiency deteriorates due to inability to distinguish hot and cold data

Engineering Contradiction:
Improvecache efficiencyVSAvoideviction control logic
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system introduces reuse distance as an additional parameter for cache management decisions, moving beyond simple recency-based LRU policies. By incorporating reuse distance information, the system can differentiate between hot data (small reuse distance) and cold data (large reuse distance), enabling more efficient eviction decisions that improve cache hit rates while maintaining reasonable control logic complexity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11755492B2Storage device and operating method thereof
Publication Date: 2023.09.12 SK HYNIX INC
  • US11755492B2 patent drawing
  • US11755492B2 patent drawing
  • US11755492B2 patent drawing

AI summary

A storage device is provided to comprise a memory device for storing data, a cache memory device including a first cache memory configured to cache certain data stored in the memory device and a second cache memory configured to store data evicted from the first cache memory, and a memory controller configured to receive a read request for first data from a host, evict second data from the first cache memory based on a reuse distance of the second data, store the second data in the second cache memory, load the first data to the first cache memory, and transmit the first data to the host.