# US 12,182,452 B2 · Dynamic adjustment of data storage for enhanced data retention

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

- Number: US 12,182,452 B2
- Document ID: US12182452B2
- Status: Granted
- Kind: B2
- Application number: 18/503,275
- Filed: 2023-11-07
- Published: 2024-03-07
- Granted: 2024-12-31
- Earliest claimed: 2022-03-18
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Roy Leonard; Xiaolei Man; Bryan Li; Peijing Ye
- Web page: https://patentgrep.com/patent/US12182452B2

## CPC

- G06F 3/061: {Improving I/O performance}
- 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/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0635: {by changing the path, e.g. traffic rerouting, path reconfiguration}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 12/0811: with multilevel cache hierarchies
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A system includes a memory and a processing device, operatively coupled to the memory, to perform operations including initiating a write operation in a first mode to write a first portion of data to a single-level cell (SLC) cache, determining whether a logical saturation of the first portion of the data satisfies a first threshold condition based on the first maximum size, and in response to determining that the logical saturation of the first portion of the data satisfies the first threshold condition, continuing the write operation in the second mode to write a second portion of the data to the SLC cache. The SLC cache includes a dynamic SLC cache having a first maximum size corresponding to the first mode and a second maximum size greater than the first maximum size corresponding to a second mode.

## Claims

### Claim 1

A system comprising:
a memory; and
a processing device, operatively coupled with the memory, to perform operations comprising:
initiating a write operation in a first mode to write a first portion of data to a single-level cell (SLC) cache, wherein the SLC cache comprises a dynamic SLC cache having a first maximum size corresponding to the first mode and a second maximum size greater than the first maximum size corresponding to a second mode;
determining whether a logical saturation of the first portion of the data satisfies a first threshold condition based on the first maximum size; and
in response to determining that the logical saturation of the first portion of the data satisfies the first threshold condition, continuing the write operation in the second mode to write a second portion of the data to the SLC cache.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise receiving the data from a host system.

### Claim 3 (depends on 1)

The system of claim 1, wherein the second maximum size is less than a theoretical maximum size for the dynamic SLC cache.

### Claim 4 (depends on 1)

The system of claim 1, wherein the operations further comprise completing the write operation, wherein an entirety of the data is written to the SLC cache upon completing the write operation.

### Claim 5 (depends on 1)

The system of claim 1, wherein the operations further comprise:
determining whether an amount of data written to a memory sub-system satisfies a second threshold condition; and
in response to determining that the amount of data written to the memory sub-system does not satisfy the second threshold condition, determining whether the logical saturation of the first portion of the data satisfies the first threshold condition.

### Claim 6 (depends on 1)

The system of claim 1, wherein the operations further comprise:
in response to determining to initiate the write operation in the second mode, initiating the write operation in the second mode to write a third portion of the data to the SLC cache;
determining whether the logical saturation of the third portion of the data satisfies a second threshold condition based on the second maximum size; and
in response to determining that the logical saturation of the third portion of the data does not satisfy the second threshold condition, continuing the write operation in the second mode to write a fourth portion of the data to the SLC cache.

### Claim 7 (depends on 6)

The system of claim 6, wherein the operations further comprise:
in response to determining that the logical saturation of the third portion of the data satisfies the second threshold condition, continuing the write operation in the first mode to write the fourth portion of the data to the SLC cache;
determining whether the logical saturation of the fourth portion of the data satisfies the first threshold condition; and
in response to determining that the logical saturation of the fourth portion of the data satisfies the first threshold condition, continuing the write operation in the second mode to write a fifth portion of the data to the SLC cache.

### Claim 8

A method comprising:
initiating, by a processing device, a write operation in a first mode to write a first portion of data to a single-level cell (SLC) cache, wherein the SLC cache comprises a dynamic SLC cache having a first maximum size corresponding to the first mode and a second maximum size greater than the first maximum size corresponding to a second mode;
determining, by the processing device, whether a logical saturation of the first portion of the data satisfies a first threshold condition based on the first maximum size; and
in response to determining that the logical saturation of the first portion of the data satisfies the first threshold condition, continuing, by the processing device, the write operation in the second mode to write a second portion of the data to the SLC cache.

### Claim 9 (depends on 8)

The method of claim 8, further comprising receiving, by the processing device, the data from a host system.

### Claim 10 (depends on 8)

The method of claim 8, wherein the second maximum size is less than a theoretical maximum size for the dynamic SLC cache.

### Claim 11 (depends on 8)

The method of claim 8, further comprising completing, by the processing device, the write operation, wherein an entirety of the data is written to the SLC cache upon completing the write operation.

### Claim 12 (depends on 8)

The method of claim 8, further comprising:
determining, by the processing device, whether an amount of data written to a memory sub-system satisfies a second threshold condition; and
in response to determining that the amount of data written to the memory sub-system does not satisfy the second threshold condition, determining, by the processing device, whether the logical saturation of the first portion of the data satisfies the first threshold condition.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
in response to determining to initiate the write operation in the second mode, initiating, by the processing device, the write operation in the second mode to write a third portion of the data to the SLC cache;
determining, by the processing device, whether the logical saturation of the third portion of the data satisfies a second threshold condition based on the second maximum size; and
in response to determining that the logical saturation of third portion of the data does not satisfy the second threshold condition, continuing, by the processing device, the write operation in the second mode to write a fourth portion of the data to the SLC cache.

### Claim 14 (depends on 13)

The method of claim 13, further comprising:
in response to determining that the logical saturation of the third portion of the data satisfies the second threshold condition, continuing, by the processing device, the write operation in the first mode to write the fourth portion of the data to the SLC cache;
determining, by the processing device, whether the logical saturation of the fourth portion of the data satisfies the first threshold condition; and
in response to determining that the logical saturation of the fourth portion of the data satisfies the first threshold condition, continuing, by the processing device, the write operation in the second mode to write a fifth portion of the data to the SLC cache.

### Claim 15

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
initiating a write operation in a first mode to write a first portion of data to a single-level cell (SLC) cache, wherein the SLC cache comprises a dynamic SLC cache having a first maximum size corresponding to the first mode and a second maximum size greater than the first maximum size corresponding to a second mode;
determining whether a logical saturation of the first portion of the data satisfies a first threshold condition based on the first maximum size; and
in response to determining that the logical saturation of the first portion of the data satisfies the first threshold condition, continuing the write operation in the second mode to write a second portion of the data to the SLC cache.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise receiving the data from a host system.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the second maximum size is less than a theoretical maximum size for the dynamic SLC cache.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise completing the write operation, wherein an entirety of the data is written to the SLC cache upon completing the write operation.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
determining whether an amount of data written to a memory sub-system satisfies a second threshold condition; and
in response to determining that the amount of data written to the memory sub-system does not satisfy the second threshold condition, determining whether the logical saturation of the first portion of the data satisfies the first threshold condition.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
in response to determining that the logical saturation of the first portion of the data satisfies the first threshold condition, continuing the write operation in the first mode to write the second portion of the data to the SLC cache;
determining whether the logical saturation of the second portion of the data satisfies a second threshold condition based on the first maximum size; and
in response to determining that the logical saturation satisfies the second threshold condition, continuing the write operation in the second mode to write a third portion of the data to the SLC cache.
