# US 2019/0171397 A1 · Tiering adjustment upon unmapping memory in multi-tiered systems

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

- Number: US 2019/0171397 A1
- Document ID: US20190171397A1
- Status: Published application
- Kind: A1
- Application number: 15/833,829
- Filed: 2017-12-06
- Published: 2019-06-06
- Earliest claimed: 2017-12-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Kushal S. Patel; Sarvesh S. Patel; Subhojit Roy; Bharti Soni
- Web page: https://patentgrep.com/patent/US20190171397A1

## CPC

- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0611: {in relation to response time}
- G06F 3/0613: {in relation to throughput}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0649: {Lifecycle management}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method, according to one embodiment, includes: receiving an unmap command, the unmap command identifying a first logical extent located in a higher storage tier of a multi-tiered data storage system having the higher storage tier and a lower storage tier, sending an instruction to unmap the first logical extent from the higher storage tier, sending an instruction to decrement a heat associated with the unmapped first logical extent in response to sending the instruction to unmap the first logical extent, sending an instruction to remove the unmapped first logical extent from the higher storage tier, selecting, using a heat map, at least one second logical extent located in the lower storage tier for promotion to the higher storage tier, and sending an instruction to relocate the at least one second logical extent from the lower storage tier to the higher storage tier.

## Claims

### Claim 1

A computer-implemented method, comprising:
receiving, by one or more processors, an unmap command, the unmap command identifying a first logical extent located in a higher storage tier of a multi-tiered data storage system having the higher storage tier and a lower storage tier, each storage tier comprising a plurality of hardware-based data storage devices;
sending, by the one or more processors, an instruction to unmap the first logical extent from the higher storage tier;
sending, by the one or more processors, an instruction to decrement a heat associated with the unmapped first logical extent in response to sending the instruction to unmap the first logical extent;
sending, by the one or more processors, an instruction to remove the unmapped first logical extent from the higher storage tier;
selecting, by the one or more processors, at least one second logical extent located in the lower storage tier for promotion to the higher storage tier, wherein the at least one second logical extent is selected using a heat map; and
sending, by the one or more processors, an instruction to relocate the at least one second logical extent from the lower storage tier to the higher storage tier.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein sending, by the one or more processors, an instruction to remove the unmapped first logical extent from the higher storage tier includes:
determining, by the one or more processors, whether data included in the first logical extent is referenced by another location in the multi-tiered data storage system;
sending, by the one or more processors, instructions to relocate the first logical extent to the lower storage tier in response to determining that the data included in the first logical extent is referenced by another location in the multi-tiered data storage system; and
sending, by the one or more processors, instructions to delete the data included in the first logical extent in response to determining that data included in the first logical extent is not referenced by another location in the multi-tiered data storage system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the first logical extent is part of a space efficient volume.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the instruction to relocate the at least one second logical extent from the lower storage tier to the higher storage tier is sent by the one or more processors to a tiering data relocator, wherein the tiering data relocator is configured to coordinate the relocation of the at least one second logical extent from one or more of the hardware-based data storage devices in the lower storage tier in which the at least one second logical extent is stored, to one or more of the hardware-based data storage devices in the higher storage tier.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the instruction to decrement the heat associated with the first logical extent is sent by the one or more processors to a monitoring daemon irrespective of a current heat associated with the first logical extent, wherein the monitoring daemon maintains heat values in physical memory, the heat values corresponding to each of the respective logical extents and/or the data stored in each of the respective logical extents.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, comprising:
sending, by the one or more processors, a request for the heat map, the heat map corresponding to logical extents in the multi-tiered data storage system; and
receiving, by the one or more processors, the heat map.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein selecting, by the one or more processors, the at least one second logical extent is performed using access counters included in the heat map.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein the higher storage tier includes a solid state drive, wherein the lower storage tier includes a hard disk drive.

