Opportunities for optimism in contended main-memory multicore transactions
Opportunities for optimism in contended main-memory multicore transactions
复制标题
DOI:
10.1007/s00778-021-00719-9
复制
发表时间:
2020-01
期刊:
影响因子:
--
通讯作者:
Yihe Huang;William Qian;E. Kohler;B. Liskov;L. Shrira
中科院分区:
文献类型:
--
作者:
Yihe Huang;William Qian;E. Kohler;B. Liskov;L. Shrira
Main-memory multicore transactional systems have achieved excellent performance using single-version optimistic concurrency control (OCC), especially on uncontended workloads. Nevertheless, systems based on other concurrency control protocols, such as hybrid OCC/ locking and variations on multiversion concurrency control (MVCC), are reported to outperform the best OCC systems, especially with increasing contention. This paper shows that implementation choices unrelated to concurrency control can explain some of these performance differences. Our evaluation shows the strengths and weaknesses of OCC, MVCC, and TicToc concurrency control under varying workloads and contention levels, and the importance of several implementation choices calledbasis factors. Given sensible basis factor choices, OCC performance does not collapse on high-contention TPC-C. We also present two optimization techniques,deferred updatesandtimestamp splitting, that can dramatically improve the high-contention performance of both OCC and MVCC. These techniques are known, but we apply them in a new context and highlight their potency: when combined, they lead to performance gains offor MVCC andfor OCC in a TPC-C workload.