RAID L2p Table Threshold Update for Mapping Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing RAID systems face performance degradation over time due to copy-on-write architectures, and redirect-on-write solutions introduce side effects, necessitating a method for reliable mapping information management to ensure stable operation under various conditions.

Innovation Solution

A method and apparatus for RAID systems that write data in a redirect-on-write manner, record mapping information in a logical-address-to-p-address table, maintain an updating list in RAM, and a recovery log for power failure recovery, and selectively update the table when a predetermined threshold of same-location entries is reached, ensuring efficient data management without introducing side effects.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If copy-on-write architecture is used for data backup, then data protection is improved, but server performance degrades over time

Engineering Contradiction:
Improvedata protectionVSAvoidserver performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements preliminary action by pre-allocating protected access units and pre-establishing the mapping structure in the L2p table before data writes occur. This allows the system to prepare backup storage locations in advance, reducing the overhead during actual write operations and preventing performance degradation over time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism through the L2p table that mediates between logical addresses and physical protected access units. This intermediary layer abstracts the complexity of data protection operations, enabling efficient redirection of writes to protected units without directly impacting application performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If redirect-on-write architecture is used to prevent performance degradation, then server performance is maintained, but side effects are introduced

Engineering Contradiction:
Improveserver performanceVSAvoidside effects
Core Design Contradiction:
ProductivityVSObject-generated harmful factors

Solution Approach 1:

The patent applies parameter changes by dynamically adjusting the update frequency of the L2p table based on a threshold parameter. Instead of updating the table on every write operation, the system accumulates mapping changes and updates periodically when the threshold is reached, thereby reducing the frequency of table updates and minimizing side effects while maintaining performance.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements periodic action through threshold-based batch updates of the L2p table. Rather than continuous updates on every data modification, the system periodically consolidates and applies mapping changes when the predetermined threshold is met, reducing the overhead and side effects associated with frequent table updates.

Inventive Principle:
Principle #19Periodic action

3Reliability

If L2p table is updated frequently to maintain mapping accuracy, then data integrity is improved, but system overhead increases

Engineering Contradiction:
Improvedata integrityVSAvoidsystem overhead
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent uses parameter changes by introducing a threshold parameter that controls L2p table update frequency. The system monitors the number of pending mapping changes and only triggers an update when the threshold is reached, balancing data integrity requirements with system overhead reduction through parameter-driven control.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies partial action by updating only the necessary portions of the L2p table based on accumulated changes rather than performing full table updates. This selective updating approach maintains data integrity for modified entries while avoiding the overhead of unnecessary updates to unchanged portions of the table.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS11221773B2Method and apparatus for performing mapping information management regarding redundant array of independent disks
Publication Date: 2022.01.11 SILICON MOTION INC
  • US11221773B2 patent drawing
  • US11221773B2 patent drawing
  • US11221773B2 patent drawing

AI summary

A method and apparatus for performing mapping information management regarding a RAID are provided. The method includes: writing data into a data region of the RAID in a redirect-on-write (ROW) manner, and recording mapping information between logical addresses of the data and protected-access-unit addresses (p-addresses) of protected access units in the data region into a logical-address-to-p-address (L2p) table within a table region of the RAID; when partial data of the data is updated, maintaining an updating list including a set of L2p table entries for the partial data in a RAM, and maintaining a recovery log corresponding to the updating list in a log region of the RAID, for power failure recovery; and according to the updating list, detecting whether a number of same-location L2p table entries in the set of L2p table entries reaches a predetermined threshold, to selectively update the L2p table with the same-location L2p table entries.