首页> 外文会议>2011 IEEE International Symposium on Performance Analysis of Systems and Software >Detecting race conditions in asynchronous DMA operations with full system simulation
【24h】

Detecting race conditions in asynchronous DMA operations with full system simulation

机译:通过完整的系统仿真来检测异步DMA操作中的竞争条件

获取原文

摘要

In this paper, we describe a technique for detecting race conditions between direct memory access (DMA) operations and load/store instructions using a full system simulator. Our approach uses event monitoring features of a full system simulator to monitor DMA operations and the memory areas they access and detect conflicting accesses that could represent races conditions. Our race condition checker tracks DMA operations from the time they are issued until they are architecturally guaranteed to be complete, rather than simply tracking when they actually complete, and thus detects race conditions in programs even when the actual data accesses do not occur out of order. This feature is valuable because the mechanisms for ensuring ordering of asynchronous DMA operations are complex and often poorly understood by application programmers. These DMA operations may conflict with each other or with loads and stores performed by processor that initiated the operations, creating ample opportunity for race conditions to occur. We describe our race condition checker in detail and show how it can be used to easily detect race conditions in DMA operations initiated by special purpose cores.
机译:在本文中,我们描述了一种使用完整的系统模拟器来检测直接内存访问(DMA)操作与加载/存储指令之间的竞争条件的技术。我们的方法使用完整系统模拟器的事件监视功能来监视DMA操作及其访问的内存区域,并检测可能代表比赛状况的冲突访问。我们的竞争条件检查器会跟踪从发出DMA直到获得体系结构保证的DMA操作,而不是简单地跟踪它们实际完成的时间,从而即使在实际数据访问不会出现乱序的情况下,也可以在程序中检测竞争条件。此功能非常有用,因为用于确保异步DMA操作排序的机制非常复杂,并且应用程序程序员通常对此了解甚少。这些DMA操作可能相互冲突,也可能与启动操作的处理器所执行的加载和存储冲突,从而为竞争条件的发生创造了充足的机会。我们将详细描述我们的竞争条件检查器,并展示如何在专用内核发起的DMA操作中将其轻松用于检测竞争条件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号