Locks as a Resource: Fairly Scheduling Lock Occupation with CFL

Jonggyu Park, Young Ik Eom

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

Abstract

In multi-container environments, applications oftentimes experience unexpected performance fluctuations due to undesirable interference among applications. Synchronization such as locks has been targeted as one of the reasons but still remains an uncontrolled resource while a large set of locks are still shared across applications. In this paper, we demonstrate that this lack of lock scheduling incurs significant real-world problems including performance unfairness and interference among applications. To address this problem, we propose a new synchronization design with an embedded scheduling capability, called CFL (Completely Fair Locking). CFL fairly distributes a fair amount of lock occupation time to applications considering their priorities and cgroup information. For scalability, CFL also considers the NUMA topology in the case of NUMA machines. Experimental results demonstrate that CFL significantly improves performance fairness while achieving comparable or sometimes even superior performance to state-of-the-art locks.

Original languageEnglish
Title of host publicationPPoPP 2024 - Proceedings of the 29th ACM SIGPLAN Annual Symposium on Principles and Practice of Parallel Programming
PublisherAssociation for Computing Machinery
Pages17-29
Number of pages13
ISBN (Electronic)9798400704352
DOIs
StatePublished - 2 Mar 2024
Event29th ACM SIGPLAN Annual Symposium on Principles and Practice of Parallel Programming, PPoPP 2024 - Edinburgh, United Kingdom
Duration: 2 Mar 20246 Mar 2024

Publication series

NameProceedings of the ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, PPOPP

Conference

Conference29th ACM SIGPLAN Annual Symposium on Principles and Practice of Parallel Programming, PPoPP 2024
Country/TerritoryUnited Kingdom
CityEdinburgh
Period2/03/246/03/24

Keywords

  • lock
  • resource sharing
  • scalability
  • synchronization primitives

Fingerprint

Dive into the research topics of 'Locks as a Resource: Fairly Scheduling Lock Occupation with CFL'. Together they form a unique fingerprint.

Cite this