Locks as a Resource: Fairly Scheduling Lock Occupation with CFL
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.
Mon 4 MarDisplayed time zone: London change
10:00 - 11:00 | Synchronization and Concurrency Control 1Main Conference at Moorfoot Chair(s): Michael Scott University of Rochester | ||
10:00 20mTalk | Scaling Up Transactions with Slower Clocks Main Conference Link to publication DOI | ||
10:20 20mTalk | Locks as a Resource: Fairly Scheduling Lock Occupation with CFL Main Conference Jonggyu Park University of Washington, Young Ik Eom Dept. of Electrical and Computer Engineering / College of Computing and Informatics, Sungkyunkwan University Link to publication DOI | ||
10:40 20mTalk | Are Your Epochs Too Epic? Batch Free Can Be Harmful Main Conference Daewoo Kim University of Waterloo, Trevor Brown University of Waterloo, Ajay Singh University of Waterloo Link to publication DOI |