# US 2021/0081135 A1 · Ssd supporting low latency operation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081135 A1
- Document ID: US20210081135A1
- Status: Published application
- Kind: A1
- Application number: 16/570,724
- Filed: 2019-09-13
- Published: 2021-03-18
- Earliest claimed: 2019-09-13
- Assignees: Toshiba Memory Corporation
- Applicants: Toshiba Memory Corporation
- Inventors: Sebastian Troy; Brian Clarke
- Web page: https://patentgrep.com/patent/US20210081135A1

## CPC

- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of managing writing data to a Solid State Drive (SSD). The method includes determining a remaining capacity of an event queue for queuing write commands for execution by the SSD. Dynamically setting an ingress throttle rate of write commands, transferred from a host interface to the event queue based on the remaining capacity of the event queue, during the operation of then SSD and transferring the write commands to the event queue at ingress throttle rate. The method also includes inputting write data associated with the write commands into a write data buffer.

## Claims

### Claim 1

A method of managing writing data to a Solid State Drive (SSD), the method comprising:
determining a remaining capacity of an event queue for queuing write commands for execution by the SSD;
dynamically setting, during operation of the SSD, an ingress throttle rate of write commands transferred from a host interface to the event queue based on the remaining capacity of the event queue;
transferring, at the ingress throttle rate, at least one write command of a plurality of write commands from the host interface to the event queue; and
inputting write data associated with the at least one write command into a write data buffer.

### Claim 2 (depends on 1)

The method of claim 1, the method further comprising:
determining a remaining capacity of the write data buffer for storing data associated with write commands stored in the event queue; and
dynamically setting the ingress throttle rate based on the remaining capacity of the write data buffer.

### Claim 3 (depends on 1)

The method of claim 1, the method further comprising dynamically resetting the ingress throttle after a predetermined time period.

### Claim 4 (depends on 1)

The method of claim 1, the method further comprising dynamically resetting the ingress throttle after a predetermined number of the write commands in the event queue have been executed.

### Claim 5 (depends on 1)

The method of claim 1, wherein dynamically setting the ingress throttle is further based on a write amplification factor of the SSD.

### Claim 6 (depends on 1)

The method of claim 1, wherein dynamically setting the ingress throttle is further based on one or more predefined parameters.

### Claim 7 (depends on 5)

The method of claim 5, wherein the predefined parameters are one or more of a desired number of write commands in the event queue, a desired amount of free slots in the event queue, a desired amount of write data in the write data buffer, a desired write data buffer remaining capacity, one or more PID controller parameters, or initial default throughput levels.

### Claim 8 (depends on 1)

The method of claim 1, wherein the remaining capacity of the event queue corresponds to a number of remaining free slots in the event queue, each slot associated with one write command.

### Claim 9 (depends on 1)

The method of claim 1, the method further comprising:
submitting a new write command at a tail of a submission queue; and wherein the transferring of the at least one command of the plurality of write commands from the host interface to the event queue is transferring one of the plurality of write commands at a head of the submission queue.

### Claim 10 (depends on 1)

The method of claim 1, the method further comprising:
executing one or more of the at least one write commands in the event queue by writing the write data associated with the at the one or more write commands to a non-volatile memory of the SSD.

### Claim 11

A solid state drive (SSD) comprising:
a host interface and a memory controller, the memory controller configured to:
receive a plurality of write commands from a host via the host interface;
determine a remaining capacity of an event queue for storing the plurality of write commands received from the host interface;
dynamically set, during operation of the SSD, an ingress throttle rate of write commands transferred from the host interface to the event queue based on the remaining capacity of the event queue;
transfer, at the ingress throttle rate, at least one write command of a plurality of write commands from the host interface to the event queue; and
input, write data associated with the at least one write command into a write data buffer.

### Claim 12 (depends on 11)

The SSD of claim 11, wherein the memory controller is further configured to:
determining a remaining capacity of the write data buffer for storing data associated with write commands stored in the event queue; and
dynamically set the ingress throttle rate based on the remaining capacity of the write data buffer.

### Claim 13 (depends on 11)

The SSD of claim 11, wherein the memory controller is further configured to:
dynamically reset the ingress throttle after a predetermined time period.

### Claim 14 (depends on 11)

The SSD of claim 11, wherein the memory controller is further configured to:
dynamically reset the ingress throttle after a predetermined number of the write commands in the event queue have been executed.

### Claim 15 (depends on 11)

The SSD of claim 11, wherein the memory controller is further configured to:
further dynamically set the ingress throttle based on the write amplification factor of the SSD.

### Claim 16 (depends on 11)

The SSD of claim 11, wherein the memory controller is further configured to:
further dynamically set the ingress throttle further based on one or more predefined parameters.

### Claim 17 (depends on 16)

The SSD of claim 16, wherein the predefined parameters are one or more of a desired number of write commands in the event queue, a desired number of free, a desired amount of free slots in event queue, a desired amount of write data in the write data buffer, a desired write data buffer remaining capacity, one or more PID controller parameters, or fresh-out-of-the-box throughput levels.

### Claim 18 (depends on 11)

The SSD of claim 11, wherein the remaining capacity of the event queue corresponds to a number of remaining free slots in event queue, each slot associated with one write command.

### Claim 19 (depends on 11)

The SSD of claim 11, wherein the host is configured to place a new write command at a tail of a submission queue, and the memory controller is further configured to transfer the at least one command of the plurality of write commands from a head of the submission queue to the event queue.

### Claim 20 (depends on 11)

The SSD of claim 11, wherein the memory controller is further configured to:
execute one or more of the plurality of write commands in the event queue by writing the write data associated with the at the one or more write commands to a non-volatile memory of the SSD.

### Claim 21 (depends on 11)

The SSD of claim 11, wherein the memory controller comprises a PID controller configured to set the ingress throttle.

### Claim 22 (depends on 11)

The SSD of claim 11, further comprising a power loss protection buffer and wherein the write data buffer and the event queue are stored in the power loss protection buffer.
