Dynamically changing a buffer flush threshold of a tape drive based on historical transaction size
AssigneeInternational Business Machines Corporation
InventorsScott M. Fry, James M. Karp, Takashi Katagiri
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsScott M. Fry, James M. Karp, Takashi Katagiri
Estimating the term…
According to one embodiment, a method for dynamically changing a buffer threshold in a tape drive includes determining that a drive buffer is emptied of data, calculating a write size indicating an amount of data from a transaction size left to be written to a tape prior to a next anticipated sync command, setting a buffer threshold that triggers a back hitch to a smaller value when the transaction size is less than a buffer size, setting the buffer threshold to the smaller value when an absolute difference between the transaction size and the write size is greater than or equal to the buffer size, and setting the buffer threshold to a larger value when the transaction size is not less than the buffer size and/or the absolute difference between the transaction size and the write size is less than the buffer size.
A tape drive, comprising a drive buffer, a processor, and logic integrated with and/or executable by the processor, the logic being configured to cause the processor to:
A computer program product for dynamically changing a buffer threshold in a tape drive, the computer program product comprising a non-transitory computer readable storage medium having program code embodied therewith, the program code readable/executable by a processor to:
A method for dynamically changing a buffer threshold in a tape drive, the method comprising:
Dependencies are inferred from the claim text.