DocumentCode
3074983
Title
Detecting race conditions in asynchronous DMA operations with full system simulation
Author
Kistler, Michael ; Brokenshire, Daniel
Author_Institution
IBM Corp., Austin, TX, USA
fYear
2011
fDate
10-12 April 2011
Firstpage
207
Lastpage
215
Abstract
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.
Keywords
file organisation; hazards and race conditions; virtual machines; asynchronous DMA operation; direct memory access; event monitoring features; full system simulator; load-store instruction; race condition checker; race condition detection; Broadband communication; Computer architecture; Engines; Microprocessors; Monitoring; Process control; Timing; debugging; parallel programming;
fLanguage
English
Publisher
ieee
Conference_Titel
Performance Analysis of Systems and Software (ISPASS), 2011 IEEE International Symposium on
Conference_Location
Austin, TX
Print_ISBN
978-1-61284-367-4
Electronic_ISBN
978-1-61284-368-1
Type
conf
DOI
10.1109/ISPASS.2011.5762737
Filename
5762737
Link To Document