# US 2021/0240392 A1 · Memory system and control method

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

- Number: US 2021/0240392 A1
- Document ID: US20210240392A1
- Status: Published application
- Kind: A1
- Application number: 17/014,832
- Filed: 2020-09-08
- Published: 2021-08-05
- Earliest claimed: 2020-01-31
- Assignees: Kioxia Corporation
- Applicants: Kioxia Corporation
- Inventors: Yoko MASUO
- Web page: https://patentgrep.com/patent/US20210240392A1

## 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 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 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/7202: Allocation control and policies
- 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 and a controller. The nonvolatile memory includes blocks. The controller controls the nonvolatile memory. The controller acquires a write amount to the nonvolatile memory in a first period. The controller calculates an estimated amount of writing to the nonvolatile memory in the first period. The controller changes, when the write amount is larger than the estimated amount by a first threshold value or more, one or more parameters used for writing of data to the nonvolatile memory.

## Claims

### Claim 1

A memory system comprising:
a nonvolatile memory including blocks; and
a controller configured to control the nonvolatile memory,
wherein the controller is configured to:
acquire a write amount to the nonvolatile memory in a first period;
calculate an estimated amount of writing to the nonvolatile memory in the first period; and
change, when the write amount is larger than the estimated amount by a first threshold value or more, one or more parameters used for writing of data to the nonvolatile memory.

### Claim 2 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to change, when the write amount is larger than the estimated amount by the first threshold value or more, the one or more parameters in accordance with rebooting at least a part of the controller.

### Claim 3 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to stop a write process performed on the nonvolatile memory when the write amount is larger than the estimated amount by the first threshold value or more.

### Claim 4 (depends on 3)

The memory system according to claim 3, wherein
the controller is further configured to stop, when the write amount is larger than the estimated amount by the first, threshold value or more, the write process performed on the nonvolatile memory in accordance with rebooting at least a part of the controller.

### Claim 5 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to:
acquire a first data amount which is written into the nonvolatile memory in the first period in accordance with one or more write requests of a host device;
calculate a second data amount which is estimated to be written into the nonvolatile memory in the first period in accordance with the one or more write requests of the host device; and
change the one or more parameters when the first data amount is larger than the second data amount by the first threshold value or more.

### Claim 6 (depends on 1)

The memory system according to claim 1, wherein
the controller is configured to:
acquire a first data amount which is written into the nonvolatile memory in the first period in accordance with one or more write requests of a host device;
acquire a third data amount which is written into the nonvolatile memory in the first period by performing a first garbage collection process on blocks storing user data;
calculate a maximum execution ratio of write operations by the first garbage collection process to write operations in accordance with the one or more write requests of the host device, by using a writable amount of data remaining in the nonvolatile memory and a overprovisioning ratio of the nonvolatile memory;
calculate a fourth data amount which is estimated to be written into the nonvolatile memory in the first period by performing the first garbage collection process, by using the first data amount and the maximum execution ratio; and
change the one or more parameters when the third data amount is larger than the fourth data amount by the first, threshold value or more.

### Claim 7 (depends on 1)

The memory system according to claim 1, wherein
the controller is configured to:
acquire a fifth data amount which is written into the nonvolatile memory in the first period by performing a first refresh process on blocks storing user data;
calculate a sixth data amount on which the first refresh process is newly needed to be performed in the first period; and
change the one or more parameters when the fifth data amount is larger than the sixth data amount by the first threshold value or more.

### Claim 8 (depends on 1)

The memory system according to claim 1, wherein
the controller is configured to:
acquire a first, data amount which is written into the nonvolatile memory in the first period in accordance with one or more write requests of the host device;
acquire a third data amount which is written into the nonvolatile memory in the first period by performing a first garbage collection process on blocks storing user data;
acquire a fifth data amount which is written into the nonvolatile memory in the first period by performing a first refresh process on blocks storing user data;
calculate a seventh data amount of system management data which is estimated to be written into the nonvolatile memory in the first period, by using the first data amount, the third data amount, and the fifth data amount;
calculate an execution ratio of write operations by a second garbage collection process on blocks storing the system management data to write operations of the system management data in accordance with the one or more write requests of the host device, the first garbage collection process, and the first refresh process, by using a write amount of the system management data;
calculate an eighth data amount on which a second refresh process on blocks storing the system management data is newly needed to be performed in the first period;
calculate a ninth data amount of the system management data which is estimated to be written into the nonvolatile memory in the first period, by using the seventh data amount, the execution ratio, and the eighth data amount; and
change the one or more parameters when a tenth data amount, of the system management data written into the nonvolatile memory in the first period is larger than the ninth data amount by the first threshold value or more.

### Claim 9 (depends on 8)

The memory system according to claim 8, wherein
the tenth data amount includes an eleventh data amount of the system management data which is written into the nonvolatile memory in the first period in accordance with one or more requests of the host device to delete user data stored in the nonvolatile memory, and
the controller is further configured to calculate the ninth data amount estimated to be written into the nonvolatile memory in the first period, by using the seventh data amount, the execution ratio, the eighth data amount, and the eleventh data amount.

