# US 2014/0208007 A1 · Management of and region selection for writes to non-volatile memory

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

- Number: US 2014/0208007 A1
- Document ID: US20140208007A1
- Status: Published application
- Kind: A1
- Application number: 14/158,827
- Filed: 2014-01-19
- Published: 2014-07-24
- Earliest claimed: 2013-01-22
- Assignees: LSI Corporation
- Applicants: LSI Corporation
- Inventors: Earl T. COHEN; Timothy Lawrence CANEPA
- Web page: https://patentgrep.com/patent/US20140208007A1

## CPC

- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0608: {Saving storage space on storage systems}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/064: {Management of blocks}
- 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 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/1016: Performance improvement
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/7201: Logical to physical mapping or translation of blocks or pages
- G06F 2212/7202: Allocation control and policies
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F 2212/7211: Wear leveling
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Management of and region selection for writes to non-volatile memory of an SSD improves performance, reliability, unit cost, and/or development cost of an SSD. A controller receives and determines characteristics of writes (e.g. by analyzing the write data, the write data source, and/or by receiving a hint) and selects a region based on the determined characteristics and properties of regions of non-volatile memory. For example, a controller receives writes determined to be read-only data and selects regions of non-volatile memory containing cells that are likely to have write failures. By placing read-only data in write failure prone regions, the likelihood of an error is reduced, thus improving reliability. As another example, a controller receives writes hinted to be uncompressible and selects regions of non-volatile memory containing uncompressible data.

## Claims

### Claim 1

A method comprising:
analyzing a write received from a host to determine a characteristic of the write;
selecting one of a plurality of bands of a Non-Volatile Memory (NVM) based at least in part on the characteristic;
writing data of the write to the selected band; and
wherein each of the bands is a managed portion of the NVM.

### Claim 2 (depends on 1)

The method of claim 1, wherein the characteristic comprises data of the write being compressible.

### Claim 3 (depends on 1)

The method of claim 1, wherein the characteristic comprises data of the write being executable.

### Claim 4 (depends on 1)

The method of claim 1, wherein the characteristic is based at least in part on a counter associated with a Logical Block Address (LBA) corresponding to the write.

### Claim 5 (depends on 4)

The method of claim 4, further comprising counting a number of writes to the LBA via the counter.

### Claim 6 (depends on 4)

The method of claim 4, further comprising counting a difference between a number of reads of the LBA and a number of writes of the LBA via the counter.

### Claim 7 (depends on 1)

The method of claim 1, wherein
the write is received from the host via a storage interface compatible with one or more storage interface standards;
the writing data is at least in part via a flash memory interface enabled to communicate with the NVM;
the NVM comprises at least one flash memory; and
the storage interface and the flash memory interface are comprised in a controller implemented in a single integrated circuit.

### Claim 8 (depends on 1)

The method of claim 1, wherein each of the bands is in accordance with at least one of a plurality of logical properties, the logical properties comprising being frequently read, being relatively more frequently written, being more relatively infrequently written, being uncompressible, being executable, being non-recoverable and necessary to be preserved after a power loss, being recoverable and not necessary to be preserved after a power loss, being encrypted using a specific technique or key, being protected against errors using a specific technique or key or with specific Error-Correcting Code (ECC) schemes, being subject to recycling, and being not subject to recycling.

### Claim 9

A system comprising:
means for analyzing a write received from a host to determine a characteristic of the write;
means for selecting one of a plurality of bands of a Non-Volatile Memory (NVM) based at least in part on the characteristic;
means for writing data of the write to the selected band; and
wherein each of the bands is a managed portion of the NVM.

### Claim 10 (depends on 9)

The system of claim 9, wherein the characteristic comprises data of the write being compressible.

### Claim 11 (depends on 9)

The system of claim 9, wherein the characteristic comprises data of the write being executable.

### Claim 12 (depends on 9)

The system of claim 9, wherein the characteristic is based, at least in part, on a counter associated with a Logical Block Address (LBA) corresponding to the write.

### Claim 13 (depends on 12)

The system of claim 12, further comprising means for counting a number of writes to the LBA via the counter.

### Claim 14 (depends on 12)

The system of claim 12, further comprising means for counting a difference between a number of reads of the LBA and a number of writes of the LBA via the counter.

### Claim 15

A tangible non-transitory computer readable medium having a set of instructions stored therein that when executed by a processing element cause the processing element to perform and/or control operations comprising:
analyzing a write received from a host to determine a characteristic of the write;
selecting one of a plurality of bands of a Non-Volatile Memory (NVM) based at least in part on the characteristic;
writing data of the write to the selected band; and
wherein each of the bands is a managed portion of the NVM.

### Claim 16 (depends on 15)

The tangible non-transitory computer readable medium of claim 15, wherein the characteristic comprises data of the write being compressible.

### Claim 17 (depends on 15)

The tangible non-transitory computer readable medium of claim 15, wherein the characteristic comprises data of the write being executable.

### Claim 18 (depends on 15)

The tangible non-transitory computer readable medium of claim 15, wherein the characteristic is based at least in part on a counter associated with a Logical Block Address (LBA) corresponding to the write.

### Claim 19 (depends on 18)

The tangible non-transitory computer readable medium of claim 18, wherein the operations further comprise counting a number of writes to the LBA via the counter.

### Claim 20 (depends on 18)

The tangible non-transitory computer readable medium of claim 18, wherein the operations further comprise counting a difference between a number of reads of the LBA and a number of writes of the LBA via the counter.

### Claim 21 (depends on 15)

The tangible non-transitory computer readable medium of claim 15, wherein
the write is received from the host via a storage interface compatible with one or more storage interface standards;
the writing data is at least in part via a flash memory interface enabled to communicate with the NVM;
the NVM comprises at least one flash memory; and
the processing element, the storage interface, and the flash memory interface are comprised in a controller implemented in a single integrated circuit.

### Claim 22 (depends on 15)

The tangible non-transitory computer readable medium of claim 15, wherein each of the bands is in accordance with at least one of a plurality of logical properties, the logical properties comprising being frequently read, being relatively more frequently written, being more relatively infrequently written, being uncompressible, being executable, being non-recoverable and necessary to be preserved after a power loss, being recoverable and not necessary to be preserved after a power loss, being encrypted using a specific technique or key, being protected against errors using a specific technique or key or with specific Error-Correcting Code (ECC) schemes, being subject to recycling, and being not subject to recycling.

### Claim 23

An apparatus comprising:
write analysis hardware logic circuitry enabled to analyze a write received from a host to determine a characteristic of the write;
band selection hardware logic circuitry enabled to select one of a plurality of bands of a Non-Volatile Memory (NVM) based at least in part on the characteristic;
memory write hardware logic circuitry enabled to write data of the write to the selected band; and
wherein each of the bands is a managed portion of the NVM.

### Claim 24 (depends on 23)

The apparatus of claim 23, wherein the characteristic comprises data of the write being compressible.

### Claim 25 (depends on 23)

The apparatus of claim 23, wherein the characteristic comprises data of the write being executable.
