# US 2013/0258516 A1 · Error recovery procedure (erp) using estimated best setting in first run

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

- Number: US 2013/0258516 A1
- Document ID: US20130258516A1
- Status: Published application
- Kind: A1
- Application number: 13/436,573
- Filed: 2012-03-30
- Published: 2013-10-03
- Earliest claimed: 2012-03-30
- Assignees: International Business Machines Corporation
- Inventors: Takashi Katagiri; Pamela R. Nylander-Hill; Yutaka Oishi
- Web page: https://patentgrep.com/patent/US20130258516A1

## CPC

- G11B 15/442: {Control thereof}
- G11B 15/46: Controlling, regulating, or indicating speed {(dependent on position of tape in reserve, loop G11B15/56, G11B15/58)}
- G11B 20/18: Error detection or correction; Testing {, e.g. of drop-outs}
- G11B 2020/183: {wherein at least one additional attempt is made to read or write the data when a first attempt is unsuccessful}
- G11B 2220/90: Tape-like record carriers
- G11B 2220/956: Linear tape open [LTO] format
- 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

In one embodiment, a tape drive system includes a read channel, a write channel, logic adapted for accessing data sets using the read channel and/or the write channel, logic adapted for counting each data set access using the read channel that used error recovery procedure (ERP), logic adapted for counting each data set access using the read channel that did not use ERP, logic adapted for counting each data set access using the write channel that used ERP, logic adapted for counting each data set access using the write channel that did not use ERP, and logic adapted for accessing subsequent data sets using the read channel and/or the write channel, wherein any subsequent data set access that uses ERP is accessed using an initial ERP step characterized by a first tape speed, wherein the first tape speed is selected at least partially based on the counts.

## Claims

### Claim 1

A tape drive system, comprising:
a read channel;
a write channel;
logic adapted for accessing data sets using the read channel and/or the write channel;
logic adapted for counting each data set access using the read channel that used error recovery procedure (ERP);
logic adapted for counting each data set access using the read channel that did not use ERP;
logic adapted for counting each data set access using the write channel that used logic adapted for counting each data set access using the write channel that did not use ERP; and
logic adapted for accessing subsequent data sets using the read channel and/or the write channel, wherein any subsequent data set access that uses ERP is accessed using an initial ERP step characterized by a first tape speed, wherein the first tape speed is selected at least partially based on the counts.

### Claim 2 (depends on 1)

The tape drive system as recited in claim 1, wherein the counting is performed by incrementing a separate counter for each of: accesses through the read channel that used ERP, accesses through the read channel that did not use ERP, accesses through the write channel that used ERP, and accesses through the write channel that did not use ERP.

### Claim 3 (depends on 1)

The tape drive system as recited in claim 1, further comprising:
logic adapted for storing one of a plurality of tape speeds at which each access occurred; and
logic adapted for calculating a ratio for each of the plurality of tape speeds, the ratio equaling a number of data sets accessed without ERP at the tape speed divided by a total number of data sets accessed at the tape speed.

### Claim 4 (depends on 3)

The tape drive system as recited in claim 3, wherein the first tape speed is selected from the plurality of tape speeds preferentially in the following order:
a fastest tape speed of the plurality of tape speeds which corresponds to a highest ratio that is at least a performance threshold and for which the total number of data sets accessed is at least a count threshold;
a fastest tape speed of the plurality of tape speeds which corresponds to a highest ratio and for which the total number of data sets accessed is less than the count threshold; and
a fastest tape speed of the plurality of tape speeds which corresponds to a highest ratio that is less than the performance threshold and for which the total number of data sets accessed is at least the count threshold.

### Claim 5 (depends on 4)

The tape drive system as recited in claim 4, wherein the performance threshold is between 74 and 95% and the count threshold is less than 100.

### Claim 6 (depends on 3)

