US 12,293,075 B1
Task adjustment for uniform performance of drives
Matthew G. Borlick, Tucson, AZ (US); Beth Ann Peterson, Tucson, AZ (US); Lokesh Mohan Gupta, Tucson, AZ (US); and Clint A. Hardy, Tucson, AZ (US)
Assigned to INTERNATIONAL BUSINESSCORPORATION, Armonk, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Oct. 16, 2023, as Appl. No. 18/487,426.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0607 (2013.01) [G06F 3/0631 (2013.01); G06F 3/0689 (2013.01)] 17 Claims
OG exemplary drawing
 
1. A computer program product, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations for:
creating arrays for different drive types, wherein drives in each of the arrays are certified at a same performance level and are of a same drive type;
running performance benchmarks for each of the arrays to compute a stage maximum value and a destage maximum value for each of the drive types;
at run time, in response to determining that a mode indictor indicates a uniform performance mode,
setting a maximum number of stage Task Control Blocks (TCBs) to a stage maximum uniform value that comprises a minimum of the stage maximum values obtained across the drive types;
setting a maximum number of destage TCBs to a destage maximum uniform value that comprises a minimum of the destage maximum values obtained across the drive types; and
adding a first delay to completion of a stage and a second delay to completion of a destage for uniform performance across the drive types;
performing the stage of first data using an actual number of stage TCBs that do not exceed the maximum number of stage TCBs and based on the first delay; and
performing the destage of second data using an actual number of destage TCBs that do not exceed the maximum number of destage TCBs and based on the second delay.