CLoF: A Compositional Lock Framework for Multi-level NUMA Systems

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Beitragende

  • Rafael Lourenco De Lima Chehab - , Professur für Systems Engineering (SE), Dresden Research Lab Huawei Technologies (Autor:in)
  • Antonio Paolillo - , Dresden Research Lab Huawei Technologies (Autor:in)
  • Diogo Behrens - , Dresden Research Lab Huawei Technologies (Autor:in)
  • Ming Fu - , Dresden Research Lab Huawei Technologies (Autor:in)
  • Hermann Härtig - , Seniorprofessor für Betriebssysteme (Autor:in)
  • Haibo Chen - , Shanghai Jiao Tong University (Autor:in)

Abstract

Efficient locking mechanisms are extremely important to support large-scale concurrency and exploit the performance promises of many-core servers. Implementing an efficient, generic, and correct lock is very challenging due to the differences between various NUMA architectures. The performance impact of architectural/NUMA hierarchy differences between x86 and Armv8 are not yet fully explored, leading to unexpected performance when simply porting NUMA-aware locks from x86 to Armv8. Moreover, due to the Armv8 Weak Memory Model (WMM), correctly implementing complicated NUMA-aware locks is very difficult. We propose a Compositional Lock Framework (CLoF) for multi-level NUMA systems. CLoF composes NUMA-oblivious locks in a hierarchy matching the target platform, leading to hundreds of correct by construction NUMA-aware locks. CLoF can automatically select the best lock among them. To show the correctness of CLoF on WMMs, we provide an inductive argument with base and induction steps verified with model checkers. In our evaluation, CLoF locks outperform state-of-the-art NUMA-aware locks in most scenarios, e.g., in a highly contended LevelDB benchmark, our best CLoF locks yield twice the throughput achieved with CNA lock and ShflLock on large x86 and Armv8 servers.

Details

OriginalspracheEnglisch
TitelSOSP 2021 - Proceedings of the 28th ACM Symposium on Operating Systems Principles
Herausgeber (Verlag)Association for Computing Machinery, Inc
Seiten851-865
Seitenumfang15
ISBN (elektronisch)9781450387095
PublikationsstatusVeröffentlicht - 26 Okt. 2021
Peer-Review-StatusJa

Publikationsreihe

ReiheSOSP: ACM Symposium on Operating Systems Principles

Konferenz

Titel28th ACM Symposium on Operating Systems Principles
KurztitelSOSP 2021
Veranstaltungsnummer28
Dauer26 - 29 Oktober 2021
Webseite
Ortonline
LandDeutschland

Schlagworte

Schlagwörter

  • multicore concurrency, non-uniform access memory, weak memory models