File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
keps/sig-api-machinery/1040-priority-and-fairness Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,12 @@ list of queue indices excluding I[0]. I[2] is the A[2]’th entry in
394
394
the list of queue indices excluding I[ 0] and I[ 1] . And so on.
395
395
396
396
The lengths of the queues identified by I[ 0] , I[ 1] , … I[ H-1] are
397
- examined, and the request is put in one of the shortest queues.
397
+ examined, and the request is put in one of the queues holding the
398
+ least amount of work. Originally this was just a matter of examining
399
+ queue length. With the generalizations for width and extra latency,
400
+ the work in a queue is the sum of the work in its waiting requsts.
401
+ The work in a request is the product of its width and its total
402
+ estimated execution duration (including extra latency).
398
403
399
404
For example, if a RequestPriority has numQueues=128 and handSize=6,
400
405
the hash value V is converted into 6 unique queue indices plus
You can’t perform that action at this time.
0 commit comments