Flash Controller Trimming Tag Cache for Mapping Table Updates
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current data storage devices face inefficiencies in managing large flash memory systems due to the time-consuming process of downloading, modifying, and sealing sub-tables during space trimming operations, which affects performance and resource usage.
Innovation Solution
A data storage device architecture that includes a controller which programs a trimming tag into a cache area and flushes it into non-volatile memory, allowing for partial updates of the host-to-device mapping table in the background after a trimming command, reducing the need for immediate and extensive table updates.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the controller downloads, modifies, and seals sub-tables during space trimming operations, then the host-to-device mapping table is updated accurately, but the time consumption increases and performance deteriorates
Solution Approach 1:
The patent divides the host-to-device mapping table into multiple sub-tables, each managing a specific range of logical addresses. During space trimming operations, only the affected sub-table is modified rather than the entire mapping table, significantly reducing the time required for updates while maintaining accuracy through targeted modifications of relevant segments
Solution Approach 2:
The patent introduces a trimming bitmap that is updated before the actual space trimming operation. This bitmap records the trimming ranges in advance, allowing the controller to identify and modify only the necessary sub-tables during the trimming operation, thereby reducing time consumption while ensuring accurate mapping table updates
2Reliability
If the controller updates the host-to-device mapping table immediately during trimming, then data integrity is maintained, but resource usage and processing load increase
Solution Approach 1:
By segmenting the mapping table into sub-tables, the patent enables selective updates of only the affected segments during trimming operations. This segmented approach maintains data integrity for trimmed regions while avoiding the need to process the entire mapping table, thereby improving overall processing efficiency
Solution Approach 2:
The patent allows the controller to continue processing other commands while background updates of the trimming bitmap and affected sub-tables are performed. This continuous operation mode maintains data integrity through eventual consistency while improving productivity by avoiding idle waiting time for complete table updates
Data Source
AI summary
Efficient space trimming of data storage device is shown, which uses a controller to program a trimming tag that corresponds to a trimming command issued by a host into a cache area of a temporary storage device. The trimming tag, therefore, can be flushed from the cache area to the non-volatile memory for non-volatile storage. The update of the host-to-device mapping table based on the trimming tag can be postponed to the moment that the controller is free.


