首页    期刊浏览 2024年11月26日 星期二
登录注册

文章基本信息

  • 标题:Long-Lived Counters with Polylogarithmic Amortized Step Complexity
  • 本地全文:下载
  • 作者:Mirza Ahad Baig ; Danny Hendler ; Alessia Milani
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2019
  • 卷号:146
  • 页码:1-16
  • DOI:10.4230/LIPIcs.DISC.2019.3
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:A shared-memory counter is a well-studied and widely-used concurrent object. It supports two operations: An Inc operation that increases its value by 1 and a Read operation that returns its current value. Jayanti, Tan and Toueg [Jayanti et al., 2000] proved a linear lower bound on the worst-case step complexity of obstruction-free implementations, from read and write operations, of a large class of shared objects that includes counters. The lower bound leaves open the question of finding counter implementations with sub-linear amortized step complexity. In this paper, we address this gap. We present the first wait-free n-process counter, implemented using only read and write operations, whose amortized operation step complexity is O(log^2 n) in all executions. This is the first non-blocking read/write counter algorithm that provides sub-linear amortized step complexity in executions of arbitrary length. Since a logarithmic lower bound on the amortized step complexity of obstruction-free counter implementations exists, our upper bound is optimal up to a logarithmic factor.
  • 关键词:Shared Memory; Wait-freedom; Counter; Amortized Complexity; Concurrent Objects
国家哲学社会科学文献中心版权所有