Hybrid Cache Management via Access Pattern Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

RAM-based caches face limitations in storage capacity and performance due to high costs and spatial constraints, leading to fluctuations in system performance as the number of data requests increases, resulting in inefficient use of cache space.

Innovation Solution

A cache management apparatus and method that analyzes access patterns of pages in a first cache, classifies them, and transfers frequently accessed pages to a second cache, predicting which pages will be requested in the future to optimize storage and improve I/O processing efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If RAM-based cache is used to quickly process data I/O requests, then data I/O processing speed is improved, but cache storage capacity is limited and system performance fluctuates as requests increase

Engineering Contradiction:
Improvedata I/O processing speedVSAvoidcache storage capacity
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The cache system is segmented into two distinct caches: a first cache (RAM-based) for frequently accessed data and a second cache (auxiliary memory-based) for less frequently accessed data. This segmentation allows the system to maintain high-speed access for hot data while utilizing larger-capacity auxiliary storage for cold data, thereby resolving the contradiction between speed and storage capacity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The invention introduces a hierarchical cache architecture that adds a spatial dimension to cache management. By organizing caches in tiers (first cache in RAM, second cache in auxiliary memory), the system expands the effective cache capacity beyond the physical limits of RAM while maintaining performance through intelligent data placement and access patterns.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Productivity

If more data is cached in RAM to handle increased requests, then data I/O processing capacity is improved, but cost and spatial limitations are worsened

Engineering Contradiction:
Improvedata I/O processing capacityVSAvoidcache management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The cache management apparatus continuously monitors access patterns of data in the first cache and provides feedback to determine which data should be transferred to the second cache. This feedback mechanism enables dynamic adaptation to changing workload conditions, optimizing cache utilization and processing capacity without manual intervention or complex configuration.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The cache management system operates autonomously by automatically analyzing access patterns, classifying data, and transferring pages between caches without requiring external control. This self-service capability simplifies the overall system complexity while maintaining high productivity through intelligent, adaptive cache management.

Inventive Principle:
Principle #25Self-service

3Speed

If frequently accessed pages are kept in first cache, then data access speed is improved, but cache space is consumed and less frequently accessed pages cannot be stored

Engineering Contradiction:
Improvedata access speedVSAvoidcache space
Core Design Contradiction:
SpeedVSArea of stationary object

Solution Approach 1:

The invention extracts less frequently accessed pages from the first cache and stores them in the second cache. This extraction process frees up valuable cache space in the first cache for frequently accessed data while maintaining a repository for cold data in the second cache, effectively resolving the space constraint.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

By introducing a second cache dimension, the system creates additional storage space for less frequently accessed pages without compromising the space availability in the first cache. This dimensional expansion allows the system to maintain high access speeds for hot data while accommodating a broader range of data in the hierarchical structure.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS9858197B2Cache management apparatus of hybrid cache-based memory system and the hybrid cache-based memory system
Publication Date: 2018.01.02 SAMSUNG ELECTRONICS CO LTD
  • US9858197B2 patent drawing
  • US9858197B2 patent drawing
  • US9858197B2 patent drawing

AI summary

A cache management apparatus includes an access pattern analysis unit configured to analyze an access pattern of each of one or more pages present in a first cache by monitoring data input/output (I/O) requests, a page class management unit configured to determine a class of each of the pages based on results of the analysis performed by the access pattern analysis unit, and a page transfer management unit configured to transfer one or more pages classified into a first class including pages to be transferred, to a second cache based on results of the determination performed by the page class management unit.