# US 2017/0255556 A1 · Workload detection and media cache management

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

- Number: US 2017/0255556 A1
- Document ID: US20170255556A1
- Status: Published application
- Kind: A1
- Application number: 15/058,539
- Filed: 2016-03-02
- Published: 2017-09-07
- Earliest claimed: 2016-03-02
- Assignees: Seagate Technology LLC
- Applicants: Seagate Technology LLC
- Inventors: CheeHou Peng; PohGuat Bay; HaiBo Ye; KayHee Tang
- Web page: https://patentgrep.com/patent/US20170255556A1

## CPC

- G06F 12/126: with special data handling, e.g. priority of data or instructions, handling errors or pinning
- G06F 2212/455: Image or video data
- G06F 2212/464: Multimedia object, e.g. image, video
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Implementations disclosed herein include a method comprising detecting a workload request from a host, estimating a media cache fill-up rate based on the detected workload request, estimating a current media cache usage, predicting, based on the detected workload request, the estimated media cache fill-up rate and the estimated current media cache usage, a workload profile, and determining a preemptive media cache cleaning strategy based on the predicted workload profile.

## Claims

### Claim 1

A method comprising:
detecting a workload request from a host;
estimating a media cache fill-up rate based on the detected workload request;
estimating a current media cache usage;
predicting, based on the estimated media cache fill-up rate and the estimated current media cache usage, a workload profile; and
determining a preemptive media cache cleaning strategy based on the predicted workload profile.

### Claim 2 (depends on 1)

The method of claim 1, wherein the workload request comprises random write commands.

### Claim 3 (depends on 1)

The method of claim 1, wherein the workload request comprises random read commands.

### Claim 4 (depends on 1)

The method of claim 1, wherein the workload request comprises a combination of random read commands and random write commands.

### Claim 5 (depends on 1)

The method of claim 1, wherein the workload request comprises sequential write commands.

### Claim 6 (depends on 1)

The method of claim 1, wherein the workload request comprises overlap write commands.

### Claim 7 (depends on 1)

The method of claim 1, wherein the preemptive media cache cleaning strategy includes aggressive cleaning.

### Claim 8 (depends on 1)

The method of claim 1, wherein the preemptive media cache cleaning strategy includes idle cleaning.

### Claim 9 (depends on 1)

The method of claim 1, wherein the preemptive media cache cleaning strategy includes conservative cleaning.

### Claim 10 (depends on 1)

The method of claim 1, wherein the preemptive media cache cleaning strategy includes moderate cleaning.

### Claim 11

A system comprising:
a storage media;
a workload detector configured to detect a workload request from a host;
a resources detector configured to estimate a media cache fill-up rate and a current media cache usage;
a storage controller configured to predict, based on the estimated media cache fill-up rate and the estimated current media cache usage, a workload profile; and
the storage controller further configured to determine a preemptive media cache cleaning strategy based on the predicted workload profile.

### Claim 12 (depends on 11)

The system of claim 11, wherein the workload request is one of random write commands, random read commands, a combination of random read commands and random write commands, sequential write commands, and overlap write commands.

### Claim 13 (depends on 11)

The system of claim 11, wherein the preemptive media cache cleaning strategy includes one of aggressive cleaning, idle cleaning, conservative cleaning, and moderate cleaning.

### Claim 14 (depends on 11)

The system of claim 11, further comprising a table configured to correlate the predicted workload profile with the preemptive media cache cleaning strategy.

### Claim 15

One or more computer-readable storage media encoding computer-executable instructions for executing on a computer system a computer process that reads only used shingled data tracks adjacent to a target track location, the computer process comprising:
detecting a workload request from a host;
estimating a media cache fill-up rate based on the detected workload request;
estimating a current media cache usage;
predicting, based on the estimated media cache fill-up rate and the estimated current media cache usage, a workload profile; and
determining a preemptive media cache cleaning strategy based on the predicted workload profile.

### Claim 16 (depends on 15)

The one or more computer-readable storage media of claim 15, wherein the workload request comprises at least one of random write commands, random write commands, a combination of random read commands and random write commands, sequential write commands, and overlap write commands.

### Claim 17 (depends on 15)

The one or more computer-readable storage media of claim 15, wherein the preemptive media cache cleaning strategy further comprising:
determining the workload request to be massive random read and write (mrrw) commands; and
moderately delaying the mrrw command by a predetermined throttle time period prior to processing the mrrw command.

### Claim 18 (depends on 17)

The one or more computer-readable storage media of claim 17, wherein the predetermined throttle time period is substantially equal to 32 ms.

### Claim 19 (depends on 16)

The one or more computer-readable storage media of claim 16, wherein the the preemptive media cache cleaning strategy further comprising:
determining the workload request to be a massive random write (mrw) command; and
aggressively delaying the mrw command by a predetermined throttle time period prior to processing the mrw command.

### Claim 20 (depends on 23)

The one or more computer-readable storage media of claim 23, wherein the predetermined throttle time period is substantially equal to 16 ms.
