Host-Assisted Background Media Scan Scheduling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Storage devices often fail to execute internal maintenance processes, such as background media scans, due to busy system conditions, leading to inadequate maintenance and performance degradation, as they either never get the opportunity to run or compete with user input/output operations.
Innovation Solution
A host device is enabled to send commands to the storage device to initiate and control internal maintenance processes like background media scans, scheduling them based on idle time and user input/output activity, allowing for efficient time slicing to prevent competition and ensure sufficient runtime.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the storage device automatically executes internal maintenance processes when idle, then maintenance can be performed without host intervention, but the maintenance may still not execute adequately during busy periods and can compete with user input/output operations
Solution Approach 1:
The host device acts as an intermediary that coordinates between the storage device's maintenance needs and user input/output operations. The host sends scheduled commands to the storage device to execute maintenance processes at optimal times, preventing direct competition between maintenance and user operations while ensuring maintenance reliability.
2Productivity
If the storage device waits for extended idle periods before executing maintenance, then user input/output performance is maintained, but maintenance may be delayed excessively or never execute on busy systems
Solution Approach 1:
The host device performs preliminary scheduling of maintenance commands during idle periods or in advance of expected maintenance needs. By pre-scheduling these commands, the system ensures maintenance will execute at appropriate times without requiring extended idle periods, thus preventing both performance degradation and excessive maintenance delays.
3Reliability
If internal maintenance processes run continuously, then drive health is maintained optimally, but performance degradation occurs due to resource competition with user operations
Solution Approach 1:
The system implements periodic execution of internal maintenance processes based on scheduled commands from the host device. Instead of continuous operation, maintenance runs at periodic intervals during designated idle windows, ensuring drive health is maintained while minimizing resource competition and performance degradation during user operations.
Data Source
AI summary
Many storage devices (or drives) include a mechanism, such as a processor, to execute internal maintenance process(es) that maintain data integrity and long-term drive health. One example of such an internal maintenance process is a background media scan (BMS). However, on busy systems, the BMS may not have an opportunity to execute, which can damage long term drive performance. In one embodiment, a method includes sending a command from a host device to a storage device. The storage device can responsively run an internal maintenance process of the storage device. In one embodiment, the internal maintenance process can be an internal maintenance process such as a background media scan.


