RAID Extent Allocation via Neighborhood Matrix Variance Minimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional RAID systems face challenges in efficiently distributing mapped RAID extents across physical storage devices, leading to uneven distribution and increased rebuild times, which can result in data loss due to prolonged rebuild times and potential double drive failure.
Innovation Solution
A technique is employed to create a neighborhood matrix and disk extent consumed array to identify and allocate disk extents, ensuring even distribution of RAID extents across physical storage devices by selecting disk extents that minimize variance in the neighborhood matrix, thereby improving rebuild performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If traditional RAID extent distribution methods are used, then the system is simple to implement, but the distribution of RAID extents across physical storage devices becomes uneven
Solution Approach 1:
The system pre-calculates and stores the optimal mapping between RAID extents and physical storage devices in a lookup table before actual data operations. This preliminary action ensures even distribution without adding complexity to real-time operations, as the distribution strategy is predetermined and stored for quick reference during data writes and rebuilds
Solution Approach 2:
The patent introduces an intermediary mapping layer between logical RAID extents and physical storage devices. This mapping table acts as a mediator that decouples the logical RAID structure from physical device assignment, allowing the system to achieve even distribution across physical devices while maintaining simple logical RAID management. The mapping layer absorbs the complexity of distribution calculations
2Reliability
If RAID extents are concentrated on fewer physical storage devices, then the allocation process is simpler, but the rebuild time increases and system reliability decreases
Solution Approach 1:
The system pre-determines and stores the optimal mapping between RAID extents and physical storage devices in a lookup table before failures occur. This preliminary mapping ensures that during rebuild operations, data can be efficiently distributed across multiple available devices, minimizing rebuild time and maximizing system reliability without adding complexity to the rebuild process itself
Solution Approach 2:
The patent implements dynamic extent allocation that adapts to the current state of storage devices. During normal operation, extents are distributed to balance load. During rebuild operations, the system dynamically selects from available devices based on the pre-calculated mapping, allowing flexible participation of multiple devices in rebuild processes, thereby reducing rebuild time and improving reliability
Data Source
AI summary
A technique for use in managing mapped RAID extents is disclosed. A neighborhood matrix denoting a distribution of neighboring physical storage portions across the N physical storage devices of the pool is created and initialized. A disk extent consumed array denoting a disk consumption metric is created and initialized. Disks in an extent pool are analyzed to identify a least consumed disk in the extent pool and a disk extent is allocated from the identified disk. The allocated disk extent is configured as a first disk extent for a first RAID extent. The neighborhood matrix and disk extent consumed array are updated appropriately. All the disks in the extent pool are analyzed to identify a valid disk extent that will result in the lowest variance value in the neighborhood matrix. The identified valid disk extent is allocated and the neighborhood matrix and disk extent consumed array are again updated.


