首页> 外文期刊>IEEE Transactions on Control Systems Technology >Eliminating Concurrency Bugs in Multithreaded Software: A New Approach Based on Discrete-Event Control
【24h】

Eliminating Concurrency Bugs in Multithreaded Software: A New Approach Based on Discrete-Event Control

机译:消除多线程软件中的并发错误:一种基于离散事件控制的新方法

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

摘要

Computer hardware is moving from uniprocessor to multicore architectures. One problem arising in this evolution is that only parallel software can exploit the full performance potential of multicore architectures, and parallel software is far harder to write than conventional serial software. One important class of failures arising in parallel software is circular-wait deadlock in multithreaded programs. In our ongoing Gadara project, we use a special class of Petri nets, called Gadara nets, to systematically model multithreaded programs with lock allocation and release operations. In this paper, we propose an efficient optimal control synthesis methodology for ordinary Gadara nets that exploits the structural properties of Gadara nets via siphon analysis. Optimality in this context refers to the elimination of deadlocks in the program with minimally restrictive control logic. We formally establish a set of important properties of the proposed control synthesis methodology, and show that our algorithms never synthesize redundant control logic. We conduct experiments to evaluate the efficiency and scalability of the proposed methodology, and discuss the application of our results to real-world concurrent software.
机译:计算机硬件正在从单处理器架构过渡到多核架构。这种发展过程中出现的一个问题是,只有并行软件才能发挥多核体系结构的全部性能潜能,并且并行软件比传统的串行软件难得多。并行软件中发生的一类重要故障是多线程程序中的循环等待死锁。在我们正在进行的Gadara项目中,我们使用一类特殊的Petri网络(称为Gadara网络)来通过锁分配和释放操作对多线程程序进行系统建模。在本文中,我们提出了一种用于普通Gadara网的有效的最优控制综合方法,该方法通过虹吸分析利用了Gadara网的结构特性。在这种情况下,最优性是指使用最小限度的控制逻辑消除程序中的死锁。我们正式建立了所提出的控制综合方法的一组重要属性,并表明我们的算法从不合成冗余控制逻辑。我们进行实验以评估所提出方法的效率和可扩展性,并讨论将结果应用于实际并发软件的情况。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号