The tape drive system as recited in claim 3, further comprising logic adapted for categorizing the plurality of speeds, the logic adapted for categorizing comprising:
logic adapted for assigning any speed corresponding to a ratio that is at least a first performance threshold and for which the total number of data sets accessed is at least a count threshold to a first category;
logic adapted for assigning any speed corresponding to a ratio that is less than the first performance threshold and at least a second performance threshold and for which the total number of data sets accessed is at least the count threshold to a second category;
logic adapted for assigning any speed corresponding to a ratio that less than the second performance threshold and at least a third performance threshold and for which the total number of data sets accessed is at least the count threshold to a third category;
logic adapted for assigning any speed corresponding to a ratio that less than the third performance threshold and for which the total number of data sets accessed is at least the count threshold to a fourth category; and
logic adapted for assigning any speed for which the total number of data sets accessed is less than the count threshold to a fifth category.

### Claim 7 (depends on 6)

The tape drive system as recited in claim 6, wherein the first performance threshold is about 90%, the second performance threshold is about 80%, the third performance threshold is about 50%, and the count threshold is about 50.

### Claim 8 (depends on 1)

The tape drive system as recited in claim 1, further comprising:
a magnetic head for providing signals to the read channel and/or the write channel;
a drive mechanism adapted for passing a magnetic medium over the magnetic head; and
a controller electrically coupled to the magnetic head, the controller being adapted for controlling operation of the magnetic head.

### Claim 9

A system, comprising:
logic adapted for creating data set reading and writing statistics for a tape drive/cartridge combination, wherein the statistics comprise:
a number of data sets that were read without error recovery procedure (ERP);
a number of data sets that were read with ERP;
a number of data sets that were written without ERP;
a number of data sets that were written with ERP;
a tape speed at which each data set was read or written; and
a ratio for each tape speed, the ratio being calculated by dividing a number of data sets written or read without ERP at the tape speed by a total number of data sets written or read at the tape speed;
logic adapted for receiving a request to read or write a data set using ERP; and
logic adapted for choosing a fastest tape speed from a plurality of tape speeds which corresponds to, in preferential order: a highest ratio that is at least a second performance threshold and for which a sum of data sets read and data sets written is at least a count threshold, a highest ratio and for which the sum of data sets read and data sets written is less than the count threshold, and a highest ratio that is less than the second performance threshold and for which the stun of data sets read and data sets written is at least the count threshold.

### Claim 10 (depends on 9)

The system as recited in claim 9, wherein the second performance threshold is between 74 and 95% and the count threshold is less than 100.

### Claim 11 (depends on 9)

The system as recited in claim 9, further comprising logic adapted for categorizing the plurality of speeds, the categorizing comprising:
logic adapted for assigning any speed corresponding to a ratio that is at least a first performance threshold and for which the total data sets accessed is at least the count threshold to a first category;
logic adapted for assigning any speed corresponding to a ratio that is less than the first performance threshold and at least the second performance threshold and for which the total data sets accessed is at least the count threshold to a second category;
logic adapted for assigning any speed corresponding to a ratio that less than the second performance threshold and at least a third performance threshold and for which the total data sets accessed is at least the count threshold to a third category;
logic adapted for assigning any speed corresponding to a ratio that less than the third performance threshold and for which the total data sets accessed is at least the count threshold to a fourth category; and
logic adapted for assigning any speed for which the total data sets accessed is less than the count threshold to a fifth category.

### Claim 12 (depends on 11)

The system as recited in claim 11, wherein the first performance threshold is about 90%, the second performance threshold is about 80%, the third performance threshold is about 50%, and the count threshold is about 50, and wherein the logic adapted for choosing the fastest tape speed from the plurality of tape speeds further comprises logic adapted for selecting a fastest tape speed from, in preferential order: the first category, the second category, the fifth category, the third category, and the fourth category.

### Claim 13

A method, comprising:
accessing data sets using a tape drive, wherein the accessing comprises at least one of reading and writing;
counting each data set read that used error recovery procedure (ERP);
counting each data set read that did not use ERP;
counting each data set write that used ERP;
counting each data set write that did not use ERP; and
accessing subsequent data sets, wherein any subsequent data set access that uses ERP is accessed using an initial ERP step characterized by a first tape speed, wherein the first tape speed is selected at least partially based on the counts.

### Claim 14 (depends on 13)

The method as recited in claim 13, further comprising:
storing one of a plurality of tape speeds at which each read or write occurred; and
calculating a ratio for each of the plurality of tape speeds, the ratio equaling a number of data sets accessed without ERP at the tape speed divided by a total number of data sets accessed at the tape speed.