### Claim 9

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions readable and/or executable by one or more processors to cause the one or more processors to perform a method comprising:
receiving, by the one or more processors, an unmap command, the unmap command identifying a first logical extent located in a higher storage tier of a multi-tiered data storage system having the higher storage tier and a lower storage tier, each storage tier comprising a plurality of hardware-based data storage devices;
sending, by the one or more processors, an instruction to unmap the first logical extent from the higher storage tier;
sending, by the one or more processors, an instruction to decrement a heat associated with the unmapped first logical extent in response to sending the instruction to unmap the first logical extent;
sending, by the one or more processors, an instruction to remove the unmapped first logical extent from the higher storage tier;
selecting, by the one or more processors, at least one second logical extent located in the lower storage tier for promotion to the higher storage tier, wherein the at least one second logical extent is selected using a heat map; and
sending, by the one or more processors, an instruction to relocate the at least one second logical extent from the lower storage tier to the higher storage tier.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein sending, by one or more processors, an instruction to remove the unmapped first logical extent from the higher storage tier includes:
determining, by the one or more processors, whether data included in the first logical extent is referenced by another location in the multi-tiered data storage system;
sending, by the one or more processors, instructions to relocate the first logical extent to the lower storage tier in response to determining that the data included in the first logical extent is referenced by another location in the multi-tiered data storage system; and
sending, by the one or more processors, instructions to delete the data included in the first logical extent in response to determining that data included in the first logical extent is not referenced by another location in the multi-tiered data storage system.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein the first logical extent is part of a space efficient volume.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein the instruction to relocate the at least one second logical extent from the lower storage tier to the higher storage tier is sent by the one or more processors to a tiering data relocator, wherein the tiering data relocator is configured to coordinate the relocation of the at least one second logical extent from one or more of the hardware-based data storage devices in the lower storage tier in which the at least one second logical extent is stored, to one or more of the hardware-based data storage devices in the higher storage tier.

### Claim 13 (depends on 9)

The computer program product of claim 9, wherein the instruction to decrement the heat associated with the first logical extent is sent by the one or more processors to a monitoring daemon irrespective of a current heat associated with the first logical extent wherein the monitoring daemon maintains heat values in physical memory, the heat values corresponding to each of the respective logical extents and/or the data stored in each of the respective logical extents.

### Claim 14 (depends on 9)

The computer program product of claim 9, the program instructions readable and/or executable by the processor to cause the one or more processors to perform the method comprising:
sending, by the one or more processors, a request for the heat map, the heat map corresponding to logical extents in the multi-tiered data storage system; and
receiving, by the one or more processors, the heat map.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein selecting, by the one or more processors, the at least one second logical extent is performed using access counters included in the heat map.

### Claim 16 (depends on 9)

The computer program product of claim 9, wherein the higher storage tier includes a solid state drive, wherein the lower storage tier includes a hard disk drive.

### Claim 17

A system, comprising:
one or more processors; and
logic integrated with the one or more processors, executable by the one or more processors, or integrated with and executable by the one or more processors, the logic being configured to:
receive, by the one or more processors, an unmap command, the unmap command identifying a first logical extent located in a higher storage tier of a multi-tiered data storage system having the higher storage tier and a lower storage tier, each storage tier comprising a plurality of hardware-based data storage devices;
send, by the one or more processors, an instruction to unmap the first logical extent from the higher storage tier;
send, by the one or more processors, an instruction to decrement a heat associated with the unmapped first logical extent in response to sending the instruction to unmap the first logical extent;
send, by the one or more processors, an instruction to remove the unmapped first logical extent from the higher storage tier;
select, by the one or more processors, at least one second logical extent located in the lower storage tier for promotion to the higher storage tier, wherein the at least one second logical extent is selected using a heat map; and
send, by the one or more processors, an instruction to relocate the at least one second logical extent from the lower storage tier to the higher storage tier.

### Claim 18 (depends on 17)

The system of claim 17, wherein sending, by the one or more processors, an instruction to remove the unmapped first logical extent from the higher storage tier includes:
determining, by the one or more processors, whether data included in the first logical extent is referenced by another location in the multi-tiered data storage system;
sending, by the one or more processors, instructions to relocate the first logical extent to the lower storage tier in response to determining that the data included in the first logical extent is referenced by another location in the multi-tiered data storage system; and
sending, by the one or more processors, instructions to delete the data included in the first logical extent in response to determining that data included in the first logical extent is not referenced by another location in the multi-tiered data storage system.

### Claim 19 (depends on 17)

The system of claim 17, wherein the first logical extent is part of a space efficient volume, wherein the higher storage tier includes a solid state drive, wherein the lower storage tier includes a hard disk drive.

### Claim 20 (depends on 17)

The system of claim 17, the logic being configured to:
send, by the one or more processors, a request for the heat map, the heat map corresponding to logical extents in the multi-tiered data storage system; and
receive, by the one or more processors, the heat map,
wherein selecting, by the one or more processors, the at least one second logical extent is performed using access counters included in the heat map.
