# US 2024/0176543 A1 · Method of operating storage device using program suspension control and storage device performing the same

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

- Number: US 2024/0176543 A1
- Document ID: US20240176543A1
- Status: Published application
- Kind: A1
- Application number: 18/336,355
- Filed: 2023-06-16
- Published: 2024-05-30
- Earliest claimed: 2022-11-25
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Youngil KIM; Jeongjae CHO
- Web page: https://patentgrep.com/patent/US20240176543A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0611: {in relation to response time}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 2212/1008: Correctness of operation, e.g. memory ordering
- G06F 2212/1016: Performance improvement
- G06F 2212/1024: Latency reduction
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In a method of operating a storage device, first information associated with operation of the storage device is received from a host device. Second information internally generated based on write requests, read requests, and operation of the storage device is received. Program commands and read commands are transmitted to nonvolatile memories. Suspension commands are transmitted to at least one of nonvolatile memories. The suspension commands are generated based on the first and second information and are used to temporarily stop program operations performed based on the program commands. The number and timing of transmitting the suspension commands are controlled based on the first and second information. In response to changing at least one of the write requests and the read requests, the number and timing of transmitting the suspension commands are adaptively changed.

## Claims

### Claim 1

A method of operating a storage device, the method comprising:
receiving first information from a host device, the first information associated with an operation of the storage device;
receiving second information that is internally generated based on a plurality of write requests, a plurality of read requests, and the operation of the storage device, the plurality of write requests and the plurality of read requests being received from the host device;
transmitting, to a plurality of nonvolatile memories, a plurality of program commands and a plurality of read commands, the plurality of program commands and the plurality of read commands corresponding to the plurality of write requests and the plurality of read requests, respectively; and
transmitting suspension commands to at least one of the plurality of nonvolatile memories, the suspension commands being generated based on the first information and the second information and being used to temporarily suspend program operations performed based on the plurality of program commands,
wherein a number of transmitting the suspension commands and a timing of transmitting the suspension commands are controlled based on the first information and the second information, and
in response to changing at least one of the plurality of write requests and the plurality of read requests, the number of transmitting the suspension commands and the timing of transmitting the suspension commands are adaptively changed.

### Claim 2 (depends on 1)

The method of claim 1, wherein
a read throttling operation is selectively performed based on the number of transmitting the suspension commands, and the timing of transmitting the suspension commands, and
the read throttling operation represents an operation in which a first read operation performed on a first nonvolatile memory among the plurality of nonvolatile memories is restricted while a first program operation is performed on the first nonvolatile memory.

### Claim 3 (depends on 2)

The method of claim 2, wherein
when the first read operation is to be performed based on a first read command corresponding to a first read request while the first program operation is being performed based on a first program command corresponding to a first write request, a timing of transmitting a first suspension command and the first read command is adjusted based on the first information and the second information, rather than immediately transmitting the first suspension command and the first read command to the first nonvolatile memory, and
wherein the first suspension command is a command used to temporarily stop the first program operation.

### Claim 4 (depends on 2)

The method of claim 2, wherein the first information includes a throughput condition for the storage device to execute the plurality of write requests and the plurality of read requests.

### Claim 5 (depends on 4)

The method of claim 4, wherein transmitting the suspension commands to the at least one of the plurality of nonvolatile memories includes:
satisfying the throughput condition by adjusting the number of transmitting the suspension commands and the timing of transmitting the suspension commands.

### Claim 6 (depends on 5)

The method of claim 5, wherein adjusting the number of transmitting the suspension commands and the timing of transmitting the suspension commands includes:
calculating a first number of suspension commands based on the first information and the second information, the first number of suspension commands representing a maximum number of suspension commands capable of being generating per unit time in a first nonvolatile memory;
calculating a second number of suspension commands based on the first number of suspension commands, the second number of suspension commands representing a number of possible suspension commands capable of currently being generating in the first nonvolatile memory; and
selectively transmitting a first suspension command to the first nonvolatile memory based on the second number of suspension commands.

### Claim 7 (depends on 6)

