Dynamic Cache Priority Control for Storage Controllers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing cache replacement policies, such as LRU and MRU, operate independently of the system's operating environment, leading to inefficient management of cache memory and a need for more flexible cache management.

Innovation Solution

A storage controller with a cache memory system that dynamically sets priorities for cache data replacement based on the type of commands and their sequences, allowing the cache hit ratio to be optimized according to the system's state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional cache replacement policies (LRU or MRU) are used, then the cache replacement operation is simple to implement, but the cache hit ratio is low because the policies operate regardless of the operating environment

Engineering Contradiction:
Improvecache hit ratioVSAvoidcache replacement policy complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements a dynamic cache replacement policy that adjusts replacement priorities based on real-time command types and sequences. The cache controller dynamically modifies the priority table according to the current operating environment, transitioning from static LRU/MRU policies to adaptive priority-based replacement that responds to system state changes.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the parameters of cache replacement by introducing command-type-dependent priority levels. Instead of using only time-based metrics (recency), the system now considers command types (read/write/prefetch) and their sequences to assign different priority values to cache lines, thereby optimizing the replacement decision parameters according to workload characteristics.

Inventive Principle:
Principle #35Parameter changes

2Adaptability or versatility

If a fixed cache replacement policy is used, then the policy is easy to manage, but the flexibility to adapt to different system states is poor

Engineering Contradiction:
Improvecache management flexibilityVSAvoidcache policy management ease
Core Design Contradiction:
Adaptability or versatilityVSEase of operation

Solution Approach 1:

The cache controller automatically adjusts replacement priorities based on command types and sequences without requiring external intervention. The system self-manages the priority table by detecting command patterns and dynamically reconfiguring replacement behavior, achieving adaptive cache management while maintaining operational simplicity.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent implements feedback mechanisms where the cache controller continuously monitors command types and sequences, uses this information to update priority assignments, and adjusts replacement decisions accordingly. This closed-loop approach enables the cache policy to adapt to changing system states while maintaining ease of operation through automated control.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20250173275A1Storage controller, storage device, and storage system
Publication Date: 2025.05.29 SAMSUNG ELECTRONICS CO LTD
  • US20250173275A1 patent drawing
  • US20250173275A1 patent drawing
  • US20250173275A1 patent drawing

AI summary

A storage controller includes a processor configured to input and output a command for data to an outside, a data memory configured to store the data as cache data, a tag memory configured to store a priority with respect to replacement of the cache data, and a cache controller configured to determine the priority based on a type of the command with respect to the data stored as the cache data and a sequence of the type.