Adaptive Read-Look-Ahead Memory Allocation for NVMe Stream Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current read-look-ahead management systems in storage systems operating under the NVMe standard face inefficiencies due to sub-optimal stream allocation and management, leading to increased latency and reduced performance, as they fail to effectively utilize retrospective success rates and dynamic changes in logical block address ranges.

Innovation Solution

An adaptive-feedback-based read-look-ahead management system that dynamically allocates memory resources based on stream success rates, unifies similar streams using principle component analysis, and manages stream openings and closures to optimize memory usage and reduce unnecessary stream divisions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If read-look-ahead mechanism speculatively fetches data from memory to temporal buffers, then memory sense and transfer latency is reduced, but memory allocation efficiency deteriorates due to sub-optimal stream allocation

Engineering Contradiction:
Improvememory sense and transfer latencyVSAvoidmemory allocation efficiency
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The system implements feedback mechanisms that monitor stream success rates and use this information to dynamically adjust memory allocation. The controller tracks the success rate of read-look-ahead operations for each stream and reallocates memory buffers accordingly, ensuring that streams with higher success rates receive more memory resources while reducing allocation for lower-performing streams.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent applies dynamic stream management where the system continuously monitors stream performance metrics and adapts memory allocation in real-time. Streams are dynamically opened, merged, or closed based on their success rates and activity patterns, allowing the system to optimize memory utilization dynamically rather than using static allocation schemes.

Inventive Principle:
Principle #15Dynamics

2Reliability

If multiple streams are maintained in memory, then stream detection rates improve, but memory usage increases leading to sub-optimal resource utilization

Engineering Contradiction:
Improvestream detection ratesVSAvoidmemory usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system implements stream merging and closure mechanisms that discard low-performing streams and recover their memory resources. When a stream's success rate falls below a threshold or when similar streams are detected, the system merges or closes the underperforming stream and reallocates its memory buffers to more successful streams, thereby maintaining high stream detection rates while optimizing memory utilization.

Inventive Principle:
Principle #34Discarding and recovering

Solution Approach 2:

The patent employs stream merging techniques where multiple similar or low-performing streams are combined into a single stream. This reduces the total number of streams maintained in memory while preserving the ability to detect and process relevant data patterns, thus improving memory efficiency without significantly compromising stream detection capability.

Inventive Principle:
Principle #5Merging (Combining)

3Productivity

If read-look-ahead operations are performed for each stream, then data fetch efficiency improves, but system complexity increases due to stream management overhead

Engineering Contradiction:
Improvedata fetch efficiencyVSAvoidstream management overhead
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system implements self-service stream management where streams automatically adjust their own memory allocations based on their performance metrics. Each stream's success rate is monitored and used to automatically trigger merging, closure, or memory reallocation actions, reducing the need for complex centralized stream management logic and simplifying the overall system architecture while maintaining high data fetch efficiency.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11620086B2Adaptive-feedback-based read-look-ahead management system and method
Publication Date: 2023.04.04 SANDISK TECHNOLOGIES LLC
  • US11620086B2 patent drawing
  • US11620086B2 patent drawing
  • US11620086B2 patent drawing

AI summary

An adaptive-feedback-based read-look-ahead management system and method are provided. In one embodiment, a method for stream management is presented that is performed in a storage system. The method comprises performing a read look ahead operation for each of a plurality of streams; determining a success rate of the read look ahead operation of each of the plurality of streams; and allocating more of the memory for a stream that has a success rate above a threshold than for a stream that has a success rate below the threshold. Other embodiments are provided.