# US 2008/0189452 A1 · Storage subsystem with configurable buffer

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

- Number: US 2008/0189452 A1
- Document ID: US20080189452A1
- Status: Published application
- Kind: A1
- Application number: 11/672,435
- Filed: 2007-02-07
- Published: 2008-08-07
- Earliest claimed: 2007-02-07
- Assignees: SiliconSystems, Inc.
- Inventors: David E. Merry; Mark S. Diggs
- Web page: https://patentgrep.com/patent/US20080189452A1

## CPC

- G06F 3/0656: {Data buffering arrangements}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G11B 19/044: {by using a data buffer}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11B: INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER (recording measured values in a way that does not require playback through a transducer G01D9/00; recording or playback apparatus using mechanically marked tape, e.g. punched paper tape, or using unit records, e.g. punched or magnetically marked cards G06K; transferring data from one type of record carrier to another G06K1/18; circuits for coupling output of reproducer to radio receiver H04B1/20; gramophone pick-ups or like acoustic electromechanical transducers or circuits therefor H04R)

## Abstract

A storage subsystem includes a variable-size write buffer that temporarily stores write data received from a host system. The storage subsystem is capable of adjusting the size of the write buffer so as to vary both the performance (e.g., sustained write speed) of the storage subsystem and a risk of data loss. In one embodiment, the storage subsystem implements a command set that enables the host system to directly control the size of the write buffer. The storage subsystem may additionally or alternatively be capable of adjusting the size of the write buffer based on monitored operating conditions, such as the temperature, the stability/consistency of a power signal received from the host system, and/or the elapsed time since the storage subsystem was last powered up.

## Claims

### Claim 1

A storage subsystem, comprising:
a controller coupled to non-volatile storage, said controller capable of writing data to, and reading data from, the non-volatile storage in response to commands received by the storage subsystem from a host system; and
a volatile memory coupled to the controller, wherein the controller is configured to implement a write buffer in said volatile memory to buffer write data received from the host system on write operations, and to transfer said write data from the write buffer to the non-volatile storage, said buffer memory being capable of receiving data as a higher rate than the non-volatile storage, such that the storage subsystem is capable of receiving write data from the host system at a rate that exceeds a write speed of the non-volatile storage;
wherein the controller is configured to adjust a size of the write buffer so as to vary both a sustained write speed of the storage subsystem and a risk of data loss.

### Claim 2 (depends on 1)

The storage subsystem of claim 1, wherein the controller implements a command set that enables the host system to control the size of the write buffer.

### Claim 3 (depends on 2)

The storage subsystem of claim 2, wherein the command set includes standard ATA storage access commands, and includes a non-standard command that enables the host to specify the size of the write buffer.

### Claim 4 (depends on 2)

The storage subsystem of claim 2, wherein the command set enables the host system to allocate a relatively large quantity of said buffer memory to individual write operations to increase a sustained write speed of the storage subsystem, and enables the host system to allocate a relatively small quantity of said buffer memory to individual write operations to reduce a risk of data loss.

### Claim 5 (depends on 2)

The storage subsystem of claim 2, in combination with a host system configured to vary the size of the write buffer based on a type of data being written to the storage subsystem.

### Claim 6 (depends on 1)

The storage subsystem of claim 1, wherein the controller implements a command set that enables the host system to place the storage subsystem into a mode in which the storage subsystem automatically adjusts the size of the write buffer.

### Claim 7 (depends on 6)

The storage subsystem of claim 6, wherein the controller automatically adjusts the size of said write buffer based, at least in part, on attributes of write commands received from the host system.

### Claim 8 (depends on 6)

The storage subsystem of claim 6, wherein the command set additionally enables the host system to cause the controller to subdivide the write buffer into multiple blocks that are used to concurrently to handle write operations.

### Claim 9 (depends on 1)

The storage subsystem of claim 1, wherein the storage subsystem includes a temperature sensor, and the controller automatically adjusts the size of said write buffer based, at least in part, on a temperature reading from said temperature sensor.

### Claim 10 (depends on 1)

The storage subsystem of claim 1, wherein the storage subsystem collects usage statistics reflective of the wear level of the non-volatile storage, and takes said usage statistics into consideration in selecting the size of the write buffer.

### Claim 11 (depends on 1)

The storage subsystem of claim 1, wherein the controller automatically adjusts the size of said write buffer based, at least in part, on a consistency of a power signal received from the host system.

### Claim 12 (depends on 1)

The storage subsystem of claim 1, wherein the controller automatically adjusts the size of said write buffer based, at least in part, on a length of time that has elapsed since the storage subsystem was last powered up.

### Claim 13 (depends on 1)

The storage subsystem of claim 1, wherein the non-volatile storage comprises non-volatile solid state memory devices.

### Claim 14 (depends on 1)

The storage subsystem as in claim 1, wherein the controller, non-volatile storage, and volatile memory are housed within a housing that complies with a standard form factor used for memory cards.

### Claim 15 (depends on 14)

The storage subsystem as in claim 14, wherein the standard form factor is one of the following: CompactFlash, SecureDigital, PCMCIA, MultiMediaCard, SmartMedia, Memory Stick.

### Claim 16

A method performed by a storage subsystem to handling write operations, the method comprising:
receiving write data from a host system, and storing the write data in a variable-size write buffer implemented in a volatile memory of the storage subsystem;
moving the write data from the write buffer to non-volatile storage of the storage subsystem, and signaling to the host system when the write buffer is available to receive additional write data; and
adjusting a size of the write buffer over time to vary a sustained write speed of the storage subsystem and an associated risk of data loss.

### Claim 17 (depends on 16)

The method of claim 16, wherein the step of adjusting the size of the write buffer is performed in response to receiving a command from the host system, said command specifying the size of the write buffer.

### Claim 18 (depends on 16)

The method of claim 16, wherein the step of adjusting the size of the write buffer is performed by the storage subsystem based, at least in part, on a temperature reading.

### Claim 19 (depends on 16)

The method of claim 16, wherein the step of adjusting the size of the write buffer is performed by the storage subsystem based, at least in part, on a consistency of a power signal received from the host system.

### Claim 20 (depends on 16)

The method of claim 16, wherein the step of adjusting the size of the write buffer is performed by the storage subsystem based, at least in part, on an elapsed time since the storage subsystem was last powered up.

### Claim 21 (depends on 16)

The method of claim 16, wherein the step of adjusting the size of the write buffer is performed based, at least in part, on a type of data being written to the storage subsystem.

### Claim 22 (depends on 16)

The method of claim 16, wherein the step of adjusting the size of the write buffer is performed based, at least in part, on an output of a vibration sensor.

### Claim 23 (depends on 16)

The method of claim 16, wherein the step of adjusting the size of the write buffer is performed based, at least in part, on data regarding a current wear level of the non-volatile storage.
