Multi-Pass NAND RAID Parity Buffering Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In SSDs using Multi-Pass NAND programming, the conventional RAID design requires significant buffer memory for parity data, leading to increased memory demands and performance degradation due to data copying between rapid and slow memory.

Innovation Solution

A RAID optimization method that dynamically generates RAID parity data in real-time during each pass of Multi-Pass NAND programming, releasing the buffer area after each pass completion without waiting for all passes to finish.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If RAID parity data is buffered until all-pass programming is completed, then reliability is improved, but memory requirements increase and performance deteriorates

Engineering Contradiction:
ImproveSSD reliabilityVSAvoidmemory requirements
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent segments the parity data buffering process into multiple passes, where parity data is generated and buffered incrementally for each pass rather than waiting for all passes to complete. This divides the large memory requirement into smaller, manageable segments that can be handled in stages.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary encoding of user data to generate parity data before the actual programming passes are completed. By preparing parity data in advance for each pass, the system reduces the peak memory buffer requirement while ensuring reliability through pre-computed redundancy.

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If parity data is copied from rapid memory to slow memory, then memory space constraint is resolved, but performance is significantly impacted

Engineering Contradiction:
Improvememory space availabilityVSAvoidNAND programming performance
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent implements a dynamic memory management strategy where the buffer size and memory allocation are adjusted based on the current pass being executed. Rather than statically allocating large memory spaces or copying data between memory types, the system dynamically allocates only the necessary buffer space for the current pass operations.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent eliminates the need for copying parity data between rapid and slow memory by generating and buffering parity data directly in the appropriate memory space for each pass. This avoids the performance penalty of data copying while still resolving memory space constraints through pass-by-pass processing.

Inventive Principle:
Principle #26Copying

3Reliability

If all page data is transmitted to NAND during each pass programming, then programming completeness is ensured, but memory buffering demand increases

Engineering Contradiction:
Improveprogramming completenessVSAvoidbuffer memory demand
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent segments the data transmission process into multiple passes, where only the necessary portion of page data is transmitted and buffered for each individual pass. This segmentation reduces the peak buffer memory demand compared to buffering all data simultaneously, while ensuring complete programming through multiple sequential passes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent employs periodic action by repeating the encoding and transmission process for each pass. Parity data is generated, buffered, and transmitted in periodic cycles corresponding to each pass, allowing the system to complete full programming while managing buffer demands through rhythmic, controlled data flow.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS12287991B2Raid optimization method for multi-pass programing NAND, and computer device
Publication Date: 2025.04.29 SHENZHEN YILIAN INFORMATION SYST CO LTD
  • US12287991B2 patent drawing
  • US12287991B2 patent drawing
  • US12287991B2 patent drawing

AI summary

The present application relates to a RAID optimization method and apparatus for Multi-Pass NAND programming, a computer device, and a storage medium. The method includes: obtaining a RAID optimization request for the Multi-Pass NAND programming; performing, by a RAID engine, encoding on cached user data of a corresponding RAID stripe during each Pass programming, according to the RAID optimization request of the Multi-Pass NAND programming; generating corresponding Parity data in real time through the encoding by the RAID engine; releasing a buffer area for storing the Parity after a corresponding Pass programming is completed, without waiting until all-Passes programming has been completed. According to the present application, aiming at a Multi-Pass programming scenario, RAID parity data is dynamically generated without buffering the corresponding parity data during each pass programming. The RAID parity data is generated in real time, so that a requirement on a memory of a SOC is reduced, a performance of a SSD is improved accordingly, and the cost is reduced.