arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.15259cs.DC
收藏

消除(a,b)-具有快速,持久更新的树

Elimination (a,b)-trees with fast, durable updates

Anubhav Srivastava, Trevor Brown

摘要:

许多并发字典实现都是针对具有均匀分布的键的主要读取工作负载而设计和优化的,并且通常在更新繁重的工作负载上表现不佳。在这项工作中,我们首先提出了一个并发的(a,b)树,OCC-ABtree,它超过其最快的竞争对手高达2倍的统一更新繁重的工作负载,并在其他工作负载上具有竞争力。然后,我们将注意力转向倾斜的更新繁重的工作负载(在同一个键上有许多插入/删除),并介绍Elim-ABtree,它使用了一种称为发布消除的新优化。在发布消除中,对键的并发插入和删除将重新排序以消除它们。这减少了数据结构中的写入次数。Elim-ABtree的性能是其最快竞争对手(包括OCC-ABtree)的2.5倍。OCC-ABtree和Elim-ABtree是可线性化的。我们还推出了耐用的可线性化版本(适用于采用英特尔Optane DCPMM非易失性主内存的系统),其速度几乎与之相同。

英文摘要:

Many concurrent dictionary implementations are designed and optimized for read-mostly workloads with uniformly distributed keys, and often perform poorly on update-heavy workloads. In this work, we first present a concurrent (a,b)-tree, the OCC-ABtree, which outperforms its fastest competitor by up to 2x on uniform update-heavy workloads, and is competitive on other workloads. We then turn our attention to skewed update-heavy workloads (which feature many inserts/deletes on the same key) and introduce the Elim-ABtree, which uses a new optimization called publishing elimination. In publishing elimination, concurrent inserts and deletes to a key are reordered to eliminate them. This reduces the number of writes in the data structure. The Elim-ABtree achieves up to 2.5x the performance of its fastest competitor (including the OCC-ABtree). The OCC-ABtree and Elim-ABtree are linearizable. We also introduce durable linearizable versions (for systems with Intel Optane DCPMM non-volatile main memory) that are nearly as fast.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