Context-aware dynamic command scheduling for a data storage system

US11061842B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11061842-B2
Application numberUS-202016827591-A
CountryUS
Kind codeB2
Filing dateMar 23, 2020
Priority dateMay 19, 2017
Publication dateJul 13, 2021
Grant dateJul 13, 2021

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.

The subject technology provides for managing a data storage system. Commands are identified into as a first command type or a second command type. The commands identified as the first command type are assigned to a first queue, and the commands identified as the second command type are assigned to a second queue. After the commands from the first queue and the commands from the second queue are processed based on a scheduling ratio over a predetermined period of time, a write amplification factor, number of host read commands, and number of host write commands during the predetermined period of time are determined. The scheduling ratio is updated based on the write amplification, the number of host read commands, the number of host write commands, and a predetermined scheduling ratio factor. Subsequent commands are processed from the first queue and the second queue based on the updated scheduling ratio.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for managing a storage device, the method comprising: allocating a high priority command to a high priority queue; allocating a low priority command to a low priority queue; wherein the low priority queue is configured to contain two or more different command types; executing commands from the high priority queue and the low priority queue based on a scheduling ratio, wherein the scheduling ratio indicates a ratio between a number of one or more commands from the high priority queue to be processed and a number of one or more commands from the low priority queue to be processed; determining a write amplification factor of the storage device; determining a number of read commands and a number of write commands received during a respective period of time; and executing additional commands from the high priority queue and the low priority queue based on an updated scheduling ratio, wherein the updated scheduling ratio increases as the number of read commands increases, wherein the updated scheduling ratio decreases as the number of write commands or the write amplification factor increases, and wherein the updated scheduling ratio is generated based on the following equation: A B · C · D = E wherein: A is the number of read commands received during the respective period of time, B is the number of write commands received during the respective period of time, C is the write amplification factor, D is a scheduling ratio factor determined based on the scheduling ratio, A, B, and C, and E is the updated scheduling ratio. 2. The method of claim 1 , wherein the updated scheduling ratio decreases as the number of write commands increases, and wherein the updated scheduling ratio decreases as the write amplification factor increases. 3. The method of claim 2 , wherein the scheduling ratio factor depends on the scheduling ratio, the number of read commands, the number of write commands, and the write amplification factor, and wherein the updated scheduling ratio increases as the scheduling ratio factor increases. 4. The method of claim 1 , wherein the two or more different command types include a write command and a command that is not the write command. 5. The method of claim 1 , further comprising: maintaining, in memory, a log of the number of read commands and the number of write commands received from a host device during the respective period of time. 6. The method of claim 1 , wherein the write amplification factor of the storage device is determined based on a number of program/erase cycle performed on the storage device. 7. The method of claim 1 , wherein the write amplification factor of the storage device is determined based on an amount of over provisioning of the storage device. 8. A storage device, comprising: non-volatile memory; and one or more controllers configured to cause: allocating a high priority command to a high priority queue; allocating a low priority command to a low priority queue; wherein the low priority queue is configured to contain two or more different command types; executing commands from the high priority queue and the low priority queue based on a scheduling ratio, wherein the scheduling ratio indicates a ratio between a number of one or more commands from the high priority queue to be processed and a number of one or more commands from the low priority queue to be processed; determining a write amplification factor of the storage device; determining a number of read commands and a number of write commands received during a respective period of time; and executing additional commands from the high priority queue and the low priority queue based on an updated scheduling ratio, wherein the updated scheduling ratio increases as the number of read commands increases, wherein the updated scheduling ratio decreases as the number of write commands or the write amplification factor increases, and wherein the updated scheduling ratio is generated based on the following equation: A B · C · D = E wherein: A is the number of read commands received during the respective period of time, B is the number of write commands received during the respective period of time, C is the write amplification factor, D is a scheduling ratio factor determined based on the scheduling ratio, A, B, and C, and E is the updated scheduling ratio. 9. The storage device of claim 8 , wherein the updated scheduling ratio decreases as the number of write commands increases, and wherein the updated scheduling ratio decreases as the write amplification factor increases. 10. The storage device of claim 9 , wherein the scheduling ratio factor depends on the scheduling ratio, the number of read commands, the number of write commands, and the write amplification factor, and wherein the updated scheduling ratio increases as the scheduling ratio factor increases. 11. The storage device of claim 8 , wherein the two or more different command types include a write command and a command that is not the write command. 12. The storage device of claim 8 , further comprising: maintaining, in memory, a log of the number of read commands and the number of write commands received from a host device during the respective period of time. 13. The storage device of claim 8 , wherein the write amplification factor of the storage device is determined based on a number of program/erase cycle performed on the storage device. 14. The storage device of claim 8 , wherein the write amplification factor of the storage device is determined based on an amount of over provisioning of the storage device. 15. An apparatus, comprising: means for allocating a high priority command to a high priority queue; means for allocating a low priority command to a low priority queue; wherein the low priority queue is configured to contain two or more different command types; means for executing commands from the high priority queue and the low priority queue based on a scheduling ratio, wherein the scheduling ratio indicates a ratio between a number of one or more commands from the high priority queue to be processed and a number of one or more commands from the low priority queue to be processed; means for determining a write amplification factor of the apparatus; means for determining a number of read commands and a number of write commands received during a respective period of time; means for executing additional commands from the high priority queue and the low priority queue based on an updated scheduling ratio; and means for generating the updated scheduling ratio based on the following equation: A

Assignees

Inventors

Classifications

  • G06F9/4881Primary

    Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues · CPC title

  • Transmission of channel access control information · CPC title

  • Precedence · CPC title

  • G06F13/374Primary

    using a self-select method with individual priority code comparator · CPC title

  • with priority control · 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 US11061842B2 cover?
The subject technology provides for managing a data storage system. Commands are identified into as a first command type or a second command type. The commands identified as the first command type are assigned to a first queue, and the commands identified as the second command type are assigned to a second queue. After the commands from the first queue and the commands from the second queue are…
Who is the assignee on this patent?
Western Digital Tech Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/4881. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 13 2021 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 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).