# US 2020/0393974 A1 · Method of detecting read hotness and degree of randomness in solid-state drives (ssds)

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

- Number: US 2020/0393974 A1
- Document ID: US20200393974A1
- Status: Published application
- Kind: A1
- Application number: 17/004,727
- Filed: 2020-08-27
- Published: 2020-12-17
- Earliest claimed: 2020-08-27
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Shirish BAHIRAT
- Web page: https://patentgrep.com/patent/US20200393974A1

## CPC

- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0649: {Lifecycle management}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0631: {by allocating resources to storage systems}
- G06F 3/0632: {by initialisation or re-initialisation of storage systems}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A request to read data stored in a non-volatile memory (NVM) is processed by incrementing a global read counter for the NVM, incrementing a local read counter for a zone of the NVM being accessed by processing of the read request, computing a degree of read hotness for the zone, computing a read concentration of the zone based at least in part on the degree of read hotness of the zone, the global read counter, and the local read counter, and relocating the data in the NVM when the read concentration of the zone meets or exceeds a threshold.

## Claims

### Claim 1

A method, comprising:
receiving a request to read data stored in a non-volatile memory (NVM);
incrementing a global read counter for the NVM;
incrementing a local read counter for a zone of the NVM being accessed by processing of the read request;
computing a degree of read hotness for the zone;
computing a read concentration of the zone based at least in part on the degree of read hotness of the zone, the global read counter, and the local read counter; and
relocating the data in the NVM when the read concentration of the zone meets or exceeds a threshold.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
computing a hash value of a physical address of the NVM being accessed by processing of the read request, the hash value indicating an element in a read hotness bit array for the zone;
if there has been at least one read from the NVM at the physical address since data was written to the NVM at the physical address, incrementing a collision counter, and if a hot read threshold is reached as a result of incrementing the collision counter, incrementing a hot read zone counter for the zone; and
if there has not been at least one read from the NVM at the physical address since data was written to the NVM at the physical address, setting the element in the read hotness bit array for the zone.

### Claim 3 (depends on 2)

The method of claim 2, wherein the degree of read hotness for the zone is a number of bits set in the read hotness bit array for the zone.

### Claim 4 (depends on 2)

The method of claim 2, wherein the collision counter stores a collision count for the read hotness bit array.

### Claim 5 (depends on 4)

The method of claim 4, comprising resetting the collision counter when the zone is reset.

### Claim 6 (depends on 2)

The method of claim 2, wherein the element in the read hotness bit array corresponds to a page read in the NVM.

### Claim 7 (depends on 1)

The method of claim 1, comprising the read concentration of the zone is computed as (a number of reads to the zone from the local read counter divided by the degree of read hotness of the zone) multiplied by (the number of reads to the zone from the local read counter for the zone divided by the number of global reads from the global read counter).

### Claim 8 (depends on 1)

The method of claim 1, comprising when any zone of the NVM is reset, reducing the global read counter by a number of reads to a reset zone.

### Claim 9 (depends on 1)

The method of claim 1, comprising resetting the local read counter for the zone to zero when the zone is reset.

### Claim 10

At least one non-transitory tangible machine-readable medium comprising a plurality of instructions that in response to being executed by a processor cause the processor to:
receive a request to read data stored in a non-volatile memory (NVM);
increment a global read counter for the NVM;
increment a local read counter for a zone of the NVM being accessed by processing of the read request;
compute a degree of read hotness for the zone;
compute a read concentration of the zone based at least in part on the degree of read hotness of the zone, the global read counter, and the local read counter; and
relocate the data in the NVM when the read concentration of the zone meets or exceeds a threshold.

### Claim 11 (depends on 10)

The at least one non-transitory tangible machine-readable medium of claim 10, comprising a plurality of instructions that in response to being executed by a processor cause the processor to:
compute a hash value of a physical address of the NVM being accessed by processing of the read request, the hash value indicating an element in a read hotness bit array for the zone;
if there has been at least one read from the NVM at the physical address since data was written to the NVM at the physical address, increment a collision counter, and if a hot read threshold is reached as a result of incrementing the collision counter, incrementing a hot read zone counter for the zone; and
if there has not been at least one read from the NVM at the physical address since data was written to the NVM at the physical address, set the element in the read hotness bit array for the zone.

### Claim 12 (depends on 11)

The at least one non-transitory tangible machine-readable medium of claim 11, wherein the element in the read hotness bit array corresponds to a page read in the NVM.

### Claim 13 (depends on 10)

The at least one non-transitory tangible machine-readable medium of claim 10, comprising a plurality of instructions that in response to being executed by a processor cause the processor to:
compute the read concentration of the zone as (a number of reads to the zone from the local read counter divided by the degree of read hotness of the zone) multiplied by (the number of reads to the zone from the local read counter for the zone divided by the number of global reads from the global read counter).

### Claim 14 (depends on 10)

The at least one non-transitory tangible machine-readable medium of claim 10, comprising a plurality of instructions that in response to being executed by a processor cause the processor to:
reduce the global read counter by a number of reads to the reset zone when any zone of the NVM is reset.

### Claim 15

A non-volatile memory (NVM) system comprising:
a NVM; and
a NVM controller to receive a request to read data stored in NVM, the NVM controller comprising
a global read counter for the NVM;
a local read counter for a zone of the NVM; and
a detector to increment the global read counter, increment the local read counter for a zone of the NVM being accessed by processing of the read request, compute a degree of read hotness for the zone, and compute a read concentration of the zone based at least in part on the degree of read hotness of the zone, the global read counter, and the local read counter;
wherein the NVM controller to relocate the data in the NVM when the read concentration of the zone meets or exceeds a threshold.

### Claim 16 (depends on 15)

The NVM system of claim 15, comprising the detector to:
compute a hash value of a physical address of the NVM being accessed by processing of the read request, the hash value indicating an element in a read hotness bit array for the zone;
if there has been at least one read from the NVM at the physical address since data was written to the NVM at the physical address, increment a collision counter, and if a hot read threshold is reached as a result of incrementing the collision counter, increment a hot read zone counter for the zone; and
if there has not been at least one read from the NVM at the physical address since data was written to the NVM at the physical address, set the element in the read hotness bit array for the zone.

### Claim 17 (depends on 16)

The NVM system of claim 16, wherein the degree of read hotness for the zone is a number of bits set in the read hotness bit array for the zone.

### Claim 18 (depends on 16)

The NVM system of claim 16, wherein the collision counter stores a collision count for the read hotness bit array.

### Claim 19 (depends on 18)

The NVM system of claim 18, comprising the detector to reset the collision counter when the zone is reset.

### Claim 20 (depends on 16)

The NVM system of claim 16, wherein the element in the read hotness bit array corresponds to a page read in the NVM.

### Claim 21 (depends on 15)

The NVM system of claim 15, comprising the detector to compute the read concentration of the zone as (a number of reads to the zone from the local read counter divided by the degree of read hotness of the zone) multiplied by (the number of reads to the zone from the local read counter for the zone divided by the number of global reads from the global read counter).

### Claim 22 (depends on 15)

The NVM system of claim 15, comprising the detector to reduce the global read counter by a number of reads to a reset zone when any zone of the NVM is reset.

### Claim 23 (depends on 15)

The NVM system of claim 15, comprising the detector to reset the local read counter for the zone to zero when the zone is reset.
