Locks as a Resource: Fairly Scheduling Lock Occupation with CFL
Jonggyu Park, Young Ik Eom
摘要
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.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- Avoiding scheduler subversion using scheduler-cooperative locksYuvraj Patel, Leon Yang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau 等EuroSys 2020 · 被引用 6 次
- Ship your Critical Section, Not Your Data: Enabling Transparent Delegation with TCLOCKSVishal Gupta, Kumar Kartikeya Dwivedi, Yugesh Kothari, Yueyang Pan 等OSDI 2023 · 被引用 6 次
- CLoF: A Compositional Lock Framework for Multi-level NUMA SystemsRafael Lourenco de Lima Chehab, Antonio Paolillo, Diogo Behrens, Ming Fu 等SOSP 2021 · 被引用 6 次
- Application-Informed Kernel Synchronization PrimitivesSujin Park, Diyu Zhou, Yuchen Qian, Irina Calciu 等OSDI 2022
- Losing the Beat: Understanding and Mitigating Desynchronization Risks in Container IsolationZhi Li, Zhen Xu, Weijie Liu, XiaoFeng Wang 等NDSS 2026
