跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 分布式、并行与集群计算

arXiv:2209.07100 (cs)
[提交于 2022年9月15日]

标题:Concurrent Size

作者:Gal Sela, Erez Petrank
查看论文《Concurrent Size》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The size of a data structure (i.e., the number of elements in it) is a widely used property of a data set. However, for concurrent programs, obtaining a correct size efficiently is non-trivial. In fact, the literature does not offer a mechanism to obtain a correct (linearizable) size of a concurrent data set without resorting to inefficient solutions, such as taking a full snapshot of the data structure to count the elements, or acquiring one global lock in all update and size operations. This paper presents a methodology for adding a concurrent linearizable size operation to sets and dictionaries with a relatively low performance overhead. Theoretically, the proposed size operation is wait-free with asymptotic complexity linear in the number of threads (independently of data-structure size). Practically, we evaluated the performance overhead by adding size to various concurrent data structures in Java$-$a skip list, a hash table and a tree. The proposed linearizable size operation executes faster by orders of magnitude compared to the existing option of taking a snapshot, while incurring a throughput loss of $1\%-20\%$ on the original data structure's operations.
评论: Code: https://github.com/galysela/ConcurrentSize
主题: 分布式、并行与集群计算 (cs.DC); 数据结构与算法 (cs.DS)
引用方式: arXiv:2209.07100 [cs.DC]
  (或者 arXiv:2209.07100v1 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2209.07100
期刊参考: Proceedings of the ACM on Programming Languages 6, OOPSLA2, Article 137 (October 2022)
相关 DOI: https://doi.org/10.1145/3563300

提交历史

来自:Gal Sela
[v1] 2022年9月15日 星期四 07:28:38 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DC
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-09
切换浏览方式为:
cs
cs.DS

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站