首页> 外文学位 >Detection of unstable predicates in debugging distributed programs
【24h】

Detection of unstable predicates in debugging distributed programs

机译:在调试分布式程序时检测不稳定谓词

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

摘要

This dissertation examines the problem of unstable predicate detection in distributed programs, which is an important aspect of debugging distributed programs. We address this problem for a loosely-coupled message-passing environment. The significance of this research lies in the fact that detection methods are given for distributed predicates that may be unstable in nature. A distributed predicate is one that depends on state information in different processes. A stable predicate is one which, once it becomes true, stays true forever. Stable predicates can be detected by checking periodically to see if they have become true, however this is not the case with unstable predicates. The predicates in this research are both distributed and unstable and, in the past, such predicates have often been regarded as too difficult to detect.;Previous work on distributed program debugging is reviewed and we show that none of the existing approaches satisfies our requirements for unstable predicate detection. These requirements are a taxonomy for unstable distributed predicates, accurate detection methods, and feasible detection costs.;We present a structured method of constructing predicates for a distributed program and identify what constructs can be detected. This is presented in the form of a predicate logic or grammar which gives the specific rewrite rules to be used in constructing various types of distributed predicates. A restricted version of this logic is then given which characterizes those types of distributed predicates that can be feasibly detected. Detection algorithms are given for those predicates in the restricted logic along with correctness proofs. Any predicate belonging to this restricted logic can be detected directly using the algorithms we provide. Further, any predicate which can be reduced to a set of predicates from this restricted logic is detectable.;Finally, we give examples including mutual exclusion, leadership election, and database applications to illustrate the usefulness of such predicates. The algorithms presented have been implemented in C under Berkeley UNIX to further validate their correctness and practicality.
机译:本文研究了分布式程序中谓词检测不稳定的问题,这是调试分布式程序的重要方面。我们针对松散耦合的消息传递环境解决此问题。这项研究的意义在于,为可能本质上不稳定的分布式谓词提供了检测方法。分布式谓词是一个依赖于不同过程中的状态信息的谓词。一个稳定的谓词是一个一旦变为真实就永远保持真实的谓词。可以通过定期检查稳定谓词来确定它们是否为真,但是不稳定谓词就不是这种情况。该研究中的谓词既是分布式的又是不稳定的,并且在过去,这些谓词经常被认为太难检测。;对分布式程序调试的先前工作进行了回顾,并且我们发现现有的方法都无法满足我们对以下方面的要求:谓词检测不稳定。这些要求是不稳定的分布式谓词,准确的检测方法和可行的检测成本的分类法。我们提出了一种分布式程序构造谓词的结构化方法,并确定可以检测到哪些构造。这以谓词逻辑或语法的形式表示,该逻辑或语法给出了用于构造各种类型的分布式谓词的特定重写规则。然后给出此逻辑的受限版本,该版本表征可以被检测到的那些分布式谓词类型。给出了针对受限逻辑中这些谓词的检测算法以及正确性证明。可以使用我们提供的算法直接检测属于此受限逻辑的任何谓词。此外,可以从此受限逻辑中将任何谓词简化为一组谓词都是可检测的。最后,我们给出了示例,包括互斥,领导选举和数据库应用程序,以说明此类谓词的有用性。提出的算法已在Berkeley UNIX下用C语言实现,以进一步验证其正确性和实用性。

著录项

  • 作者

    Waldecker, Brian Emil.;

  • 作者单位

    The University of Texas at Austin.;

  • 授予单位 The University of Texas at Austin.;
  • 学科 Electrical engineering.;Computer science.
  • 学位 Ph.D.
  • 年度 1991
  • 页码 192 p.
  • 总页数 192
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号