### Claim 10 (depends on 1)

The memory system according to claim 1, wherein
the controller is further configured to change the one or more parameters when the write amount is larger than a maximum rewritable amount of the nonvolatile memory tolerable in the first period by a second threshold value or more, the second threshold value being different from the first threshold value.

### Claim 11

A control method of a memory system comprising a nonvolatile memory including blocks, the method comprising:
acquiring a write amount to the nonvolatile memory in a first period;
calculating an estimated amount of writing to the nonvolatile memory in the first period; and
changing, when the write amount is larger than the estimated amount by a first threshold value or more, one or more parameters used for writing of data to the nonvolatile memory.

### Claim 12 (depends on 11)

The control method according to claim 11, further comprising
changing, when the write amount is larger than the estimated amount by the first threshold value or more, the one or more parameters in accordance with rebooting at least a part of a controller in the memory system.

### Claim 13 (depends on 11)

The control method according to claim 11, further comprising
stopping a write process performed on the nonvolatile memory when the write amount is larger than the estimated amount by the first threshold value or more.

### Claim 14 (depends on 13)

The control method according to claim 13, further comprising
stopping, when the write amount is larger than the estimated amount by the first threshold value or more, the write process performed on the nonvolatile memory in accordance with rebooting at least a part of a controller in the memory system.

### Claim 15 (depends on 11)

The control method according to claim 11, further comprising:
acquiring a first data amount which is written into the nonvolatile memory in the first period in accordance with one or more write requests of a host device;
calculating a second data amount which is estimated to be written into the nonvolatile memory in the first period in accordance with the one or more write requests of the host device; and
changing the one or more parameters when the first data amount is larger than the second data amount by the first threshold value or more.

### Claim 16 (depends on 11)

The control method according to claim 11, further comprising:
acquiring a first data amount which is written into the nonvolatile memory in the first period in accordance with one or more write requests of a host device;
acquiring a third data amount which is written into the nonvolatile memory in the first period by performing a first garbage collection process on blocks storing user data;
calculating a maximum execution ratio of write operations by the first garbage collection process to write operations in accordance with the one or more write requests of the host device, by using a writable amount of data remaining in the nonvolatile memory and a overprovisioning ratio of the nonvolatile memory;
calculating a fourth data amount which is estimated to be written into the nonvolatile memory in the first period by performing the first garbage collection process, by using the first data amount and the maximum execution ratio; and
changing the one or more parameters when the third data amount is larger than the fourth data amount by the first threshold value or more.

### Claim 17 (depends on 11)

The control method according to claim 11, further comprising:
acquiring a fifth data amount which is written into the nonvolatile memory in the first period by performing a first refresh process on blocks storing user data;
calculating a sixth data amount on which the first refresh process is newly needed to be performed in the first period; and
changing the one or more parameters when the fifth data amount is larger than the sixth data amount by the first threshold value or more.

### Claim 18 (depends on 11)

The control method according to claim 11, further comprising:
acquiring a first data amount which is written into the nonvolatile memory in the first period in accordance with one or more write requests of the host device;
acquiring a third data amount which is written into the nonvolatile memory in the first period by performing a first garbage collection process on blocks storing user data;
acquiring a fifth data amount which is written into the nonvolatile memory in the first period by performing a first refresh process on blocks storing user data;
calculating a seventh data amount of system management data which is estimated to be written into the nonvolatile memory in the first period, by using the first data amount, the third data amount, and the fifth data amount;
calculating an execution ratio of write operations by a second garbage collection process on blocks storing the system management data to write operations of the system management data in accordance with the one or more write requests of the host device, the first garbage collection process, and the first refresh process, by using a write amount of the system management data;
calculating an eighth data amount on which a second refresh process on blocks storing the system management data is newly needed to be performed in the first period;
calculating a ninth data amount of the system management data which is estimated to be written into the nonvolatile memory in the first period, by using the seventh data amount, the execution ratio, and the eighth data amount; and
changing the one or more parameters when a tenth data amount of the system management data written into the nonvolatile memory in the first period is larger than the ninth data amount by the first threshold value or more.

### Claim 19 (depends on 18)

The control method according to claim 18, wherein
the tenth data amount includes an eleventh data amount of the system management data which is written into the nonvolatile memory in the first period in accordance with one or more requests of the host device to delete user data stored in the nonvolatile memory, and
the control method further comprises calculating the ninth data amount, which is estimated to be written into the nonvolatile memory in the first period, by using the seventh data amount, the execution ratio, the eighth data amount, and the eleventh data amount.

### Claim 20 (depends on 11)

The control method according to claim 11, further comprising
changing the one or more parameters when the write amount is larger than a maximum rewritable amount of the nonvolatile memory tolerable in the first period by a second threshold value or more, the second threshold value being different from the first threshold value.
