以值为中心的动态偏序约简
Value-centric Dynamic Partial Order Reduction
摘要:
并发程序的验证仍然是一个开放的挑战,因为线程交互必须考虑,这导致状态空间爆炸。无状态模型检验通过探索程序的踪迹而不是状态来解决这个问题。由于有指数级多的轨迹,动态偏序约简(DPOR)技术被用来划分的轨迹空间到等价类,并探索一些代表从每个类。大多数DPOR技术的标准等价是happens-before等价,然而最近的作品已经产生了对粗糙等价的生动兴趣。这种方法的效率是两个参数的乘积:(i)由等价性引起的分区的大小,以及(ii)探索算法在每个分区类别中花费的时间。在这项工作中,我们提出了一个新的等价,称为值发生之前,并表明它有两个吸引人的功能。首先,value-happens-before总是至少和happens-before等价一样粗糙,甚至可以指数级粗糙。第二,当线程数量有界时,分区前发生的值是有效的。我们提出了一种算法,称为值为中心的DPOR(VCDPOR),它探讨了底层的分区使用多项式时间每类。最后,我们进行了实验评估VCDPOR的各种基准,并将其与其他国家的最先进的方法。我们的研究结果表明,值发生之前通常会导致显着减少底层分区的大小,这导致了相当大的减少探索整个分区的运行时间。
英文摘要:
The verification of concurrent programs remains an open challenge, as thread interaction has to be accounted for, which leads to state-space explosion. Stateless model checking battles this problem by exploring traces rather than states of the program. As there are exponentially many traces, dynamic partial-order reduction (DPOR) techniques are used to partition the trace space into equivalence classes, and explore a few representatives from each class. The standard equivalence that underlies most DPOR techniques is the happens-before equivalence, however recent works have spawned a vivid interest towards coarser equivalences. The efficiency of such approaches is a product of two parameters: (i) the size of the partitioning induced by the equivalence, and (ii) the time spent by the exploration algorithm in each class of the partitioning. In this work, we present a new equivalence, called value-happens-before and show that it has two appealing features. First, value-happens-before is always at least as coarse as the happens-before equivalence, and can be even exponentially coarser. Second, the value-happens-before partitioning is efficiently explorable when the number of threads is bounded. We present an algorithm called value-centric DPOR (VCDPOR), which explores the underlying partitioning using polynomial time per class. Finally, we perform an experimental evaluation of VCDPOR on various benchmarks, and compare it against other state-of-the-art approaches. Our results show that value-happens-before typically induces a significant reduction in the size of the underlying partitioning, which leads to a considerable reduction in the running time for exploring the whole partitioning.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。