# US 2021/0342262 A1 · Periodic flush in memory component that is using greedy garbage collection

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

- Number: US 2021/0342262 A1
- Document ID: US20210342262A1
- Status: Published application
- Kind: A1
- Application number: 17/375,478
- Filed: 2021-07-14
- Published: 2021-11-04
- Earliest claimed: 2018-10-30
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Kishore Kumar Muchherla; Peter Sean Feeley; Sampath K. Ratnam; Ashutosh Malshe; Christopher S. Hale
- Web page: https://patentgrep.com/patent/US20210342262A1

## CPC

- G06F 12/0253: {Garbage collection, i.e. reclamation of unreferenced memory}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 12/128: adapted to multidimensional cache systems, e.g. set-associative, multicache, multiset or multilevel
- G06F 2212/1016: Performance improvement
- G06F 2212/1028: Power efficiency
- G06F 2212/7203: Temporary buffering, e.g. using volatile buffer or dedicated buffer blocks
- G06F 2212/7204: Capacity control, e.g. partitioning, end-of-life degradation
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G11C 11/5628: {Programming or writing circuits; Data input circuits}
- G11C 16/10: Programming or data input circuits
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A method includes identifying a first block of a plurality of blocks stored at a first memory based on an amount of valid data of the first block, and writing the valid data of the first block from the first memory to a second memory. The first memory has a first memory type and the second memory has a second memory type different from the first memory type. The method further includes identifying a second block of the plurality of blocks stored at the first memory based on an age of valid data of the second block, determining that the age of the valid data of the second block satisfies a threshold condition, and in response to determining that the age of the valid data of the second block satisfies the threshold condition, writing the valid data of the second block from the first memory to the second memory.

## Claims

### Claim 1

A method comprising:
identifying, by a processing device, a first block of a plurality of blocks stored at a first memory based on an amount of valid data of the first block;
writing, by the processing device, the valid data of the first block from the first memory to a second memory, wherein the first memory has a first memory type and the second memory has a second memory type different from the first memory type;
identifying, by the processing device, a second block of the plurality of blocks stored at the first memory based on an age of valid data of the second block;
determining, by the processing device, that the age of the valid data of the second block satisfies a threshold condition; and
in response to determining that the age of the valid data of the second block satisfies the threshold condition, writing, by the processing device, the valid data of the second block from the first memory to the second memory.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining that the age of the valid data of the second block satisfies a threshold condition comprises:
identifying an indicator associated with when a last block was written to the first memory; and
identifying a second indicator associated with when the first block was written to the first memory;
wherein determining that the age of the valid data of the second block satisfies the threshold condition comprises determining that a difference in time between when the last block was written to the first memory relative to when the first block was written to the first memory exceeds a threshold difference.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining that the age of the valid data of the second block satisfies a threshold condition comprises determining that an amount of data written to other blocks of the first memory since the valid data was written to the first block exceeds a threshold amount of data.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining that the age of the valid data of the second block satisfies a threshold condition comprises determining that an amount of elapsed time since the data was written to the first block exceeds a threshold amount of elapsed time.

### Claim 5 (depends on 1)

The method of claim 1, wherein the valid data of the first block is data that has not been erased, indicated to be erased, updated, or re-programmed by a host system.

### Claim 6 (depends on 1)

The method of claim 1, wherein writing the valid data of the first block from the first memory to the second memory comprises:
determining that the valid data is successfully written to the second memory; and
responsive to the determination that the valid data is successfully written to the second memory, erasing the valid data from the first memory.

### Claim 7 (depends on 1)

The method of claim 1, wherein the valid data of the first block is written from the first memory to the second memory based on the first block storing a least amount of valid data relative to other blocks of the plurality of blocks.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first memory comprises a single level cell memory, and the second memory comprises a multi-level cell memory, a triple level cell memory, or a quad level cell memory.

### Claim 9

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
identifying a first block of a plurality of blocks stored at a first memory based on an amount of valid data of the first block;
writing the valid data of the first block from the first memory to a second memory, wherein the first memory has a first memory type and the second memory has a second memory type different from the first memory type;
identifying a second block of the plurality of blocks stored at the first memory based on an age of valid data of the second block;
determining that the age of the valid data of the second block satisfies a threshold condition; and
in response to determining that the age of the valid data of the second block satisfies the threshold condition, writing the valid data of the second block from the first memory to the second memory.

### Claim 10 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein determining that the age of the valid data of the second block satisfies a threshold condition comprises:
identifying an indicator associated with when a last block was written to the first memory; and
identifying a second indicator associated with when the first block was written to the first memory;
wherein determining that the age of the valid data of the second block satisfies the threshold condition comprises determining that a difference in time between when the last block was written to the first memory relative to when the first block was written to the first memory exceeds a threshold difference.

### Claim 11 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein determining that the age of the valid data of the second block satisfies a threshold condition comprises determining that an amount of data written to other blocks of the first memory since the valid data was written to the first block exceeds a threshold amount of data.

### Claim 12 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein determining that the age of the valid data of the second block satisfies a threshold condition comprises determining that an amount of elapsed time since the data was written to the first block exceeds a threshold amount of elapsed time.

### Claim 13 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the valid data of the first block is data that has not been erased, indicated to be erased, updated, or re-programmed by a host system.

### Claim 14 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein writing the valid data of the first block from the first memory to the second memory comprises:
determining that the valid data is successfully written to the second memory; and
responsive to the determination that the valid data is successfully written to the second memory, erasing the valid data from the first memory.

### Claim 15 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the valid data of the first block is written from the first memory to the second memory based on the first block storing a least amount of valid data relative to other blocks of the plurality of blocks.

### Claim 16 (depends on 9)

The non-transitory computer-readable storage medium of claim 9, wherein the first memory comprises a single level cell memory, and the second memory comprises a multi-level cell memory, a triple level cell memory, or a quad level cell memory.

### Claim 17

A system comprising:
a first memory component having a first memory type, the first memory component comprising a plurality of blocks;
a second memory component having a second memory type different from the first memory type; and
a processing device, operatively coupled with the first memory component and the second memory component, to perform operations comprising:
performing a garbage collection operation on first data of a first block of the plurality of blocks;
identifying second data that remains written to a second block of the plurality of blocks after the garbage collection operation;
determining that the second data satisfies a threshold condition; and
responsive to determining that the second data satisfies the threshold condition, performing a memory flush operation on the data of the plurality of blocks.

### Claim 18 (depends on 17)

The system of claim 17, wherein performing the memory flush operation comprises:
writing the data of the plurality of blocks to the second memory component; and
erasing the data of the plurality of blocks from the first memory component.

### Claim 19 (depends on 17)

The system of claim 17, wherein determining that the second data satisfies the threshold condition comprises at least one of:
identifying that a delta between an indicator associated with the second block and a second indicator associated with any of the remaining plurality of blocks exceeds a threshold value;
identifying that an amount of data written to the plurality of blocks since the second data was written to the second block exceeds a threshold value; or
identifying that an amount of elapsed time since the second data was written to the second block exceeds a threshold value.

### Claim 20 (depends on 17)

The system of claim 17, wherein the first memory comprises a single level cell memory, and the second memory comprises a multi-level cell memory, a triple level cell memory, or a quad level cell memory.
