主权项 |
1. A data storage device that accepts read and write commands from a host system, comprising:
an unsequenced commands memory, configured to store the read and write commands; a time-distance calculator, configured to calculate the time-distances between every pair of commands stored in the unsequenced commands memory, each pair comprising first and second commands, wherein the time-distance is defined as the minimum possible time between execution of the first command and then the second command; a sequenced commands queue, configured to store commands for processing in a first-in-first-out sequence for processing; a command selector, configured to transfer commands from the unsequenced commands memory to the sequenced commands queue according to a predetermined native command queueing algorithm; and an input/output scheduler, configured to schedule the sequential execution of the commands stored in the sequenced commands queue. |