Nonvolatile Memory Dual-Write Area Controller Improper Shutdown Recovery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Improper shutdowns in memory systems lead to extended startup processing times due to the need for data cleanup in nonvolatile memory, which prohibits writing and slows down the system.
Innovation Solution
A memory system with a nonvolatile memory having a first and second writing area, where the controller determines if data preservation processing is needed after an improper shutdown and moves data to the second writing area for cleanup, allowing the system to transition to a command wait state without waiting for cleanup completion, thereby enabling background processing and reducing startup time.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If data cleanup is performed in the nonvolatile memory after improper shutdown, then data integrity is preserved, but startup processing time is extended
Solution Approach 1:
The nonvolatile memory is divided into a first writing area for normal data storage and a second writing area specifically for improper shutdown recovery. This segmentation allows cleanup operations to be isolated to the second area, enabling parallel processing and reducing the impact on overall startup time while maintaining data integrity through targeted recovery operations.
Solution Approach 2:
The controller performs preliminary checks to determine whether cleanup is actually necessary before initiating the cleanup process. By checking if improper shutdown detection is required and whether the second writing area needs recovery, the system avoids unnecessary cleanup operations, thereby reducing startup processing time while still ensuring data integrity when needed.
2Reliability
If the system waits for cleanup completion before transitioning to command wait state, then data consistency is ensured, but system responsiveness is reduced
Solution Approach 1:
The controller extracts the cleanup operation from the main startup sequence and executes it as a background process. By separating the cleanup task from the critical startup path, the system can transition to the command wait state immediately, ensuring responsiveness, while the cleanup continues independently to maintain data consistency without blocking system operations.
Solution Approach 2:
The cleanup process continues in the background without interruption after the system transitions to the command wait state. This continuous background execution ensures that data consistency is maintained through completed cleanup operations while the system remains responsive and productive, allowing both data integrity and system responsiveness to coexist.
Data Source
AI summary
According to one embodiment, a memory system includes a nonvolatile memory having a first writing area and a second writing area, and a controller, in which the controller confirms whether processing of preserving data which has been written before shutdown which is not going through a predetermined shutdown procedure is being executed, in the nonvolatile memory, when the controller receives a write command, causes the nonvolatile memory to write data to the first writing area if the processing is not being executed, and causes the nonvolatile memory to write data to the second writing area if the processing is being executed.


