Write procedure using estimated best setting in first run
First Claim
Patent Images
1. A method, comprising:
- receiving a request for a write operation to be performed in a tape drive;
determining a capacity margin ratio of the tape drive;
determining an optimum a write procedure based at least in part on the capacity margin ratio, wherein determining the optimum write procedure comprises;
calculating an expected writing time for each of a backhitch write procedure, a SWBF write procedure, and a RABF write procedure;
determining an expected time remaining until a 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 capacity margin ratio, and the expected time remaining until the next write operation; and
invoking the optimum write procedure in response to determining the optimum write procedure, andwherein the optimum write procedure is selected from the group consisting of;
the backhitch write procedure, the same wrap backhitchless flush (SWBF) write procedure, and the recursively accumulating backhitchless flush (RABF) write procedure.
1 Assignment
0 Petitions
Accused Products
Abstract
In one general embodiment, a method includes receiving a request for a write operation to be performed in a tape drive; determining a capacity margin ratio of the tape drive; determining an optimum a write procedure based at least in part on the capacity margin ratio; and invoking the optimum write procedure in response to determining the optimum write procedure. The optimum write procedure is selected from the group consisting of: a backhitch write procedure, a same wrap backhitchless flush (SWBF) write procedure, and a recursively accumulating backhitchless flush (RABF) write procedure. Systems and computer program products configured to perform similar techniques are also disclosed.
18 Citations
19 Claims
-
1. A method, comprising:
-
receiving a request for a write operation to be performed in a tape drive; determining a capacity margin ratio of the tape drive; determining an optimum a write procedure based at least in part on the capacity margin ratio, wherein determining the optimum write procedure comprises; calculating an expected writing time for each of a backhitch write procedure, a SWBF write procedure, and a RABF write procedure; determining an expected time remaining until a 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 capacity margin ratio, and the expected time remaining until the next write operation; andinvoking the optimum write procedure in response to determining the optimum write procedure, and wherein the optimum write procedure is selected from the group consisting of;
the backhitch write procedure, the same wrap backhitchless flush (SWBF) write procedure, and the 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. A computer program product comprising a non-transitory computer readable program medium having stored thereon computer readable program instructions configured to cause a tape storage system to perform a method comprising:
-
receiving a request for a write operation to be performed in a tape drive; determining a capacity margin ratio of the tape drive; determining an optimum a write procedure based at least in part on the capacity margin ratio; and invoking the optimum write procedure in response to determining the optimum write procedure, wherein the optimum write procedure is selected from the group consisting of;
a backhitch write procedure, a same wrap backhitchless flush (SWBF) write procedure, and a recursively accumulating backhitchless flush (RABF) write procedure; andwherein determining the optimum write procedure comprises; calculating an expected writing time for each of the backhitch write procedure, the SWBF write procedure, and the RABF write procedure; determining an expected time remaining until a 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 capacity margin ratio, and the expected time remaining until the next write operation.
-
-
19. A method, comprising:
-
receiving a request for a write operation to be performed in a tape drive; determining an expected transaction size of a next write operation; comparing 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 an optimum a write procedure based at least in part on a result of the comparing; and invoking 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, wherein the optimum write procedure is selected from the group consisting of;
a backhitch write procedure, a same wrap backhitchless flush (SWBF) write procedure, and a recursively accumulating backhitchless flush (RABF) write procedure,wherein determining the optimum write procedure comprises; determining a capacity margin ratio; calculating an expected writing time for each of the backhitch write procedure, the SWBF write procedure, and the 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.
-
Specification