Apparatus and method for sorting disk commands on energy used by the disk commands
AssigneeSeagate Technology LLC
InventorJeffrey V. DeRosa
Life of this patent
Estimating the term…
Abstract
For each seek command of a plurality of seek commands of a hard disk drive, a correction value is determined that adjusts an access time of the seek command. The correction value includes a scaling factor that adjusts an energy variable. The scaling factor is based on a power target of the hard disk drive, and the energy variable may represent an energy used in the seek command as a time value. The seek commands are sorted in a command queue by the adjusted access times. The seek commands are executed by a controller of the hard disk drive based on the sorting within the command queue.
Claims20
A method, comprising:
- for each seek command of a plurality of seek commands of a hard disk drive, determining a correction value that comprises a scaling factor that adjusts an energy variable, the scaling factor being based on a power target of the hard disk drive, the energy variable representing an energy used in the seek command as a time value;
- determining that the correction value exceeds a single revolution overhead, and in response, recalculating the correction value by recalculating the energy variable with the single revolution overhead added to an access time of the seek command;
- adding the recalculated correction value to an access time associated with the seek command to obtain an adjusted access time;
- and
- sorting the seek commands in a command queue by the adjusted access times, the seek commands being executed by a controller of the hard disk drive based on the sorting within the command queue.
A method, comprising:
- for each seek command of a plurality of seek commands of a hard disk drive, determining a correction value that comprises a scaling factor that adjusts an energy variable, the scaling factor being based on a power target of the hard disk drive, the energy variable representing an energy used in the seek command as a time value;
- adding the correction value to an access time associated with the seek command to obtain an adjusted access time;
- sorting the seek commands in a command queue by the adjusted access times, the seek commands being executed by a controller of the hard disk drive based on the sorting within the command queue;
- determining an estimated energy use of the hard disk drive while executing the seek commands for a unit of time using a control model that includes the scaling factor;
- determining an actual energy use of the hard disk drive for the unit of time when executing the seek commands;
- and
- based on a difference between the estimated energy use and the actual energy use, adaptively updating the scaling factor so that the model more closely predicts the actual energy use.
A method, comprising:
- for each seek command of a plurality of seek commands of a hard disk drive:
- determining an original access time and a priority of the seek command;
- based on the priority of the seek command being below a threshold:
- determining a correction value that comprises a scaling factor that adjusts an energy variable, the scaling factor being based on a power target of the hard disk drive, the energy variable representing an energy used in the seek command as a time value;
- and
- adding the correction value to the original access time to obtain an adjusted access time;
- and
- sorting the seek commands in one or more command queues by the adjusted access times for those seek commands with the priority below the threshold, otherwise sorting the seek command in the one or more command queues by the original access time for those seek commands with the priority above or equal to the threshold, the seek commands being executed by a controller of the hard disk drive based on the sorting within one or more command queues.
Dependencies are inferred from the claim text.