计算机科学 > 数据结构与算法
[提交于 2017年9月18日]
标题:Cache-Aware Lock-Free Concurrent Hash Tries
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:This report describes an implementation of a non-blocking concurrent shared-memory hash trie based on single-word compare-and-swap instructions. Insert, lookup and remove operations modifying different parts of the hash trie can be run independent of each other and do not contend. Remove operations ensure that the unneeded memory is freed and that the trie is kept compact. A pseudocode for these operations is presented and a proof of correctness is given -- we show that the implementation is linearizable and lock-free. Finally, benchmarks are presented which compare concurrent hash trie operations against the corresponding operations on other concurrent data structures, showing their performance and scalability.
提交历史
来自:Aleksandar Prokopec[v1] 2017年9月18日 星期一 17:22:08 UTC