IDEAS home Printed from https://ideas.repec.org/a/spr/jsched/v25y2022i1d10.1007_s10951-021-00706-6.html
   My bibliography  Save this article

Scheduling computations with provably low synchronization overheads

Author

Listed:
  • Guilherme Rito

    (ETH-Zurich)

  • Hervé Paulino

    (NOVA University Lisbon)

Abstract

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}$$ T 1 and critical-path length $$T_{\infty }$$ T ∞ executed by P processors using our scheduler. Our analysis shows that the expected execution time is $$O\left( \frac{T_{1}}{P} + T_{\infty }\right) $$ O T 1 P + T ∞ , and the expected synchronization overheads incurred during the execution are at most $$O\left( \left( C_{\mathrm{CAS}} + C_{\mathrm{MFence}}\right) PT_{\infty }\right) $$ O C CAS + C MFence P T ∞ , where $$C_{\mathrm{CAS}}$$ C CAS and $$C_{\mathrm{MFence}}$$ C MFence , respectively, denote the maximum cost of executing a Compare-And-Swap instruction and a Memory Fence instruction.

Suggested Citation

  • Guilherme Rito & Hervé Paulino, 2022. "Scheduling computations with provably low synchronization overheads," Journal of Scheduling, Springer, vol. 25(1), pages 107-124, February.
  • Handle: RePEc:spr:jsched:v:25:y:2022:i:1:d:10.1007_s10951-021-00706-6
    DOI: 10.1007/s10951-021-00706-6
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10951-021-00706-6
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s10951-021-00706-6?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:jsched:v:25:y:2022:i:1:d:10.1007_s10951-021-00706-6. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.