Temporally bounding TSO for fence-free asymmetric synchronization

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

8 Scopus citations

Abstract

This paper introduces a temporally bounded total store ordering (TBTSO) memory model, and shows that it enables nonblocking fence-free solutions to asymmetric synchronization problems, such as those arising in memory reclamation and biased locking. TBTSO strengthens the TSO memory model by bounding the time it takes a store to drain from the store buffer into memory. This bound enables devising fence-free algorithms for asymmetric problems, which require a performance-critical fast path to synchronize with an infrequently executed slow path. We demonstrate this by constructing (1) a fence-free version of the hazard pointers memory reclamation scheme, and (2) a fence-free biased lock algorithm which is compatible with unmanaged environments as it does not rely on safe points or similar mechanisms. We further argue that TBTSO can be implemented in hardware with modest modifications to existing TSO architectures. However, our design makes assumptions about proprietary implementation details of commercial hardware; it thus best serves as a starting point for a discussion on the feasibility of hardware TBTSO implementation. We also show how minimal OS support enables the adaptation of TBTSO algorithms to x86 systems.

Original languageEnglish
Title of host publicationASPLOS '15
Subtitle of host publicationProceedings of the Twentieth International Conference on Architectural Support for Programming Languages and Operating Systems
PublisherAssociation for Computing Machinery (ACM)
Pages45-58
Number of pages14
ISBN (Electronic)9781450328357
DOIs
StatePublished - 14 Mar 2015
Event20th International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS 2015 - Istanbul, Turkey
Duration: 14 Mar 201518 Mar 2015

Publication series

NameInternational Conference on Architectural Support for Programming Languages and Operating Systems - ASPLOS
Volume2015-January

Conference

Conference20th International Conference on Architectural Support for Programming Languages and Operating Systems, ASPLOS 2015
Country/TerritoryTurkey
CityIstanbul
Period14/03/1518/03/15

Funding

FundersFunder number
Israel Science Foundation1749/14, 1227/10, 1386/11

    Keywords

    • Biased locks
    • Bounded TSO
    • Hazard pointers
    • Memory fences
    • TSO

    Fingerprint

    Dive into the research topics of 'Temporally bounding TSO for fence-free asymmetric synchronization'. Together they form a unique fingerprint.

    Cite this