# US 2021/0286552 A1 · Data storage system with adaptive cache management

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

- Number: US 2021/0286552 A1
- Document ID: US20210286552A1
- Status: Published application
- Kind: A1
- Application number: 16/817,819
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Seagate Technology LLC
- Applicants: Seagate Technology LLC
- Inventors: Jin Quan Shen; Xiong Liu; Brian T. Edgar; Jae Ik Song
- Web page: https://patentgrep.com/patent/US20210286552A1

## CPC

- G06F 3/0658: {Controller construction arrangements}
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 3/0608: {Saving storage space on storage systems}
- 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/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 3/0676: {Magnetic disk device}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 2212/601: Reconfiguration of cache memory
- G06F 2212/6042: Allocation of cache space to multiple users or processors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data storage system can connect a cache memory to a caching module, a host, and a data storage device. The caching module can employ one or more local controllers to generate a caching strategy in response to detected data storage operations and execute the caching strategy to divide the cache memory into a first pool having a first size and a second pool having a second size.

## Claims

### Claim 1

A system comprising a cache memory connected to a caching module, a host, and a data storage device, the caching module comprising a local controller to generate a caching strategy in response to detected data storage operations and execute the caching strategy to divide the cache memory into a first pool having a first size and a second pool having a second size, the second size being different than the first size, the first pool restricted to a first type of data and the second pool restricted to a second type of data in accordance with the caching strategy, the first type of data being different than the second type of data, the second size and the second type of data respectively based on predicted change in a number of connected hosts.

### Claim 2 (depends on 1)

The system of claim 1, wherein the caching module comprises a prediction circuit to forecast at least one future data storage activity for the caching strategy.

### Claim 3 (depends on 1)

The system of claim 1, wherein the caching module comprises a hierarchy circuit to prescribe a plurality of separate cache data locations between the host and data storage device for the caching strategy.

### Claim 4 (depends on 1)

The system of claim 1, wherein the caching module comprises a compression circuit to generate a compression scheme for the caching strategy.

### Claim 5 (depends on 1)

The system of claim 1, wherein the caching module comprises a standby circuit to identify standby time and optimal data storage activity during the standby time for the caching strategy.

### Claim 6 (depends on 1)

The system of claim 1, wherein the caching module comprises a power circuit to preserve data stored in the cache memory in response to an identified inadvertent power loss.

### Claim 7 (depends on 1)

The system of claim 1, wherein the cache memory comprises volatile memory cells.

### Claim 8 (depends on 1)

The system of claim 1, wherein the data storage device comprises a rotating magnetic data storage medium.

### Claim 9 (depends on 1)

The system of claim 1, wherein the data storage device comprises non-volatile solid-state memory cells.

### Claim 10

A method comprising:
connecting a cache memory to a caching module, a host, and a data storage device;
generating a caching strategy with a local controller of the caching module in response to detected data storage operations, the caching strategy prescribing a compression scheme to selectively compress data prior to being stored in the cache memory; and
executing the caching strategy to divide the cache memory into a first pool having a first size and a second pool having a second size each pertaining to the detected data storage operations, the caching strategy compresses data virtually prior to storing the data in the second pool in response to the compressed data not fitting within a downstream non-volatile cache.

### Claim 11 (depends on 10)

The method of claim 10, wherein the caching strategy prescribes altering the first size of the first pool to a different third size.

### Claim 12 (depends on 11)

The method of claim 11, wherein the third size matches a fourth size of a system data region of the data storage device.

### Claim 13 (depends on 11)

The method of claim 11, wherein the third size is less than the second size.

### Claim 14 (depends on 11)

The method of claim 11, wherein the third size is a multiple of the first size of the first pool of the cache memory, the multiple assigned by the caching strategy in response to a compression scheme.

### Claim 15 (depends on 10)

The method of claim 10, wherein the first pool is assigned to store data having a size less than a threshold prescribed by the caching strategy.

### Claim 16 (depends on 10)

The method of claim 10, wherein the first pool is assigned to store data having a predicted access frequency greater than a threshold prescribed by the caching strategy.

### Claim 17

(canceled)

### Claim 18 (depends on 10)

The method of claim 10, wherein the caching strategy compresses data identified as fitting within a downstream non-volatile cache once compressed.

### Claim 19 (depends on 10)

The method of claim 10, wherein the caching strategy compresses data virtually prior to storing the data in the second pool in response to the compressed data not fitting within a downstream non-volatile cache.

### Claim 20

(canceled)

### Claim 21

A method comprising:
connecting a cache memory to a caching module, a host, and a data storage device;
generating a caching strategy with a local controller of the caching module in response to detected data storage operations; and
altering a first type of data received by the cache memory to a second type of data, as directed by the caching strategy, in response to entering a deterministic window, the second type of data being a threshold data block size.

### Claim 22 (depends on 21)

The method of claim 21, wherein the caching module predicts entering the deterministic window and alters the type of data received by the cache memory in response to said prediction.
