Phased Garbage Collection Buffer for Non-Volatile Memory Timeout
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In non-volatile memory storage systems, garbage collection operations often exceed the allocated timeout period due to increasing memory block sizes, leading to potential timeout errors and inefficiencies in write operations.
Innovation Solution
Implement phased garbage collection methods where the garbage collection operation is split into multiple phases, allowing each phase to be completed within separate timeout periods, utilizing either a phased garbage collection block or a scratch pad block as a buffer to store data during the process.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If garbage collection operation is performed on large memory blocks, then storage capacity is reclaimed, but execution time exceeds the fixed timeout period
Solution Approach 1:
The garbage collection operation is divided into multiple phases: a first phase that completes within the fixed timeout period, and a second phase that continues after the timeout period. This segmentation allows the system to meet the timeout requirement while still performing comprehensive garbage collection on large memory blocks.
Solution Approach 2:
The first phase of garbage collection is performed preliminarily within the timeout period to ensure the write operation can complete successfully. The second phase is then performed to complete the remaining garbage collection tasks, ensuring both timeout compliance and full storage reclamation.
2Quantity of substance
If memory block size is increased for higher capacity, then storage capacity increases, but write operation duration increases
Solution Approach 1:
The write operation is segmented into a first write operation that completes within the fixed timeout period, and a second write operation that handles remaining data. This allows the system to support large memory blocks while ensuring at least partial write completion within the timeout constraint.
Solution Approach 2:
The garbage collection and write operations are performed in continuous phases rather than being blocked. The first phase performs essential operations within the timeout, and the second phase continues the useful action without interruption, maintaining system productivity.
3Reliability
If garbage collection is performed within fixed timeout period, then timeout errors are prevented, but storage capacity reclamation is incomplete
Solution Approach 1:
Storage capacity reclamation is segmented into a first reclamation phase that completes within the timeout period, and a second reclamation phase that continues afterward. This ensures timeout compliance while ultimately achieving complete storage capacity reclamation through the combined phases.
Solution Approach 2:
The essential storage reclamation operations are performed preliminarily within the timeout period to ensure timeout compliance, with additional reclamation operations performed in the second phase to achieve complete capacity reclamation.
Data Source
AI summary
A method for phased garbage collection is provided. In this method, a write command is received to write data. The write command is allocated a timeout period to complete an execution of the write command. Thereafter, a busy signal is asserted and a portion of a garbage collection operation is performed for a garbage collection time period. The data are written to a block and the busy signal is released before the timeout period.


