# US 2025/0085898 A1 · Latency-based scheduling of command processing in data storage devices

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

- Number: US 2025/0085898 A1
- Document ID: US20250085898A1
- Status: Published application
- Kind: A1
- Application number: 18/962,708
- Filed: 2024-11-27
- Published: 2025-03-13
- Earliest claimed: 2018-02-28
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Alex Frolikov
- Web page: https://patentgrep.com/patent/US20250085898A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 13/1642: {with request queuing}
- G06F 13/18: based on priority control (G06F13/1605 takes precedence)
- 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 computer system having a host coupled to a storage device via a peripheral component interconnect express bus. The host communicates write commands of low priority to the storage device, which places them in a queue for execution at an idle time. In response to a determination that the storage device is in an idle state, the storage device best accommodates the write commands in the idle queue in connection with housekeeping tasks, such as garbage collection and wear leveling, to best reduce write amplification.

## Claims

### Claim 1

An apparatus, comprising:
a storage medium; and
a logic circuit configured to:
place a plurality of commands into a queue scheduled for execution while at least a portion of the apparatus is in an idle state;
determine that content stored at a logical address is scheduled to be modified by at least a first command of the plurality of commands and a second command of the plurality of commands; and
combine the first command and the second command.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the plurality of commands are received from a host system via an interface operable for a connection to the host system.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the interface is configured to communicate with the host system via a peripheral component interconnect express bus.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the peripheral component interconnect express bus is configured in accordance with a non-volatile memory host controller interface specification.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the plurality of commands are placed into the queue based on a determination that each of the plurality of commands have no latency requirement.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein the plurality of commands are placed into the queue based on a determination that each of the plurality of commands has a priority level that is lower than a predetermined threshold.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the priority level is specified by a host system from which each of the plurality of commands is received.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the apparatus is configured to reach the idle state upon completion of execution of commands that are not placed in the queue.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the commands that are not placed in the queue are received from a host system via an interface operable for a connection to the host system.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the storage medium includes flash memory.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the first command and the second command are combined such that only the second command is executed by the apparatus.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein the first command being combined with the second command reduces a number of writes performed at the logical address as compared to carrying out both of the first command and the second command.

### Claim 13

A non-transitory computer-readable storage medium storing instructions thereon which, upon execution by a device, cause the device to:
place a plurality of commands into a queue scheduled for execution while at least a portion of the apparatus is in an idle state;
determine that content stored at a logical address is scheduled to be modified by at least a first command of the plurality of commands and a second command of the plurality of commands; and
combine the first command and the second command.

### Claim 14 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the first command and the second command are combined such that only the second command is executed by the apparatus.

### Claim 15 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the first command being combined with the second command reduces a number of writes performed at the logical address as compared to carrying out both of the first command and the second command.

### Claim 16 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the plurality of commands are placed into the queue based on a determination that each of the plurality of commands have no latency requirement.

### Claim 17 (depends on 13)

The non-transitory computer-readable storage medium of claim 13, wherein the plurality of commands are placed into the queue based on a determination that each of the plurality of commands has a priority level that is lower than a predetermined threshold.

### Claim 18

An apparatus, comprising:
a storage medium; and
a logic circuit configured to:
place a plurality of write commands into a queue scheduled for execution while at least a portion of the apparatus is in an idle state; and
adjust a mapping of logical to physical addresses of the storage medium to a total number of writes for executing the plurality of write commands.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the plurality of write commands are received from a host system via an interface operable for a connection to the host system.

### Claim 20 (depends on 18)

The apparatus of claim 18, wherein the plurality of commands are placed into the queue based on:
a determination that each of the plurality of commands have no latency requirement; or
a determination that each of the plurality of commands has a priority level that is lower than a predetermined threshold.