The method of claim 6, wherein calculating the first number of suspension commands includes:
calculating a third number of suspension commands associated with a maximum number of suspension commands capable of generating while the plurality of write requests are executed;
calculating a fourth number of suspension commands associated with a maximum number of suspension commands capable of generating while the plurality of read requests are executed; and
obtaining the first number of suspension commands based on the third number of suspension commands and the fourth number of suspension commands.

### Claim 8 (depends on 6)

The method of claim 6, wherein selectively transmitting the first suspension command to the first nonvolatile memory includes:
when the first program operation is capable of temporarily stopping while the first program operation is being performed on the first nonvolatile memory, transmitting the first suspension command and a first read command to the first nonvolatile memory, the first suspension command being used to temporarily stop the first program operation, the first read command corresponding to the first read request; and
when the first program operation is incapable of temporarily stopping while the first program operation is being performed on the first nonvolatile memory, pending the first read command and non-transmitting the first suspension command to the first nonvolatile memory.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first information includes a latency condition for the storage device to execute the plurality of write requests and the plurality of read requests.

### Claim 10 (depends on 9)

The method of claim 9, wherein transmitting the suspension commands to the at least one of the plurality of nonvolatile memories includes:
adjusting the number of transmitting the suspension commands and the timing of transmitting the suspension commands to satisfy the latency condition.

### Claim 11 (depends on 10)

The method of claim 10, wherein adjusting the number of transmitting the suspension commands and the timing of transmitting the suspension commands includes:
detecting a first read command based on the first information and the second information, the first read command representing a command that does not satisfy the latency condition in a first nonvolatile memory; and
selectively transmitting a first suspension command to the first nonvolatile memory based on the first read command.

### Claim 12 (depends on 11)

The method of claim 11, wherein selectively transmitting the first suspension command to the first nonvolatile memory includes:
transmitting the first suspension command to the first nonvolatile memory such that a first time interval and a second time interval are equal to each other,
wherein the first time interval representing a time interval between a first time point at which the first suspension command is transmitted to the first nonvolatile memory and a second time point at which a second suspension command prior to the first suspension command was already transmitted to the first nonvolatile memory, and
wherein the second time interval representing a time interval between the first time point and a third time point at which a third suspension command subsequent to the first suspension command is to be transmitted to the first nonvolatile memory.

### Claim 13 (depends on 11)

The method of claim 11, wherein selectively transmitting the first suspension command to the first nonvolatile memory includes:
transmitting the first suspension command to the first nonvolatile memory such that the first read command is transmitted to the first nonvolatile memory within a first time interval from a first time point at which a first read request corresponding to the first read command is executed.

### Claim 14 (depends on 11)

The method of claim 11, wherein the first information includes:
a throughput condition for the storage device to execute the plurality of write requests and the plurality of read requests;
a latency condition for the storage device to execute the plurality of write requests and the plurality of read requests; and
a priority information associated with the throughput condition and the latency condition.

### Claim 15 (depends on 14)

The method of claim 14, wherein transmitting the suspension commands to the at least one of the plurality of nonvolatile memories includes:
adjusting the number of transmitting the suspension commands and the timing of transmitting the suspension commands to satisfy at least one of the throughput condition and the latency condition.

### Claim 16 (depends on 15)

The method of claim 15, wherein adjusting the number of transmitting the suspension commands and the timing of transmitting the suspension commands includes:
selecting a condition having a higher priority from among the throughput condition and the latency condition based on the first information and the second information; and
selectively transmitting a first suspension command to the first nonvolatile memory based on the selected condition from among the throughput condition and the latency condition.

### Claim 17 (depends on 1)

The method of claim 1, wherein the second information includes:
write bandwidth information and read bandwidth information obtained by monitoring the plurality of write requests and the plurality of read requests; and
scheduling overhead information obtained by monitoring the operation of the storage device.

### Claim 18

