SSD Cache Eviction via Unsupervised Reinforcement Learning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing L2P cache eviction policies in solid state drives, such as the Least Recently Used (LRU) algorithm, are sub-optimal for maximizing long-term cache hit rates due to their inability to account for repeating occurrences of logical block address ranges, leading to undesirable cache swapping and inefficient management.

Innovation Solution

The implementation of unsupervised reinforcement learning schemes to optimize L2P cache eviction policies by assigning rewards based on cache hit/miss signals, allowing the controller to learn and adapt the optimal policy for maintaining cache performance, thereby evicting the least relevant data and updating the cache to maintain a defined size.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If LRU eviction policy is used, then cache management is simple, but cache hit rate is sub-optimal for non-synthetic scenarios

Engineering Contradiction:
Improvecache management simplicityVSAvoidcache hit rate
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent implements a reinforcement learning-based eviction policy that uses feedback from cache hit/miss signals to dynamically adjust eviction decisions. The system continuously learns from past cache performance and adapts its eviction strategy to maximize long-term cache hit rates, resolving the contradiction between simple management and optimal performance.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The eviction policy autonomously optimizes itself through reinforcement learning without requiring external intervention or complex manual configuration. The system self-adjusts based on observed cache performance patterns, achieving high cache hit rates while maintaining operational simplicity.

Inventive Principle:
Principle #25Self-service

2Ease of manufacture

If LRU eviction policy is used, then implementation is straightforward, but long-term cache performance is not optimized

Engineering Contradiction:
Improveimplementation simplicityVSAvoidlong-term cache performance
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent replaces traditional mechanical/LRU-based eviction mechanisms with a reinforcement learning system that uses intelligent decision-making algorithms. This substitution enables the system to optimize long-term cache performance by learning from patterns in data access behavior, rather than relying on simple recency-based eviction.

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

Solution Approach 2:

The reinforcement learning system dynamically changes eviction parameters based on learned patterns from cache performance data. By adapting eviction decisions to actual usage patterns rather than following fixed LRU rules, the system achieves superior long-term cache performance while maintaining implementation feasibility.

Inventive Principle:
Principle #35Parameter changes

3Reliability

If cache size is increased, then cache hit rate improves, but device capacity is limited

Engineering Contradiction:
Improvecache hit rateVSAvoidavailable cache memory
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The reinforcement learning-based eviction policy changes the effectiveness parameter of cache management by optimizing which entries to retain and evict based on predicted future utility. This allows the system to maximize cache hit rates within the constrained cache size by making intelligent retention decisions rather than relying on increased capacity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12038844B2Solid state drive cache eviction policy by an unsupervised reinforcement learning scheme
Publication Date: 2024.07.16 SANDISK TECHNOLOGIES LLC
  • US12038844B2 patent drawing
  • US12038844B2 patent drawing
  • US12038844B2 patent drawing

AI summary

A method and apparatus for cache management and eviction polices using unsupervised reinforcement learning schemes is disclosed.