# US 2013/0086302 A1 · Enabling Throttling on Average Write Throughput for Solid State Storage Devices

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

- Number: US 2013/0086302 A1
- Document ID: US20130086302A1
- Status: Published application
- Kind: A1
- Application number: 13/250,416
- Filed: 2011-09-30
- Published: 2013-04-04
- Earliest claimed: 2011-09-30
- Assignees: International Business Machines Corporation
- Inventors: Gary A. Tressler; Andrew D. Walls
- Web page: https://patentgrep.com/patent/US20130086302A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0655: {Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 2206/1014: One time programmable [OTP] memory, e.g. PROM, WORM
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A mechanism is provided for enabling throttling on average write throughput instead of peak write throughput for solid-state storage devices. The mechanism assures an average write throughput within a range but allows excursions of high throughput with periods of low throughput offsetting against those of heavy usage. The mechanism periodically determines average throughput and determines whether average throughput exceeds a high throughput threshold for a certain amount of time without being offset by periods of low throughput.

## Claims

### Claim 1

A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
for each given period of time, determine average write throughput to a solid-state storage device over the given period of time;
determine a first amount of time that average write throughput is high;
determine a second amount of time that average write throughput is low; and
throttle write throughput to the solid-state storage device based on a comparison of the first amount of time and the second amount of time.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein determining the first amount of time that average write throughput is high comprises incrementing a time register for each period of time average write throughput to the solid-state storage device over the given period of time is greater than a high throughput threshold; and
wherein determining the first amount of time that average write throughput is low comprises decrementing the time register for each period of time average write throughput to the solid-state storage device over the given period of time is less than a low throughput threshold.

### Claim 3 (depends on 2)

The computer program product of claim 2, wherein incrementing the time register comprises incrementing the time register by the given period of time.

### Claim 4 (depends on 2)

The computer program product of claim 2, wherein decrementing the time register comprises decrementing the time register by the given period of time.

### Claim 5 (depends on 2)

The computer program product of claim 2, wherein throttling write throughput to the solid-state storage device based on the comparison of the first amount of time and the second amount of time comprises:
responsive to the time register exceeding a high throttle threshold, setting throttling on write throughput to the solid-state storage device.

### Claim 6 (depends on 5)

The computer program product of claim 5, wherein throttling write throughput to the solid-state storage device based on the comparison of the first amount of time and the second amount of time comprises:
responsive to the time register falling below a low throttle threshold, removing throttling on write throughput to the solid-state storage device.

### Claim 7 (depends on 2)

The computer program product of claim 2, wherein the computer readable program further causes the computing device to:
responsive to determining the average write throughput is low for a predetermined amount of time, dynamically adjust the high throughput threshold or the high throttle threshold.

### Claim 8 (depends on 2)

The computer program product of claim 2, wherein the computer readable program further causes the computing device to:
determine the low throughput threshold, the high throughput threshold, the low throttle threshold, and the high throttle threshold based on a user configurable policy.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the user configurable policy defines one of a user-defined device lifetime, a user-defined performance level, or a user-defined throttle level.

### Claim 10 (depends on 1)

The computer program product of claim 1, wherein determining average write throughput to a solid-state storage device over the given period of time comprises determining a rate at which data is written to flash devices within the solid-state storage device.

### Claim 11 (depends on 1)

The computer program product of claim 1, wherein determining average write throughput to a solid-state storage device over the given period of time comprises dividing an amount of data and metadata written to solid-state memory of the solid-state storage device by the given period of time.

### Claim 12 (depends on 1)

The computer program product of claim 1, wherein determining the first amount of time that average write throughput is high and determining the second amount of time that average write throughput is low comprises tracking the first amount of time relative to the second amount of time using a single time register.

### Claim 13 (depends on 1)

The computer program product of claim 1, wherein the computer readable program is stored in a computer readable storage medium in a data processing system and wherein the computer readable program was downloaded over a network from a remote data processing system.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the computer readable program is stored in a computer readable storage medium in a server data processing system and wherein the computer readable program is downloaded over a network to a remote data processing system for use in a computer readable storage medium with the remote system.

### Claim 15

A solid-state storage device, comprising:
a controller; and
a solid-state memory coupled to the controller, wherein the controller is configured to:
for each given period of time, determine average write throughput to the solid-state memory over the given period of time;
determine a first amount of time that average write throughput is high;
determine a second amount of time that average write throughput is low; and
throttle write throughput to the solid-state memory based on a comparison of the first amount of time and the second amount of time.

### Claim 16 (depends on 15)

The solid-state storage device of claim 15, wherein determining the first amount of time that average write throughput is high comprises incrementing a time register for each period of time average write throughput to the solid-state storage device over the given period of time is greater than a high throughput threshold; and
wherein determining the first amount of time that average write throughput is low comprises decrementing the time register for each period of time average write throughput to the solid-state storage device over the given period of time is less than a low throughput threshold.

### Claim 17 (depends on 16)

The solid-state storage device of claim 16, wherein throttling write throughput to the solid-state storage device based on the comparison of the first amount of time and the second amount of time comprises:
responsive to the time register exceeding a high throttle threshold, setting throttling on write throughput to the solid-state storage device.

### Claim 18 (depends on 17)

The solid-state storage device of claim 17, wherein throttling write throughput to the solid-state storage device based on the comparison of the first amount of time and the second amount of time comprises:
responsive to the time register falling below a low throttle threshold, removing throttling on write throughput to the solid-state storage device.

### Claim 19 (depends on 16)

The solid-state storage device of claim 16, wherein the controller is further configured to:
responsive to determining the average write throughput is low for a predetermined amount of time, dynamically adjust the high throughput threshold or the high throttle threshold.

### Claim 20 (depends on 16)

The solid-state storage device of claim 16, wherein the controller is further configured to:
determine the low throughput threshold, the high throughput threshold, the low throttle threshold, and the high throttle threshold based on a user configurable policy.

### Claim 21

A method, in a data processing system, for throttling a solid-state storage device on average write throughput, the method comprising:
for each given period of time, determining average write throughput to a solid-state storage device over the given period of time;
determining a first amount of time that average write throughput is high;
determining a second amount of time that average write throughput is low; and
throttling write throughput to the solid-state storage device based on a comparison of the first amount of time and the second amount of time.

### Claim 22 (depends on 21)

The method of claim 21, wherein determining the first amount of time that average write throughput is high comprises incrementing a time register for each period of time average write throughput to the solid-state storage device over the given period of time is greater than a high throughput threshold; and
wherein determining the first amount of time that average write throughput is low comprises decrementing the time register for each period of time average write throughput to the solid-state storage device over the given period of time is less than a low throughput threshold.

### Claim 23 (depends on 22)

The method of claim 22, wherein throttling write throughput to the solid-state storage device based on the comparison of the first amount of time and the second amount of time comprises:
responsive to the time register exceeding a high throttle threshold, setting throttling on write throughput to the solid-state storage device.

### Claim 24 (depends on 23)

The method of claim 23, wherein throttling write throughput to the solid-state storage device based on the comparison of the first amount of time and the second amount of time comprises:
responsive to the time register falling below a low throttle threshold, removing throttling on write throughput to the solid-state storage device.

### Claim 25 (depends on 21)

The method of claim 21, wherein determining the first amount of time that average write throughput is high and determining the second amount of time that average write throughput is low comprises tracking the first amount of time relative to the second amount of time using a single time register.
