SSD Write Arbitration for Stable Random Write IOPS
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Solid-state drives experience significant delays in read/write operations due to time-consuming erase operations, leading to inconsistent Input/Output Operations Per Second (IOPS) performance, especially in enterprise-level applications where performance consistency is crucial.
Innovation Solution
A method and apparatus for adjusting random write performance by performing balancing and convergence processing on storage units, calculating data frame quantities, and adjusting IOPS through write arbitration to stabilize fluctuations and improve consistency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If erase operations are performed in solid-state drives, then data can be rewritten in NAND blocks, but read/write operations experience significant delays due to the time-consuming nature of erase operations
Solution Approach 1:
The patent implements a background thread that proactively monitors storage block states and initiates erase operations before they are strictly needed. This preliminary action allows the system to prepare storage blocks in advance, so when random write requests arrive, the required blocks are already erased and ready for immediate writing, eliminating the delay that would otherwise occur.
Solution Approach 2:
The patent introduces a write arbitration control module as an intermediary between the host and the storage blocks. This module monitors the states of storage blocks and intelligently routes write requests to blocks that are already erased and ready, while deferring requests to blocks that require erasure. This mediation mechanism balances the need for data rewrite capability with the need to minimize command response delays.
2Productivity
If random write operations are performed in solid-state drives, then high IOPS performance can be achieved, but performance consistency deteriorates due to fluctuations caused by ongoing erase operations
Solution Approach 1:
The patent implements a feedback mechanism where the write arbitration control module continuously monitors the states of storage blocks and adjusts its routing decisions based on real-time conditions. By maintaining a data structure that tracks block states and using this information to dynamically route write requests, the system can adapt to changing conditions and maintain consistent IOPS performance even as erase operations proceed in the background.
Solution Approach 2:
The background thread autonomously monitors storage block states and performs erase operations without requiring explicit host intervention. This self-service approach allows the system to automatically manage the trade-off between maintaining erased blocks ready for writes and performing necessary erasures, thereby stabilizing IOPS performance without requiring the host to be aware of or manage the underlying block states.
3Quantity of substance
If multiple storage blocks are used in solid-state drives, then storage capacity and performance can be increased, but the complexity of managing different block states increases
Solution Approach 1:
The patent extracts the complexity of block state management from the main write path by implementing a separate background thread dedicated to monitoring and managing storage block states. This separation allows the main write operations to proceed with simple, fast pathing while the background thread handles the complex task of tracking which blocks are erased, partially erased, or need erasure, thereby managing multiple block states without significantly increasing the complexity of the critical write path.
Data Source
AI summary
A method for adjusting random write performance, an electronic device, and a storage medium are provided. The method includes: obtaining a remaining space of a target module of a hard drive, and performing balancing processing on a storage unit of the remaining space; calculating a quantity of data frames of each storage block in the storage unit based on a balancing processing result to obtain a first data set; performing convergence processing on the first data set to obtain a second data set; and calculating Input/Output Operations Per Second (IOPS) of the hard drive based on the second data set, and performing write arbitration adjustment on the IOPS of the hard drive.

