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

文章基本信息

  • 标题:A Framework for Consistency Algorithms
  • 本地全文:下载
  • 作者:Peter Chini ; Prakash Saivasan
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2020
  • 卷号:182
  • 页码:1-17
  • DOI:10.4230/LIPIcs.FSTTCS.2020.42
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We present a framework that provides deterministic consistency algorithms for given memory models. Such an algorithm checks whether the executions of a shared-memory concurrent program are consistent under the axioms defined by a model. For memory models like SC and TSO, checking consistency is NP-complete. Our framework shows, that despite the hardness, fast deterministic consistency algorithms can be obtained by employing tools from fine-grained complexity. The framework is based on a universal consistency problem which can be instantiated by different memory models. We construct an algorithm for the problem running in time ð'ª^*(2^k), where k is the number of write accesses in the execution that is checked for consistency. Each instance of the framework then admits an ð'ª^*(2^k)-time consistency algorithm. By applying the framework, we obtain corresponding consistency algorithms for SC, TSO, PSO, and RMO. Moreover, we show that the obtained algorithms for SC, TSO, and PSO are optimal in the fine-grained sense: there is no consistency algorithm for these running in time 2^{o(k)} unless the exponential time hypothesis fails.
  • 关键词:Consistency; Weak Memory; Fine-Grained Complexity
国家哲学社会科学文献中心版权所有