Scheduling computations with provably low synchronization overheads
We present a Work Stealing scheduling algorithm that provably avoids most synchronization overheads by keeping processors’ deques entirely private by default and only exposing work when requested by thieves. This is the first paper that obtains bounds on the synchronization overheads that are (essen...
Gespeichert in:
Veröffentlicht in: | Journal of scheduling 2022-02, Vol.25 (1), p.107-124 |
---|---|
Hauptverfasser: | , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | We present a Work Stealing scheduling algorithm that provably avoids most synchronization overheads by keeping processors’ deques entirely private by default and only exposing work when requested by thieves. This is the first paper that obtains bounds on the synchronization overheads that are (essentially) independent of the total amount of work, thus corresponding to a great improvement, in both algorithm design and theory, over state-of-the-art Work Stealing algorithms. Consider any computation with work
T
1
and critical-path length
T
∞
executed by
P
processors using our scheduler. Our analysis shows that the expected execution time is
O
T
1
P
+
T
∞
, and the expected synchronization overheads incurred during the execution are at most
O
C
CAS
+
C
MFence
P
T
∞
, where
C
CAS
and
C
MFence
, respectively, denote the maximum cost of executing a Compare-And-Swap instruction and a Memory Fence instruction. |
---|---|
ISSN: | 1094-6136 1099-1425 |
DOI: | 10.1007/s10951-021-00706-6 |