# US 2021/0004158 A1 · Adapting memory block pool sizes using hybrid controllers

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

- Number: US 2021/0004158 A1
- Document ID: US20210004158A1
- Status: Published application
- Kind: A1
- Application number: 16/459,393
- Filed: 2019-07-01
- Published: 2021-01-07
- Earliest claimed: 2019-07-01
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Roman Alexander Pletka; Radu Ioan Stoica; Sasa Tomic; Nikolaos Papandreou; Nikolas Ioannou; Aaron Daniel Fry; Timothy Fisher; Charalampos Pozidis; Andrew D. Walls
- Web page: https://patentgrep.com/patent/US20210004158A1

## CPC

- G06F 3/064: {Management of blocks}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0643: {Management of files}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2212/7205: Cleaning, compaction, garbage collection, erase control
- G06F 2212/7208: Multiple device management, e.g. distributing data over multiple flash devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, according to one embodiment, includes: determining whether a number of blocks included in a first ready-to-use (RTU) queue is in a first range of the first RTU queue. In response to determining that the number of blocks included in the first RTU queue is in the first range, a determination is made as to whether a number of blocks included in a second RTU queue is in a second range of the second RTU queue. Moreover, in response to determining that the number of blocks included in the second RTU queue is not in the second range, valid data is relocated from one of the blocks in a first pool which corresponds to the first RTU queue. The block in the first pool is erased, and transferred from the first pool to the second RTU queue which corresponds to a second pool.

## Claims

### Claim 1

A computer-implemented method for adapting block pool sizes in a storage system, comprising:
determining whether a number of blocks included in a first ready-to-use (RTU) queue is in a first range of the first RTU queue;
in response to determining that the number of blocks included in the first RTU queue is in the first range of the first RTU queue, determining whether a number of blocks included in a second RTU queue is in a second range of the second RTU queue;
in response to determining that the number of blocks included in the second RTU queue is not in the second range of the second RTU queue, relocating valid data from one of the blocks in a first pool which corresponds to the first RTU queue;
erasing the block in the first pool; and
transferring the block from the first pool to the second RTU queue which corresponds to a second pool,
wherein the blocks in the first pool are configured in single-level cell (SLC) mode,
wherein the blocks in the second pool are configured in multi-bit-per-cell mode.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein transferring the block from the first pool to the second RTU queue which corresponds to the second pool includes:
reconfiguring the block from SLC mode to multi-bit-per-cell mode; and
marking the reconfigured block for recalibration of a read threshold voltage shift value thereof.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, comprising:
determining whether a current input/output (I/O) workload experienced by the storage system is in a third range; and
transferring the block from the first pool to the second RTU queue which corresponds to the second pool in response to determining that the current I/O workload experienced by the storage system is not in the third range.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the blocks in the second pool that are configured in multi-bit-per-cell mode are configured in quad-level cell (QLC) mode.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, comprising:
in response to determining that the number of blocks included in the first RTU queue is not in the first range, selecting one of the blocks in the first pool;
relocating valid data from the selected block;
erasing the selected block; and
placing the selected block in the first RTU queue corresponding to the first pool.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein placing the selected block in the first RTU queue corresponding to the first pool includes:
marking the selected block for recalibration of a read threshold voltage shift value thereof.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, comprising:
determining whether a number of blocks included in the second RTU queue is in a first range of the second RTU queue;
in response to determining that the number of blocks included in the second RTU queue is in the first range of the second RTU queue, determining whether a number of blocks included in the first RTU queue is in a second range of the first RTU queue;
in response to determining that the number of blocks included in the first RTU queue is not in the second range of the first RTU queue, relocating valid data from one of the blocks in the second pool;
erasing the block in the second pool; and
transferring the block from the second pool to the first RTU queue which corresponds to the first pool.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, wherein transferring the block from the second pool to the first RTU queue which corresponds to the first pool includes:
reconfiguring the block from multi-bit-per-cell mode to SLC mode; and
marking the reconfigured block for recalibration of a threshold voltage shift value thereof.

### Claim 9

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable and/or executable by a processor to cause the processor to:
determine, by the processor, whether a number of blocks included in a first ready-to-use (RTU) queue is in a first range of the first RTU queue;
in response to determining that the number of blocks included in the first RTU queue is in the first range of the first RTU queue, determine, by the processor, whether a number of blocks included in a second RTU queue is in a second range of the second RTU queue;
in response to determining that the number of blocks included in the second RTU queue is not in the second range of the second RTU queue, relocate, by the processor, valid data from one of the blocks in a first pool which corresponds to the first RTU queue;
erase, by the processor, the block in the first pool; and
transfer, by the processor, the block from the first pool to the second RTU queue which corresponds to a second pool,
wherein the blocks in the first pool are configured in single-level cell (SLC) mode,
wherein the blocks in the second pool are configured in multi-bit-per-cell mode.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein transferring the block from the first pool to the second RTU queue which corresponds to the second pool includes:
reconfiguring the block from SLC mode to multi-bit-per-cell mode; and
marking the reconfigured block for recalibration of a threshold voltage shift value thereof.

