Storage Controller Fragmentation Prediction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Fragmentation of memory in storage systems leads to performance degradation over time, as logical addresses of files become disaligned with physical NAND memory, increasing the number of NAND sense operations required for sequential reads.

Innovation Solution

A storage system with a controller that calculates and monitors memory fragmentation levels by comparing the number of NAND sense operations in fragmented and non-fragmented states, predicting performance drops and prioritizing defragmentation operations to maintain system performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If defragmentation operations are performed frequently to maintain performance, then sequential read performance is improved, but write amplification increases and endurance decreases

Engineering Contradiction:
Improvesequential read performanceVSAvoidwrite amplification
Core Design Contradiction:
SpeedVSLoss of substance

Solution Approach 1:

The system performs preliminary assessment of fragmentation levels and predicts future performance drops before they occur. By calculating fragmentation metrics and predicting when performance will degrade, the system can schedule defragmentation operations proactively rather than reactively, optimizing the timing to balance performance maintenance with write amplification minimization.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically changes the parameter of defragmentation scheduling based on calculated fragmentation levels and predicted performance drops. Instead of using fixed intervals, the system adjusts defragmentation timing and frequency based on actual fragmentation metrics, allowing it to perform defragmentation only when necessary to maintain performance while minimizing unnecessary write operations.

Inventive Principle:
Principle #35Parameter changes

2Duration of action of stationary object

If defragmentation operations are delayed to reduce write amplification, then write endurance is improved, but sequential read performance degrades

Engineering Contradiction:
Improvewrite enduranceVSAvoidsequential read performance
Core Design Contradiction:
Duration of action of stationary objectVSSpeed

Solution Approach 1:

The system continuously monitors fragmentation levels and uses this feedback to predict future performance drops. By establishing a correlation between fragmentation metrics and performance degradation, the system can determine the optimal moment to perform defragmentation - just before performance would significantly degrade - thereby balancing endurance preservation with performance maintenance.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system predicts performance drops in advance based on fragmentation trends and schedules defragmentation operations before performance degradation becomes significant. This preliminary action allows the system to maintain performance thresholds while avoiding excessive defragmentation that would harm endurance.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If the system monitors fragmentation levels continuously to predict performance drops, then performance optimization is improved, but system complexity increases

Engineering Contradiction:
Improveperformance optimizationVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system replaces complex continuous monitoring with a simplified calculation approach based on fragmentation metrics that can be derived from existing data structures. Instead of implementing complex real-time monitoring infrastructure, the system uses calculations based on logical-to-physical address mappings and fragmentation patterns that are already tracked for other storage management functions.

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

Solution Approach 2:

The fragmentation level calculation and performance prediction functionality is integrated into the existing storage management controller, which already performs logical-to-physical address translation and storage bookkeeping. This multi-functional approach allows the system to gather necessary data through existing mechanisms rather than adding separate dedicated monitoring systems, thereby reducing overall complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11809736B2Storage system and method for quantifying storage fragmentation and predicting performance drop
Publication Date: 2023.11.07 SANDISK TECHNOLOGIES LLC
  • US11809736B2 patent drawing
  • US11809736B2 patent drawing
  • US11809736B2 patent drawing

AI summary

A storage system determines a memory fragmentation level for each of a plurality of logical block address ranges. The memory fragmentation level for a given logical block address range is determined according to the number of memory senses required to read that logical block address range in its current state of fragmentation and the number of memory senses required to read that logical block address range assuming no fragmentation. The memory fragmentation level correlates to the sequential read performance for that logical block address range in that an increase in the memory fragmentation level results in a decrease in sequential read performance.