Method and storage device for assessing execution of trim commands
Abstract
A method and storage device for assessing execution of trim commands are provided. In one embodiment, a trace of trim and write commands sent to a storage device are obtained. For each trim command in the trace, a subsequent write command to a same logical block address (LBA) as the trim command is identified, and an elapsed time between the trim and write commands is calculated. This information can be used to display a histogram and/or to optimize when the storage device executes trim commands and/or when the host device issues trim commands.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 5.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A storage device comprising: a host device interface through which the storage device can communicate with a host device; and a controller in communication with host device interface, wherein the controller is configured to: obtain a trace of trim and write commands sent to the storage device; and for each trim command in the trace: identify a subsequent write command to a same logical block address (LBA) as the trim command; and calculate an elapsed time between the trim and write commands.
- Claim 2Depends on #1
The storage device of claim 1 , wherein the controller is further configured to: generate a histogram based on the calculated elapse time.
- Claim 3Depends on #1
The storage device of claim 1 , wherein the controller is further configured to: adjust when the storage device executes trim commands based on the calculated e
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Sierra M6-4 SAS/SATA Protocol Analyzer-User Manual", Lecroy, retrieved from internet: http://cdn.teledynelecroy.com/files/manuals/sierram6-4usermanual.pdf, May 2011, pp. FP-466.
- Application as filed for U.S. Appl. No. 13/524,924 entitled, "Method and Host Device for Assessing Execution of Trim Commands", filed on Jun. 15, 2012, 20 pages.
- Giryoung et al., "Performance Analysis of SSD Write Using TRIM in NFTS and EXT4", Nov. 29, 2011-Dec. 1, 2011, Computer Sciences and Convergence Information Technology (ICCIT), 2011 6th International Conference, pp. 422-423.
- International Search Report and Written Opinion for PCT/US2013/036903 dated Sep. 17, 2013, 12 pages.
- Koltsidas et al., "Data Management Over Flash Memory", Jun. 12-16, 2011, SIGMOD '11, Athens, Greece, pp. 1209-1212.