### Claim 11 (depends on 9)

The computer program product of claim 9, the program instructions readable and/or executable by the processor to cause the processor to:
determine, by the processor, whether a current input/output (I/O) workload experienced by the storage system is in a third range; and
transfer, by the processor, the block from the first pool to the second RTU queue which corresponds to the second pool in response to determining that the current I/O workload experienced by the storage system is not in the third range.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein the blocks in the second pool that are configured in multi-bit-per-cell mode are configured in quad-level cell (QLC) mode.

### Claim 13 (depends on 9)

The computer program product of claim 9, the program instructions readable and/or executable by the processor to cause the processor to:
in response to determining that the number of blocks included in the first RTU queue is not in the first range of the first RTU queue, select, by the processor, one of the blocks in the first pool;
relocate, by the processor, valid data from the selected block;
erase, by the processor, the selected block; and
place, by the processor, the selected block in the first RTU queue corresponding to the first pool.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein placing the selected block in the first RTU queue corresponding to the first pool includes:
marking the reconfigured selected block for recalibration of a threshold voltage shift value thereof.

### Claim 15 (depends on 9)

The computer program product of claim 9, the program instructions readable and/or executable by the processor to cause the processor to:
determine, by the processor, whether a number of blocks included in the second RTU queue is in a first range of the second RTU queue;
in response to determining that the number of blocks included in the second RTU queue is in the first range of the second RTU queue, determine, by the processor, whether a number of blocks included in the first RTU queue is in a second range of the first RTU queue;
in response to determining that the number of blocks included in the first RTU queue is not in the second range of the first RTU queue, relocate, by the processor, valid data from one of the blocks in the second pool;
erase, by the processor, the block in the second pool; and
transfer, by the processor, the block from the second pool to the first RTU queue which corresponds to the first pool.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein transferring the block from the second pool to the first RTU queue which corresponds to the first pool includes:
reconfigure, by the processor, the block from multi-bit-per-cell mode to SLC mode; and
mark, by the processor, the reconfigured block for recalibration of a threshold voltage shift value thereof.

### Claim 17

A system, comprising:
a plurality of non-volatile random access memory (NVRAM) blocks configured to store data; and
a processor and logic integrated with and/or executable by the processor, the logic being configured to:
determine, by the processor, whether a number of blocks included in a first ready-to-use (RTU) queue is in a first range of the first RTU queue;
in response to determining that the number of blocks included in the first RTU queue is in the first range of the first RTU queue, determine, by the processor, whether a number of blocks included in a second RTU queue is in a second range of the second RTU queue;
in response to determining that the number of blocks included in the second RTU queue is not in the second range of the second RTU queue, relocate, by the processor, valid data from one of the blocks in a first pool which corresponds to the first RTU queue;
erase, by the processor, the block in the first pool; and
transfer, by the processor, the block from the first pool to the second RTU queue which corresponds to a second pool,
wherein the blocks in the first pool are configured in single-level cell (SLC) mode,
wherein the blocks in the second pool are configured in multi-bit-per-cell mode.

### Claim 18 (depends on 17)

The system of claim 17, wherein transferring the block from the first pool to the second RTU queue which corresponds to the second pool includes:
reconfiguring the block from SLC mode to multi-bit-per-cell mode; and
marking the reconfigured block for recalibration of a threshold voltage shift value for the reconfigured block.

### Claim 19 (depends on 17)

The system of claim 17, the logic being configured to:
determine, by the processor, whether a current input/output (I/O) workload experienced by the storage system is in a third range; and
transfer, by the processor, the block from the first pool to the second RTU queue which corresponds to the second pool in response to determining that the current I/O workload experienced by the storage system is not in the third range.

### Claim 20 (depends on 17)

The system of claim 17, the logic being configured to:
determine, by the processor, whether a number of blocks included in the second RTU queue is in a first range of the second RTU queue;
in response to determining that the number of blocks included in the second RTU queue is in the first range of the second RTU queue, determine, by the processor, whether a number of blocks included in the first RTU queue is in a second range of the first RTU queue;
in response to determining that the number of blocks included in the first RTU queue is not in the second range of the first RTU queue, relocate, by the processor, valid data from one of the blocks in the second pool;
erase, by the processor, the block in the second pool; and
transfer, by the processor, the block from the second pool to the first RTU queue which corresponds to the first pool.
