首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >A Parallel Algorithm for Global States Enumeration in Concurrent Systems
【24h】

A Parallel Algorithm for Global States Enumeration in Concurrent Systems

机译:并行系统中全局状态枚举的并行算法

获取原文
获取原文并翻译 | 示例
           

摘要

Verifying the correctness of the executions of a concurrent program is difficult because of its nondeterministic behavior. One of the verification methods is predicate detection, which predicts whether the user specified condition (predicate) could become true in any global states of the program. The method is predictive because it generates inferred execution paths from the observed execution path and then checks the predicate on the global states of inferred paths. One important part of predicate detection is global states enumeration, which generates the global states on inferred paths. Cooper and Marzullo gave the first enumeration algorithm based on a breadth first strategy (BFS). Later, many algorithms have been proposed to improve space and time complexity. None of them, however, takes parallelism into consideration. In this paper, we present the first parallel and online algorithm, named ParaMount, for global state enumeration. Our experimental results show that ParaMount speeds up the existing sequential algorithms by a factor of 6 with 8 threads. We have implemented an online predicate detector using ParaMount. For predicate detection, our detector based on ParaMount is 10 to 50 times faster than RV runtime (a verification tool that uses Cooper and Marzullo's BFS enumeration algorithm).
机译:由于并发程序的不确定性,因此很难验证并发程序的执行的正确性。验证方法之一是谓词检测,它可以预测用户指定的条件(谓词)在程序的任何全局状态下是否都可以变为真。该方法是可预测的,因为它会从观察到的执行路径中生成推断的执行路径,然后检查推断路径的全局状态上的谓词。谓词检测的一个重要部分是全局状态枚举,它会在推断的路径上生成全局状态。 Cooper和Marzullo给出了基于广度优先策略(BFS)的第一个枚举算法。后来,提出了许多算法来改善空间和时间复杂度。但是,它们都不考虑并行性。在本文中,我们提出了用于全局状态枚举的第一个并行在线算法,名为ParaMount。我们的实验结果表明,ParaMount通过8个线程将现有的顺序算法速度提高了6倍。我们已经使用ParaMount实现了一个在线谓词检测器。对于谓词检测,我们基于ParaMount的检测器比RV运行时(使用Cooper和Marzullo的BFS枚举算法的验证工具)快10到50倍。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号