SSD Cache Flush Mechanism for Dirty Shutdown Protection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Solid state drives (SSDs) in information handling systems face data corruption due to dirty shutdown power losses, as cached data in volatile memory is lost during sudden power interruptions before it can be written to non-volatile memory.

Innovation Solution

An embedded controller initiates a cache flush command to the SSD controller, either through a dedicated connector or a system management interrupt, ensuring that data from the cache is written to non-volatile memory before a shutdown is completed, and resumes normal operations if the shutdown is aborted.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If data is cached in volatile memory for faster access, then data access speed is improved, but data integrity deteriorates during sudden power loss

Engineering Contradiction:
Improvedata access speedVSAvoiddata integrity
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system performs preliminary action by initiating a cache flush operation before the actual power loss occurs. When a shutdown event is detected, the controller sends a flush command to the SSD controller to write cached data to non-volatile memory before the power is completely lost, ensuring data integrity is maintained while still utilizing the speed benefit of caching during normal operation

Inventive Principle:
Principle #10Preliminary action

2Reliability

If cache flush operation is performed before shutdown, then data integrity is improved, but shutdown time increases

Engineering Contradiction:
Improvedata integrityVSAvoidshutdown time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system implements feedback by monitoring shutdown events and dynamically initiating cache flush operations only when necessary. The controller detects shutdown conditions and sends flush commands accordingly, ensuring data integrity is maintained while minimizing the impact on shutdown time by only performing the flush when a shutdown is actually detected

Inventive Principle:
Principle #23Feedback

3Reliability

If forced shutdown is implemented for system protection, then system reliability is improved, but data corruption risk increases

Engineering Contradiction:
Improvesystem protectionVSAvoiddata corruption risk
Core Design Contradiction:
ReliabilityVSObject-affected harmful factors

Solution Approach 1:

The system introduces an intermediary mechanism - the cache flush operation - that mediates between the forced shutdown requirement and data integrity protection. When a forced shutdown is detected, the flush command acts as an intermediary step that ensures cached data is written to non-volatile memory before the shutdown completes, thereby protecting against data corruption while still allowing the system to shut down

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS9891846B2System and method for preventing solid state drive corruption after dirty shutdown power loss
Publication Date: 2018.02.13 DELL PROD LP
  • US9891846B2 patent drawing
  • US9891846B2 patent drawing
  • US9891846B2 patent drawing

AI summary

An information handling system a first controller and a solid state drive. The first controller receives an indication that a forced shutdown of the information handling system has been initiated, and triggers a cache flush command in response to receiving the indication that the forced shutdown has been initiated. The solid state drive includes a memory to store data, a cache to buffer data prior to writing the data in the memory, and a second controller. The second controller receives the cache flush command, and flushes the cache by writing the data in the cache to the memory in response to the cache flush command being received.