Write procedure using estimated best setting in first run
First Claim
1. A computer program product for implementing write procedures using an estimated best setting in a first run, the computer program product comprising a computer readable storage medium having program instructions executable by a tape drive to cause the tape drive to perform a method comprising:
- receiving, at the tape drive, a request for a write operation to be performed in the tape drive;
determining, by the tape drive, an expected transaction size of a next write operation;
comparing, by the tape drive, the expected transaction size of the next write operation to each of a first transaction size threshold and a second transaction size threshold in response to receiving the request;
determining, by the tape drive, an optimum a write procedure based at least in part on the comparison; and
invoking, by the tape drive, the optimum write procedure in response to determining the optimum write procedure,wherein the first transaction size threshold is greater than the second transaction size threshold, andwherein the optimum write procedure is one of a plurality of candidate write procedures selected from;
a backhitch write procedure, a same wrap backhitchless flush (SWBF) write procedure, and a recursively accumulating backhitchless flush (RABF) write procedure.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer program product includes a computer readable storage medium having program instructions executable by a tape drive to cause the tape drive to perform a method comprising: receiving, at the tape drive, a request for a write operation to be performed in the tape drive; determining, by the tape drive, an expected transaction size of a next write operation; comparing, by the tape drive, the expected transaction size of the next write operation to each of a first transaction size threshold and a second transaction size threshold in response to receiving the request; determining, by the tape drive, an optimum a write procedure based at least in part on the comparison; and invoking, by the tape drive, the optimum write procedure in response to determining the optimum write procedure.
-
Citations
20 Claims
-
1. A computer program product for implementing write procedures using an estimated best setting in a first run, the computer program product comprising a computer readable storage medium having program instructions executable by a tape drive to cause the tape drive to perform a method comprising:
-
receiving, at the tape drive, a request for a write operation to be performed in the tape drive; determining, by the tape drive, an expected transaction size of a next write operation; comparing, by the tape drive, the expected transaction size of the next write operation to each of a first transaction size threshold and a second transaction size threshold in response to receiving the request; determining, by the tape drive, an optimum a write procedure based at least in part on the comparison; and invoking, by the tape drive, the optimum write procedure in response to determining the optimum write procedure, wherein the first transaction size threshold is greater than the second transaction size threshold, and wherein the optimum write procedure is one of a plurality of candidate write procedures selected from;
a backhitch write procedure, a same wrap backhitchless flush (SWBF) write procedure, and a recursively accumulating backhitchless flush (RABF) write procedure. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer program product for implementing write procedures using an estimated best setting in a first run, the computer program product comprising a computer readable storage medium having program instructions executable by a tape drive to cause the tape drive to perform a method, comprising:
-
receiving, at the tape drive, a request for a write operation to be performed in the tape drive; determining, by the tape drive, an optimum a write procedure from among a plurality of candidate write procedures, the plurality of candidate write procedures comprising; a backhitch (BH) write procedure, a same wrap backhitchless flush (SWBF) write procedure, and a recursively accumulating backhitchless flush (RABF) write procedure; and invoking, by the tape drive, the determined optimum write procedure in response to determining the optimum write procedure, wherein the determining is based at least in part on; an expected writing time for each of the plurality of candidate write procedures; an expected time remaining until a next write operation; and an expected transaction size of the next write operation.
-
-
20. A computer program product for implementing write procedures using an estimated best setting in a first run, the computer program product comprising a computer readable storage medium having program instructions executable by a tape drive to cause the tape drive to perform a method comprising:
-
receiving, at the tape drive, a request for a write operation to be performed in the tape drive; determining, by the tape drive, an optimum a write procedure in response to receiving the request, the determining comprising; determining a capacity margin ratio; determining an expected transaction size of a next write operation; calculating an expected writing time for each of a backhitch write procedure, a same wrap backhitchless flush (SWBF) write procedure, and a recursively accumulating backhitchless flush (RABF) write procedure; determining an expected time remaining until the next write operation; and selecting the optimum write procedure based on at least one of;
the backhitch write procedure expected writing time, the SWBF write procedure expected writing time, the RABF write procedure expected writing time, the expected transaction size of the next write operation, the capacity margin ratio, and the expected time remaining until the next write operation; andinvoking the optimum write procedure based on the selection, wherein the SWBF write procedure is selected as the optimum write procedure in response to one of the following sets of conditions being satisfied; the expected transaction size of the next write operation is greater than a first transaction size threshold, the SWBF write procedure expected writing time is less than the backhitch write procedure expected writing time, the expected time remaining until the next write operation is less than the SWBF write procedure expected writing time and the capacity margin ratio is greater than about 7.0%; and the expected transaction size of the next write operation is less than the first transaction size threshold and greater than a second transaction size threshold, the SWBF write procedure expected writing time is less than the backhitch write procedure expected writing time, the expected time remaining until the next write operation is less than the SWBF write procedure expected writing time and the capacity margin ratio is greater than about 7.0%, wherein the RABF write procedure is selected as the optimum write procedure in response to one of the following conditions being satisfied; the expected transaction size of the next write operation is less than the second transaction size threshold; the expected transaction size of the next write operation is less than the first transaction size threshold and greater than the second transaction size threshold and the capacity margin ratio is less than about 7.0%; and the expected transaction size of the next write operation is less than the first transaction size threshold and greater than the second transaction size threshold, the expected time remaining until the next write operation is greater than the SWBF write procedure expected writing time and the capacity margin ratio is greater than about 7.0%, and wherein the backhitch write procedure is selected as the optimum write procedure in response to one of the following conditions being satisfied; the expected transaction size of the next write operation is greater than the first transaction size threshold and the capacity margin ratio is less than about 7.0%; the expected transaction size of the next write operation is greater than the first transaction size threshold, the SWBF expected writing time of the next write operation is greater than the backhitch write procedure expected writing time and the capacity margin ratio is greater than about 7.0%; and the expected transaction size of the next write operation is greater than the first transaction size threshold, the SWBF expected writing time of the next write operation is less than the backhitch write procedure expected writing time, the capacity margin ratio is greater than about 7.0% and the expected time remaining until the next write operation is greater than the SWBF write procedure expected writing time.
-
Specification