Selective RAID-5 Parity for Cache Memory Blocks
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Data storage systems employing RAID schemes face challenges in efficiently managing cache memory, particularly in balancing memory space utilization and data recovery, as existing methods either store parity information for all cache blocks or fail to recover data without it, leading to potential losses during device failures.
Innovation Solution
A RAID data storage controller that differentiates between read and write cache blocks, storing read blocks without parity information to maximize memory space and computes parity only for write blocks, ensuring efficient data recovery by selectively using RAID-5 protection for write blocks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If parity information is stored for all cache blocks, then data recovery capability is improved, but memory space utilization deteriorates
Solution Approach 1:
The patent applies local quality by differentiating between read cache blocks and write cache blocks, applying RAID protection selectively only to write cache blocks while storing read cache blocks without parity information. This localized approach to quality control optimizes memory space utilization while maintaining data recovery capability where it is most critical (for write blocks that may be lost before reaching the storage array).
2Quantity of substance
If memory space is maximized by not storing parity for read blocks, then memory space utilization is improved, but data recovery capability deteriorates
Solution Approach 1:
The patent implements partial action by applying RAID protection only to write cache blocks rather than all cache blocks. This selective approach provides sufficient data recovery capability for the critical write blocks while avoiding the excessive storage overhead of protecting read blocks, thereby optimizing memory space utilization without compromising essential data recovery functionality.
3Quantity of substance
If RAID protection is applied selectively only to write blocks, then memory space utilization is improved, but device complexity increases
Solution Approach 1:
The patent applies segmentation by dividing cache blocks into two distinct categories: read cache blocks and write cache blocks. This segmentation enables the controller to apply different storage strategies to each category, with write blocks receiving RAID protection and read blocks stored without parity. The segmentation simplifies the overall system logic by creating clear, manageable categories rather than requiring complex selective protection decisions for each individual block.
Data Source
AI summary
A RAID controller includes a cache memory in which write cache blocks (WCBs) are protected by a RAID-5 (striping plus parity) scheme while read cache blocks (RCBs) are not protected in such a manner. If a received cache block is an RCB, the RAID controller stores it in the cache memory without storing any corresponding parity information. When a sufficient number of WCBs to constitute a full stripe have been received but not yet stored in the cache memory, the RAID controller computes a corresponding parity block and stores the RCBs and parity block in the cache memory as a single stripe.


