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

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

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

arXiv:2002.07053 (cs)
[提交于 2020年2月17日 (v1),最后修订于 2020年2月29日 (此版本, v2)]

标题:Concurrent Reference Counting and Resource Management in Wait-free Constant Time

作者:Guy E. Blelloch, Yuanhao Wei
查看论文《Concurrent Reference Counting and Resource Management in Wait-free Constant Time》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:A common problem when implementing concurrent programs is efficiently protecting against unsafe races between processes reading and then using a resource (e.g., memory blocks, file descriptors, or network connections) and other processes that are concurrently overwriting and then destructing the same resource. Such read-destruct races can be protected with locks, or with lock-free solutions such as hazard-pointers or read-copy-update (RCU). In this paper we describe a method for protecting read-destruct races with expected constant time overhead, $O(P^2)$ space and $O(P^2)$ delayed destructs, and with just single word atomic memory operations (reads, writes, and CAS). It is based on an interface with four primitives, an acquire-release pair to protect accesses, and a retire-eject pair to delay the destruct until it is safe. We refer to this as the acquire-retire interface. Using the acquire-retire interface, we develop simple implementations for three common use cases: (1) memory reclamation with applications to stacks and queues, (2) reference counted objects, and (3) objects manage by ownership with moves, copies, and destructs. The first two results significantly improve on previous results, and the third application is original. Importantly, all operations have expected constant time overhead.
主题: 分布式、并行与集群计算 (cs.DC)
引用方式: arXiv:2002.07053 [cs.DC]
  (或者 arXiv:2002.07053v2 [cs.DC] 对于此版本)
  https://doi.org/10.48550/arXiv.2002.07053

提交历史

来自:Yuanhao Wei
[v1] 2020年2月17日 星期一 16:47:50 UTC
[v2] 2020年2月29日 星期六 14:45:45 UTC
全文链接:

访问论文:

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

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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