...
首页> 外文期刊>Parallel Computing >Output nondeterminism detection for programming models combining dataflow with shared memory
【24h】

Output nondeterminism detection for programming models combining dataflow with shared memory

机译:结合数据流和共享内存的编程模型的输出不确定性检测

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

获取外文期刊封面封底 >>

       

摘要

Implementing highly concurrent programs can be challenging because programmers can easily introduce unintended nondeterminism, which has the potential to affect the program output. We propose and implement a technique for detecting unintended nondeterminism in applications developed on shared memory systems with dataflow execution model. Such nondeterminism bugs may be caused by missing or incorrect ordering of task dependencies that are used for ensuring certain ordering of tasks. The proposed method is based on the formulation of happens-before relation on tasks executions in a dataflow dependency graph. Its implementation is composed of two main phases; log recording and detection. For recording the necessary information from the execution, the tool instruments the dataflow framework and the applications, on top of the LLVM compiler infrastructure. Later it processes the collected log and reports on the found output nondeterminism in the execution. The tool can integrate well with the development cycle to provide the programmer with a testing framework against possible nondeterminism bugs. To demonstrate its effectiveness, we study a set of benchmark applications written in Atomic DataFlow programming model and report on real nondeterminism bugs in them. (C) 2017 Elsevier B.V. All rights reserved.
机译:实施高度并发的程序可能具有挑战性,因为程序员可以轻松引入意想不到的不确定性,这有可能影响程序输出。我们提出并实现了一种技术,该技术可在具有数据流执行模型的共享内存系统上开发的应用程序中检测意外的不确定性。此类不确定性错误可能是由于用于确保某些任务顺序的任务依赖项的丢失或顺序错误引起的。所提出的方法基于数​​据流依赖图中任务执行之前事前发生关系的表述。它的实施包括两个主要阶段:日志记录和检测。为了从执行中记录必要的信息,该工具在LLVM编译器基础结构上对数据流框架和应用程序进行检测。稍后,它处理收集的日志并报告执行中发现的输出不确定性。该工具可以很好地与开发周期集成,为程序员提供针对可能的不确定性错误的测试框架。为了证明其有效性,我们研究了一组用Atomic DataFlow编程模型编写的基准测试应用程序,并报告了其中的实际非确定性错误。 (C)2017 Elsevier B.V.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号