Concurrency controls with optimistic read accesses and pessimistic write accesses are among the fastest in the literature. However, during write-transactions these algorithms need to increment an atomic variable, the central clock, limiting parallelism and preventing scalability at high core counts.
In this paper, we propose a new concurrency control, Deferred Clock Transactional Locking (DCTL), which significantly reduces the heartbeat of the central clock, thus increasing scalability. DCTL will not increment the clock for consecutive disjoint transactions. An optimized variant, named DCOTL, allows for consecutive transactions with non-disjoint write-accesses to commit without incrementing the clock. Moreover, we show variants of these two algorithms with starvation-free transactions.
Transactions in DCTL are Opaque, which means it can be applied to concurrent data structures, Database Management Systems (DBMS), Software Transactional Memory (STM), and Persistent Transactional Memory (PTM). Our experiments show that these DCTL algorithms match or surpass the current state of the art for most workloads. We adapted both algorithms using an existing durability technique and implemented a fully transactional DBMS with disk persistence, whose scalability in write transactions exceeds the current state of the art.
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 |