# US 2023/0067236 A1 · Parallel Commands Overlap Detection Based On Queue-Depth

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

- Number: US 2023/0067236 A1
- Document ID: US20230067236A1
- Status: Published application
- Kind: A1
- Application number: 17/460,531
- Filed: 2021-08-30
- Published: 2023-03-02
- Earliest claimed: 2021-08-30
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Shay BENISTY; Amir SEGEV
- Web page: https://patentgrep.com/patent/US20230067236A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- 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

The present disclosure generally relates to searching an overlap table for data requested to be read in a plurality of read commands received. Rather than searching the table for data corresponding to each command individually, the searching occurs for the plurality of commands in parallel. Furthermore, the overlap table can comprise multiple data entries for each line. The number of read commands can be accumulated prior to searching, with the accumulating being a function of a queue depth permitted by the host device. Parallel searching of the overlap table reduces the average search time.

## Claims

### Claim 1

A data storage device, comprising:
a memory device; and
a controller coupled to the memory device, wherein the controller is configured to:
maintain an overlap table, wherein the overlap table comprises at least one line of data to be written to the memory device, wherein each line of data comprises at least one entry;
accumulate a plurality of read commands; and
search the overlap table line by line for data corresponding to the plurality of read commands, wherein the searching occurs prior to executing the plurality of read commands, wherein the search for data comprises searching for data corresponding to each read command of the plurality of read commands simultaneously.

### Claim 2 (depends on 1)

The data storage device of claim 1, wherein each entry in a line is searched sequentially.

### Claim 3 (depends on 1)

The data storage device of claim 1, wherein the at least one entry comprises a plurality of entries.

### Claim 4 (depends on 1)

The data storage device of claim 1, wherein the controller is configured to accumulate the plurality of read commands in a command pool.

### Claim 5 (depends on 4)

The data storage device of claim 4, wherein the controller is configured to determine whether the command pool is empty.

### Claim 6 (depends on 4)

The data storage device of claim 4, wherein the controller is configured to determine whether any received read commands overlap with a previously received read command.

### Claim 7 (depends on 4)

The data storage device of claim 4, wherein the controller is configured to determine whether a number of pending read commands that have been accumulated is equal to a queue depth threshold.

### Claim 8 (depends on 1)

The data storage device of claim 1, wherein the controller is configured to pause arrival of new read commands upon reaching a queue depth threshold.

### Claim 9 (depends on 1)

The data storage device of claim 1, wherein the controller is configured to release the plurality of read commands to read data from the memory device upon determining the data to be read is not in the overlap table.

### Claim 10 (depends on 1)

The data storage device of claim 1, wherein the controller is configured to mark a command of the plurality of commands as an overlap command upon determining that an entry in the overlap table corresponds to data to be read for the command.

### Claim 11 (depends on 1)

The data storage device of claim 1, wherein the controller is configured to accumulate read commands until a queue depth threshold is reached.

### Claim 12 (depends on 11)

The data storage device of claim 11, wherein the controller is configured to accumulate read commands until a timing threshold is reached.

### Claim 13

A data storage device, comprising:
a memory device; and
a controller coupled to the memory device, wherein the controller is configured to:
maintain an overlap table, wherein the overlap table comprises a first line of data to be written to the memory device and a second line of data to be written to the memory device, wherein the first line of data comprises a first plurality of entries, and wherein the second line of data comprises a second plurality of entries;
receive a first read command;
search the first line of the overlap table for an entry corresponding to the first read command;
receive a second read command;
search the second line of the overlap table for an entry corresponding to either the first read command or the second read command; and
search the first line of the overlap table for an entry corresponding to the second read command.

### Claim 14 (depends on 13)

The data storage device of claim 13, wherein the controller is further configured to search a first portion of the first line of the overlap table for an entry corresponding to the first read command, wherein the controller is further configured to search a second portion of the first line of the overlap table for an entry corresponding to either the first read command or the second read command, wherein the search of the second portion comprises searching for an entry corresponding to the first read command or the second read command simultaneously.

### Claim 15 (depends on 13)

The data storage device of claim 13, wherein the second command is received prior to searching the second line and after completion of searching the first line.

### Claim 16 (depends on 13)

The data storage device of claim 13, wherein the second command is received prior to completion of searching the first line.

### Claim 17

A data storage device, comprising:
memory means; and
a controller coupled to the memory means, wherein the controller is configured to:
maintain an overlap table comprising a plurality of lines, wherein each line comprises a plurality of entries of data;
accumulate a plurality of read commands, wherein the plurality of read commands corresponds to a number of read commands that a host device sends to the data storage device prior to receiving a completion command from the data storage device; and
search an individual line of the plurality of lines for data corresponding to each read command of the plurality of read commands.

### Claim 18 (depends on 17)

The data storage device of claim 17, wherein the number of read commands accumulated is dynamic.

### Claim 19 (depends on 17)

The data storage device of claim 17, wherein the plurality of read commands is less than the number of read commands that the host device sends prior to receiving a completion command due to reaching an accumulation time threshold.

### Claim 20 (depends on 17)

The data storage device of claim 17, wherein the controller is further configured to pause arrival of new read commands upon reaching a queue depth thresholds, wherein the controller is configured to unpause arrival of new commands upon completion of the search.
