Flash Memory Management via Intermediary Mapping for Variable Erase Blocks
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Flash storage systems face challenges when replacing a drive with a different erase block size, leading to data alignment issues and wastage of physical memory due to mismatched block sizes and varying durability requirements across different flash technologies.
Innovation Solution
The system rebuilds data by allocating replacement erase blocks of varying sizes and uses metadata mapping to ensure data integrity and efficiency, utilizing error coding to reconstruct data and manage memory usage effectively.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If replacement erase blocks with different sizes are allocated, then the storage system can accommodate different flash technologies, but data alignment issues occur and metadata integrity is compromised
Solution Approach 1:
The patent introduces an intermediary mapping layer between the logical data structure and physical erase blocks. This mapping mechanism translates logical block addresses to physical erase block locations, allowing the system to handle different erase block sizes without compromising data alignment. The intermediary layer absorbs the size differences and ensures proper data placement regardless of underlying flash technology variations.
Solution Approach 2:
The patent segments the storage space into logical units that are independent of physical erase block boundaries. By dividing data into smaller logical blocks that can be mapped to varying physical erase block sizes, the system maintains data alignment integrity while accommodating different flash memory configurations. This segmentation allows flexible allocation across erases blocks of 24 MB, 64 MB, or other sizes.
2Reliability
If replacement erase blocks with greater capacity are allocated, then data redundancy is improved, but physical memory wastage increases
Solution Approach 1:
The patent dynamically adjusts the allocation parameters of replacement erase blocks based on the actual data size and redundancy requirements. Instead of always allocating full-sized replacement blocks, the system modifies allocation parameters to match the minimum necessary capacity, thereby maintaining data redundancy while minimizing physical memory wastage. This adaptive parameter adjustment allows efficient utilization of storage resources across different flash technologies.
3Reliability
If durability required sets of pages are enforced, then data durability is ensured, but write flexibility and storage efficiency are reduced
Solution Approach 1:
The patent implements a dynamic write management system that adjusts durability requirements based on the specific data being written and the underlying flash technology characteristics. Rather than enforcing fixed durability sets for all writes, the system dynamically determines the appropriate durability level, allowing flexible write operations while ensuring adequate data protection. This dynamic approach optimizes write efficiency without compromising data durability across different flash memory types.
Data Source
AI summary
A method for memory management in a storage system is provided. The method includes defining a required set of pages for writes to solid-state memory and defining multiple levels of indirection for writing data to the solid-state memory, comprising data stripes, each having a plurality of allocation units and each of the allocation units having a plurality of data units. The method includes assigning portions of an allocation unit to a plurality of data units such that one portion of the allocation unit fills an instance of the required set of pages that straddles a boundary between a first data unit and a second data unit, and writing the plurality of data units to the solid-state memory, with the plurality of data units satisfying the required set of pages for writes to solid-state memory.


