Storage system and method for optimizing write-amplification factor, endurance, and latency during a defragmentation operation

US11809747B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11809747-B2
Application numberUS-202117558089-A
CountryUS
Kind codeB2
Filing dateDec 21, 2021
Priority dateDec 21, 2021
Publication dateNov 7, 2023
Grant dateNov 7, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A storage system analyzes a logical block address range of data in a resolution of a defragmentation unit. The storage system determines whether a given defragmentation unit is fragmented above a threshold and performs a defragmentation operation accordingly. Additionally or alternatively, the storage system can receive a suggested logical block address read order from a host to improve performance.

First claim

Opening claim text (preview).

What is claimed is: 1. A storage system comprising: a memory; and a controller coupled to the memory and configured to: dynamically determine a size of a defragmentation unit based on an endurance of the memory; dynamically determine a memory sense threshold based on the endurance of the memory; analyze a logical block address range of data stored in the memory, wherein the logical block address range is analyzed in a resolution of the defragmentation unit; and for each defragmentation unit: determine a fragmentation level of the defragmentation unit by measuring a number of memory senses needed to read the defragmentation unit using the dynamically determined memory sense threshold; determine if the fragmentation level is above a fragmentation threshold; and in response to determining that the fragmentation level is above the defragmentation threshold, perform a defragmentation operation on the defragmentation unit. 2. The storage system of claim 1 , wherein a size of the defragmentation unit decreases with an age of the storage system. 3. The storage system of claim 1 , wherein the defragmentation unit with no fragmentation is readable by a single memory sense. 4. The storage system of claim 1 , wherein the controller is further configured to dynamically define the threshold based on endurance and performance tradeoffs. 5. The storage system of claim 1 , wherein the controller is further configured to perform the defragmentation operation independent of receiving a read command from a host. 6. The storage system of claim 1 , wherein the controller is further configured to perform the defragmentation operation without receiving an instruction from a host to perform the defragmentation operation. 7. The storage system of claim 1 , wherein the data comprises a file. 8. The storage system of claim 1 , wherein the controller is further configured to identify the logical block address range. 9. The storage system of claim 1 , wherein the logical block address range is identified by a host. 10. The storage system of claim 1 , wherein the memory comprises a three-dimensional memory. 11. A method performed in a storage system comprising a memory, the method comprising: dynamically determining a size of a defragmentation unit based on an endurance of the memory; dynamically determining a memory sense threshold based on the endurance of the memory; analyzing a logical block address range of data stored in the memory, wherein the logical block address range is analyzed in a resolution of the defragmentation unit; and for each defragmentation unit: determining a fragmentation level of the defragmentation unit by measuring a number of memory senses needed to read the defragmentation unit using the dynamically determined memory sense threshold; determining if the fragmentation level is above a fragmentation threshold; and in response to determining that the fragmentation level is above the defragmentation threshold, performing a defragmentation operation on the defragmentation unit. 12. The method of claim 11 , wherein the defragmentation unit with no fragmentation is readable by a single memory sense. 13. The method of claim 11 , wherein the data comprises a file. 14. A storage system comprising: a memory; means for dynamically determining a size of a defragmentation unit based on an endurance of the memory; means for dynamically determining a memory sense threshold based on the endurance of the memory; means for analyzing a logical block address range of data stored in the memory, wherein the logical block address range is analyzed in a resolution of the defragmentation unit; and means for, for each defragmentation unit: determining a fragmentation level of the defragmentation unit by measuring a number of memory senses needed to read the defragmentation unit using the dynamically determined memory sense threshold; determining if the fragmentation level is above a fragmentation threshold; and in response to determining that the fragmentation level is above the defragmentation threshold, performing a defragmentation operation on the defragmentation unit.

Assignees

Inventors

Classifications

  • G06F3/0659Primary

    Command handling arrangements, e.g. command buffers, queues, command scheduling · CPC title

  • Management of blocks · CPC title

  • in relation to data integrity, e.g. data losses, bit errors · CPC title

  • Single storage device · CPC title

  • Garbage collection, i.e. reclamation of unreferenced memory · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11809747B2 cover?
A storage system analyzes a logical block address range of data in a resolution of a defragmentation unit. The storage system determines whether a given defragmentation unit is fragmented above a threshold and performs a defragmentation operation accordingly. Additionally or alternatively, the storage system can receive a suggested logical block address read order from a host to improve perform…
Who is the assignee on this patent?
Western Digital Tech Inc
What technology area does this patent fall under?
Primary CPC classification G06F3/0659. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Nov 07 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).