Method and system for ordering priority commands on a commodity disk drive
First Claim
Patent Images
1. A method for determining whether to issue a command from a disk controller to a disk drive, said disk controller maintaining a pending workload value that represents a pending workload of said disk drive, said command having an associated priority level, said disk controller performing the steps of:
- (A) determining whether said priority level is greater than or equal to a threshold priority level;
(B) determining whether said pending workload value is less than a first threshold value, when step A determines said priority level is greater than or equal to said threshold priority level;
(C) determining whether said pending workload value is less than a second threshold value, when step A determines said priority level is not greater than or equal to said threshold priority level; and
(D) issuing said command to said disk drive when either step B determines said pending workload value is less than said first threshold value, or step C determines said pending workload value is less than said second threshold value,
wherein said second threshold value is not equal to said first threshold value, and said first threshold value and said second threshold value are selected to favor issuing said command when said priority level is greater than or equal to said threshold priority level.
1 Assignment
0 Petitions
Accused Products
Abstract
In a computer system including a disk controller and a disk drive, the disk controller determines whether to issue a command to the disk drive by considering both a priority level associated with the command, and a pending workload of the disk drive.
-
Citations
18 Claims
-
1. A method for determining whether to issue a command from a disk controller to a disk drive, said disk controller maintaining a pending workload value that represents a pending workload of said disk drive, said command having an associated priority level, said disk controller performing the steps of:
-
(A) determining whether said priority level is greater than or equal to a threshold priority level;
(B) determining whether said pending workload value is less than a first threshold value, when step A determines said priority level is greater than or equal to said threshold priority level;
(C) determining whether said pending workload value is less than a second threshold value, when step A determines said priority level is not greater than or equal to said threshold priority level; and
(D) issuing said command to said disk drive when either step B determines said pending workload value is less than said first threshold value, or step C determines said pending workload value is less than said second threshold value,
wherein said second threshold value is not equal to said first threshold value, and said first threshold value and said second threshold value are selected to favor issuing said command when said priority level is greater than or equal to said threshold priority level.- View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A disk controller that determines whether to issue a command to a disk drive, said command having an associated priority level, said disk controller comprising:
-
(A) a memory for storing a pending workload value that represents a pending workload of said disk drive;
(B) a processor for performing;
(1) a first comparison to determine whether said priority level is greater than or equal to a threshold priority level;
(2) a second comparison to determine whether said pending workload value is less than a first threshold value, when said first comparison determines that said priority level is greater than or equal to said threshold priority level;
(3) a third comparison to determine whether said pending workload value is less than a second threshold value, when said first comparison determines that said priority level is not greater than or equal to said threshold priority level; and
wherein said processor issues said command to said disk drive when either said second comparison determines said pending workload value is less than said first threshold value, or said third comparison determines said pending workload value is less than said second threshold value, and
wherein said second threshold value is not equal to said first threshold value, and said first threshold value and said second threshold value are selected to favor issuing said command when said priority level is greater than or equal to said threshold priority level.- View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A memory media that stores a program for a disk controller that determines whether to issue a command to a disk drive, said disk controller maintaining a pending workload value that represents a pending workload of said disk drive, said command having an associated priority level, said memory media comprising:
-
(A) means for controlling said disk controller to determine whether said priority level is greater than or equal to a threshold priority level;
(B) means for controlling said disk controller to determine whether said pending workload value is less than a first threshold value, when means A determines said priority level is greater than or equal to said threshold priority level;
(C) means for controlling said disk controller to determine whether said pending workload value is less than a second threshold value, when means A determines said priority level is not greater than or equal to said threshold priority level; and
(D) means for controlling said disk controller to issue said command to said disk drive when either means B determines said pending workload value is less than said first threshold value, or means C determines said pending workload value is less than said second threshold value,
wherein said second threshold value is not equal to said first threshold value, and said first threshold value and said second threshold value are selected to favor issuing said command when said priority level is greater than or equal to said threshold priority level.- View Dependent Claims (14, 15, 16, 17, 18)
-
Specification