# US 2024/0201904 A1 · Memory system and method of controlling nonvolatile memory

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

- Number: US 2024/0201904 A1
- Document ID: US20240201904A1
- Status: Published application
- Kind: A1
- Application number: 18/461,603
- Filed: 2023-09-06
- Published: 2024-06-20
- Earliest claimed: 2022-12-19
- Assignees: Kioxia Corporation
- Applicants: Kioxia Corporation
- Inventors: Shinichi KANNO
- Web page: https://patentgrep.com/patent/US20240201904A1

## 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 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to one embodiment, a memory system includes a nonvolatile memory including dies, a controller, and a first queue, a second queue, and a command buffer provided for each die. In response to a read command to be executed being stored in the command buffer corresponding to a first die, the controller determines whether or not a next read command needs to be issued. In response to determining that the next read command needs to be issued, the controller identifies a second die in which second data subsequent to first data corresponding to the read command to be executed is stored, and stores a read command to read the second data in the second queue corresponding to the second die.

## Claims

### Claim 1

A memory system comprising:
a nonvolatile memory including a plurality of dies;
a controller configured to control the plurality of dies; and
a first queue, a second queue and a command buffer provided for each of the plurality of dies, the first queue being a queue for storing a single read command associated with a read request from a host, or a leading read command of a plurality of read commands associated with a read request from the host, the second queue being a queue for storing any subsequent read command of the plurality of read commands, and the command buffer being a buffer for storing a read command to be executed that is fetched from a queue selected from the first queue and the second queue, wherein
the controller is configured to:
in response to the read command to be executed being stored in the command buffer corresponding to a first die of the plurality of dies, determine whether or not a next read command subsequent to the read command to be executed needs to be issued, based on whether or not the read command to be executed is any other read command except for the single read command and a last read command of the plurality of read commands; and
in response to determining that the next read command needs to be issued:
refer to a logical-to-physical address translation table and identify a second die in which second data subsequent to first data requested to be read by the read command to be executed is stored, and a length of the second data stored in the second die;
generate a read command to read the second data; and
execute a process of transmitting the read command to be executed to the first die, and a process of storing the generated read command in the second queue corresponding to the second die.

### Claim 2 (depends on 1)

The memory system of claim 1, wherein
the controller is further configured to:
read the first data from a page buffer of the first die after completion of reading of the first data to the page buffer of the first die; and
read the second data from a page buffer of the second die after completion of both the reading of the first data to the page buffer of the first die and reading of the second data to the page buffer of the second die.

### Claim 3 (depends on 2)

The memory system of claim 2, wherein
the controller is further configured to:
when the reading of the second data to the page buffer of the second die is completed while the reading of the first data to the page buffer of the first die has not been completed, wait until the reading of the first data to the page buffer of the first die is complete without reading the second data from the page buffer of the second die; and
execute a process of reading the first data from the page buffer of the first die and a process of reading the second data from the page buffer of the second die after completion of the reading of the first data to the page buffer of the first die.

### Claim 4 (depends on 1)

The memory system of claim 1, wherein
the controller is further configured to:
when read commands are stored in both the first queue and the second queue corresponding to any one of the plurality of dies, select the second queue with priority over the first queue, and fetch the read command stored in the second queue as the read command to be executed.

### Claim 5 (depends on 1)

The memory system of claim 1, wherein
the controller is configured to:
in response to completion of the reading of the first data to the page buffer of the first die, allocate a first read buffer to the first die, and transfer the first data from the page buffer of the first die to the first read buffer; and
in response to completion of the reading of the first data to the page buffer of the first die:
determine whether or not the first read buffer is already allocated to the first die; and
when the first read buffer is already allocated to the first die, allocate a second read buffer to the second die, and transfer the second data from the page buffer of the second die to the second read buffer.

### Claim 6 (depends on 5)

The memory system of claim 5, wherein
the controller is further configured to:
when the first read buffer is not yet allocated to the first die, allocate the second read buffer to the second die after the first read buffer is allocated to the first die.

### Claim 7 (depends on 1)

The memory system of claim 1, wherein
the controller is further configured to:
in response to determining that the next read command needs to be issued, execute a process of identifying the second die in which the second data is stored and the length of the second data, and a process of calculating location information indicating a location on the memory of the host to which the second data is to be transferred.

### Claim 8

A method of controlling a nonvolatile memory including a plurality of dies, the method comprising:
managing a first queue, a second queue and a command buffer for each of the plurality of dies, the first queue being a queue for storing a single read command associated with a read request from a host, or a leading read command of a plurality of read commands associated with a read request from the host, the second queue being a queue for storing any subsequent read command of the plurality of read commands, and the command buffer being a buffer for storing a read command to be executed that is fetched from a queue selected from the first queue and the second queue;
in response to the read command to be executed being stored in the command buffer corresponding to a first die of the plurality of dies, determining whether or not a next read command subsequent to the read command to be executed needs to be issued, based on whether or not the read command to be executed is any other read command except for the single read command and a last read command of the plurality of read commands; and
in response to determining that the next read command needs to be issued:
referring to a logical-to-physical address translation table and identifying a second die in which second data subsequent to first data requested to be read by the read command to be executed is stored, and a length of the second data stored in the second die;
generating a read command to read the second data; and
executing a process of transmitting the read command to be executed to the first die, and a process of storing the generated read command in the second queue corresponding to the second die.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
reading the first data from a page buffer of the first die after completion of reading of the first data to the page buffer of the first die; and
reading the second data from a page buffer of the second die after completion of both the reading of the first data to the page buffer of the first die and reading of the second data to the page buffer of the second die.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
when the reading of the second data to the page buffer of the second die is completed while the reading of the first data to the page buffer of the first die has not been completed, waiting until the reading of the first data to the page buffer of the first die is complete without reading the second data from the page buffer of the second die; and
executing a process of reading the first data from the page buffer of the first die and a process of reading the second data from the page buffer of the second die after completion of the reading of the first data to the page buffer of the first die.

### Claim 11 (depends on 8)

The method of claim 8, further comprising:
selecting, when read commands are stored in both the first queue and the second queue corresponding to any one of the plurality of dies, the second queue with priority over the first queue, and fetching the read command stored in the second queue as the read command to be executed.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
in response to completion of the read of the first data to the page buffer of the first die, allocating a first read buffer to the first die, and transferring the first data from the page buffer of the first die to the first read buffer; and
in response to completion of the reading of the second data to the page buffer of the second die:
determining whether or not the first read buffer is already allocated to the first die; and
allocating, when the first read buffer is already allocated to the first die, a second read buffer to the second die and transferring the second data from the page buffer of the second die to the second read buffer.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
allocating, when the first read buffer is not yet allocated to the first die, the second read buffer to the second die after the first read buffer is allocated to the first die.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
executing, in response to determining that the next read command needs to be issued, a process of identifying the second die in which the second data is stored and the length of the second data, and a process of calculating location information indicating a location on the memory of the host to which the second data is to be transferred.