### Claim 15 (depends on 14)

The method as recited in claim 14, wherein the first tape speed is selected from the plurality of tape speeds preferentially in the following order:
a fastest tape speed of the plurality of tape speeds which corresponds to a highest ratio that is at least a performance threshold and for which the total number of data sets accessed is at least a count threshold;
a fastest tape speed of the plurality of tape speeds which corresponds to a highest ratio and for which the total number of data sets accessed is less than the count threshold; and
a fastest tape speed of the plurality of tape speeds which corresponds to a highest ratio that is less than the performance threshold and for which the total number of data sets accessed is at least the count threshold.

### Claim 16 (depends on 15)

The method as recited in claim 15, wherein the performance threshold is between 74 and 95% and the count threshold is less than 100.

### Claim 17 (depends on 14)

The method as recited in claim 14, further comprising categorizing the plurality of speeds, the categorizing comprising:
assigning any speed corresponding to a ratio that is at least a first performance threshold and for which the total data sets accessed is at least a count threshold to a first category;
assigning any speed corresponding to a ratio that is less than the first performance threshold and at least a second performance threshold and for which the total data sets accessed is at least the count threshold to a second category;
assigning any speed corresponding to a ratio that less than the second
performance threshold and at least a third performance threshold and for which the total data sets accessed is at least the count threshold to a third category;
assigning any speed corresponding to a ratio that less than the third performance threshold and for which the total data sets accessed is at least the count threshold to a fourth category; and
assigning any speed for which the total data sets accessed is less than the count threshold to a fifth category.

### Claim 18 (depends on 17)

The method as recited in claim 17, wherein the first performance threshold is about 90%, the second performance threshold is about 80%, the third performance threshold is about 50%, and the count threshold is about 50.

### Claim 19

A method, comprising:
creating data set reading and writing statistics for a tape drive/cartridge combination, wherein the statistics comprise:
a number of data sets that were read without error recovery procedure (ERP);
a number of data sets that were read with ERP;
a number of data sets that were written without ERP;
a number of data sets that were written with ERP;
a tape speed at which each data set was read or written; and
a ratio for each tape speed, the ratio being calculated by dividing a number of data sets written or read without ERP at the tape speed by a total number of data sets written or read at the tape speed;
receiving a request to read or write a data set using ERP; and
choosing a fastest tape speed from a plurality of tape speeds which corresponds to, in preferential order: a highest ratio that is at least a second performance threshold and for which a sum of data sets read and data sets written is at least a count threshold, a highest ratio and for which the sum of data sets read and data sets written is less than the count threshold, and a highest ratio that is less than the second performance threshold and for which the sum of data sets read and data sets written is at least the count threshold.

### Claim 20 (depends on 19)

The method as recited in claim 19, wherein the second performance threshold is between 74 and 95% and the count threshold is less than 100.

### Claim 21 (depends on 19)

The method as recited in claim 19, further comprising categorizing the plurality of speeds, the categorizing comprising:
assigning any speed corresponding to a ratio that is at least a first performance threshold and for which the total data sets accessed is at least the count threshold to a first category;
assigning any speed corresponding to a ratio that is less than the first performance threshold and at least the second performance threshold and for which the total data sets accessed is at least the count threshold to a second category;
assigning any speed corresponding to a ratio that less than the second performance threshold and at least a third performance threshold and for which the total data sets accessed is at least the count threshold to a third category;
assigning any speed corresponding to a ratio that less than the third performance threshold and for which the total data sets accessed is at least the count threshold to a fourth category; and
assigning any speed for which the total data sets accessed is less than the count threshold to a fifth category.

### Claim 22 (depends on 21)

The method as recited in claim 21, wherein the first performance threshold is about 90%, the second performance threshold is about 80%, the third performance threshold is about 50%, and the count threshold is about 50.

### Claim 23 (depends on 22)

The method as recited in claim 22, wherein the choosing the fastest tape speed from the plurality of tape speeds further comprises selecting a fastest tape speed from, in preferential order: the first category, the second category, the fifth category, the third category, and the fourth category.