A storage device comprising:
a storage controller; and
a plurality of nonvolatile memories controlled by the storage controller,
wherein the storage controller is configured to:
receive first information from a host device, the first information associated with an operation of the storage device;
receive second information internally generated based on a plurality of write requests, a plurality of read requests and the operation of the storage device, the plurality of write requests and the plurality of read requests being received from the host device;
transmit a plurality of program commands and a plurality of read commands to the plurality of nonvolatile memories, the plurality of program commands and the plurality of read commands corresponding to the plurality of write requests and the plurality of read requests, respectively; and
transmit suspension commands to at least one of the plurality of nonvolatile memories, the suspension commands being generated based on the first information and the second information and being used to temporarily stop program operations performed based on the plurality of program commands,
wherein a number of transmitting the suspension commands and a timing of transmitting the suspension commands are controlled based on the first information and the second information, and
wherein, in response to changing at least one of the plurality of write requests and the plurality of read requests, the number of transmitting the suspension commands and the timing of transmitting the suspension commands are adaptively changed.

### Claim 19 (depends on 18)

The storage device of claim 18, wherein the plurality of nonvolatile memories includes:
first nonvolatile memories connected to the storage controller through a first channel; and
second nonvolatile memories connected to the storage controller through a second channel different from the first channel,
wherein the storage controller is configured to control a first number of suspension commands transmitted to at least one of the first nonvolatile memories and a first timing of suspension commands transmitted to at least one of the first nonvolatile memories, and
wherein the storage controller is configured to control a second number of suspension commands transmitted to at least one of the second nonvolatile memories and a second timing of suspension commands transmitted to at least one of the second nonvolatile memories, independently from the first number of suspension commands and the first timing of suspension commands.

### Claim 20

A method of operating a storage device including a storage controller and a plurality of nonvolatile memories, the storage device configured to communicate with a host device located outside the storage device, the method comprising:
receiving, by the storage controller, first information from the host device, the first information including a throughput condition and a latency condition, the throughput condition being for the storage device to execute a plurality of write requests and a plurality of read requests received from the host device, the latency condition being for the storage device to execute the plurality of write requests and the plurality of read requests;
internally generating, by the storage controller, second information including write bandwidth information, read bandwidth information and scheduling overhead information, the write bandwidth information and the read bandwidth information being obtained by monitoring the plurality of write requests and the plurality of read requests, the scheduling overhead information being obtained by monitoring an operation of the storage device;
transmitting, by the storage controller, a plurality of program commands and a plurality of read commands to the plurality of nonvolatile memories such that a plurality of program operations and a plurality of read operations are performed on the plurality of nonvolatile memories, the plurality of program commands and the plurality of read commands corresponding to the plurality of write requests and the plurality of read requests, respectively; and
transmitting, by the storage controller, first suspension commands to a first nonvolatile memory among the plurality of nonvolatile memories such that the read throttling operation is selectively performed on the first nonvolatile memory, the read throttling operation representing an operation in which first read operations performed on the first nonvolatile memory are restricted while first program operations are being performed on the first nonvolatile memory, the first suspension commands being generated based on the first information and the second information and being used to temporarily stop the first program operations,
wherein a number of transmitting the first suspension commands and a timing of transmitting the first suspension commands are controlled based on the first information and the second information,
wherein, in response to changing at least one of the plurality of write requests and the plurality of read requests, the number of transmitting the first suspension commands and the timing of transmitting the first suspension commands are adaptively changed,
wherein the number of transmitting the first suspension commands and the timing of transmitting the first suspension commands are adjusted to satisfy the throughput condition and the latency condition, and
wherein transmitting the first suspension commands to the first nonvolatile memory includes:
calculating a first number of suspension commands based on the first information and the second information, the first number of suspension commands associated with a maximum number of suspension commands capable of generating per unit time in the first nonvolatile memory;
calculating a second number of suspension commands based on the first number of suspension commands, the second number of suspension commands representing a number of possible suspension commands capable of currently generating in the first nonvolatile memory;
detecting a first read command based on the first information and the second information, the first read command representing a command that does not satisfy the latency condition in the first nonvolatile memory; and
selectively transmitting the first suspension commands to the first nonvolatile memory based on the second number of suspension commands and the first read command.
