首页> 外文OA文献 >Predicate Detection for Parallel Computations with Locking Constraints
【2h】

Predicate Detection for Parallel Computations with Locking Constraints

机译:具有锁定约束的并行计算的谓词检测

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The happened-before model (or the poset model) has been widely used for modeling the computations (execution traces) of parallel programs and detecting predicates (user-specified conditions). This model captures potential causality as well as locking constraints among the executed events of computations using Lamportu27s happened-before relation. The detection of a predicate in a computation is performed by checking if the predicate could become true in any reachable global state of the computation. In this paper, we argue that locking constraints are fundamentally different from potential causality. Hence, a poset is not an appropriate model for debugging purposes when the computations contain locking constraints. We present a model called Locking Poset, or a Loset, that generalizes the poset model for locking constraints. Just as a poset captures possibly an exponential number of total orders, a loset captures possibly an exponential number of posets. Therefore, detecting a predicate in a loset is equivalent to detecting the predicate in all corresponding posets. Since determining if a global state is reachable in a computation is a fundamental problem for detecting predicates, this paper first studies the reachability problem in the loset model. We show that the problem is NP-complete. Afterwards, we introduce a subset of reachable global states called lock-free feasible global states such that we can check whether a global state is lock-free feasible in polynomial time. Moreover, we show that lock-free feasible global states can act as "reset" points for reachability and be used to drastically reduce the time for determining the reachability of other global states. We also introduce strongly feasible global states that contain all reachable global states and show that the strong feasibility of a global state can be checked in polynomial time. We show that strong feasibility provides an effective approximation of reachability for many practical applications.
机译:事前发生的模型(或波塞特模型)已广泛用于对并行程序的计算(执行轨迹)进行建模并检测谓词(用户指定的条件)。该模型使用Lamport的事前关联关系捕获潜在的因果关系以及执行的计算事件之间的锁定约束。通过检查谓词在计算的任何可到达的全局状态下是否可以变为真来执行对谓词的检测。在本文中,我们认为锁定约束与潜在因果关系根本不同。因此,当计算包含锁定约束时,位姿不是用于调试目的的合适模型。我们提出了一个称为“锁定位集”或“偏位”的模型,该模型推广了用于约束约束的位姿模型。正如位姿可能捕获指数级的总定单一样,失败者可能捕获指数级的定级数。因此,在丢失者中检测谓词等同于在所有相应的姿势中检测谓词。由于确定计算中的全局状态是否可达是检测谓词的基本问题,因此本文首先研究了丢失模型中的可达性问题。我们证明问题是NP完全的。此后,我们引入了一个可到达的全局状态的子集,称为无锁可行全局状态,这样我们可以检查全局状态在多项式时间内是否无锁可行。此外,我们证明了无锁可行全局状态可以充当可达性的“重置”点,并可以用来大大减少确定其他全局状态的可达性的时间。我们还介绍了包含所有可到达的全局状态的强可行全局状态,并表明可以在多项式时间内检查全局状态的强可行性。我们表明,强大的可行性为许多实际应用提供了可达性的有效近似值。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号