Efficient Runtime Detection and Toleration of Asymmetric Races


Autoria(s): Ratanaworabhan, Paruj; Burtscher, Martin; Kirovski, Darko; Zorn, Benjamin; Nagpal, Rahul; Pattabiraman, Karthik
Data(s)

01/04/2012

Resumo

We introduce ToleRace, a runtime system that allows programs to detect and even tolerate asymmetric data races. Asymmetric races are race conditions where one thread correctly acquires and releases a lock for a shared variable while another thread improperly accesses the same variable. ToleRace provides approximate isolation in the critical sections of lock-based parallel programs by creating a local copy of each shared variable when entering a critical section, operating on the local copies, and propagating the appropriate copies upon leaving the critical section. We start by characterizing all possible interleavings that can cause races and precisely describe the effect of ToleRace in each case. Then, we study the theoretical aspects of an oracle that knows exactly what type of interleaving has occurred. Finally, we present software implementations of ToleRace and evaluate them on multithreaded applications from the SPLASH2 and PARSEC suites.

Formato

application/pdf

Identificador

http://eprints.iisc.ernet.in/44007/1/Efficient.pdf

Ratanaworabhan, Paruj and Burtscher, Martin and Kirovski, Darko and Zorn, Benjamin and Nagpal, Rahul and Pattabiraman, Karthik (2012) Efficient Runtime Detection and Toleration of Asymmetric Races. In: IEEE Transactions on Computers, 61 (4). pp. 548-562.

Publicador

IEEE

Relação

http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5719607&tag=1

http://eprints.iisc.ernet.in/44007/

Palavras-Chave #Computer Science & Automation (Formerly, School of Automation)
Tipo

Journal Article

PeerReviewed