CPC G11B 19/02 (2013.01) | 11 Claims |
1. A magnetic disk device comprising:
a disk;
a head writing data to the disk and reading data from the disk;
a command queue temporarily storing one or more commands received;
a command residence time calculation unit calculating a residence time of each of the commands in the command queue;
a command information calculation unit calculating the number of the commands in the command queue, and a ratio of read commands to write commands in the command queue;
a limit time determination unit obtaining a latency limit time corresponding to the number of commands and the ratio, from among a plurality of latency limit times in a latency limit time determination table; and
a command selection processing unit selecting a command to be executed, by considering the latency limit time obtained by the limit time determination unit.
|