The Power of Choice in Priority Scheduling
Dan Alistarh, Justin Kopinsky, Jerry Li, Giorgi Nadiradze

TL;DR
This paper analyzes a two-choice priority scheduling process, proving strong rank guarantees and introducing a new concurrent priority queue implementation that outperforms existing methods in practical scenarios.
Contribution
It provides the first theoretical analysis of two-choice priority scheduling, establishing tight bounds on rank guarantees, and proposes a new efficient concurrent priority queue design.
Findings
Expected rank of removed element is O(n).
Expected worst-case cost is O(n log n).
Bounds are tight and independent of process length.
Abstract
Consider the following random process: we are given queues, into which elements of increasing labels are inserted uniformly at random. To remove an element, we pick two queues at random, and remove the element of lower label (higher priority) among the two. The cost of a removal is the rank of the label removed, among labels still present in any of the queues, that is, the distance from the optimal choice at each step. Variants of this strategy are prevalent in state-of-the-art concurrent priority queue implementations. Nonetheless, it is not known whether such implementations provide any rank guarantees, even in a sequential model. We answer this question, showing that this strategy provides surprisingly strong guarantees: Although the single-choice process, where we always insert and remove from a single randomly chosen queue, has degrading cost, going to infinity as we increase…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsOptimization and Search Problems · Complexity and Algorithms in Graphs · Distributed systems and fault tolerance
