Data race: tame the beast

  • Authors:
  • K. Leung;Z. Huang;Q. Huang;P. Werstein

  • Affiliations:
  • Department of Computer Science, University of Otago, Dunedin, New Zealand;Department of Computer Science, University of Otago, Dunedin, New Zealand;Department of Computer Science, University of Otago, Dunedin, New Zealand;Department of Computer Science, University of Otago, Dunedin, New Zealand

  • Venue:
  • The Journal of Supercomputing
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Data races hamper parallel programming and threaten the reliability of future software. This paper proposes the data race prevention scheme View-Oriented Data race Prevention (VODAP), which can prevent data races in the View-Oriented Parallel Programming (VOPP) model. VOPP is a novel shared-memory data-centric parallel programming model, which uses views to bundle mutual exclusion with data access. We have implemented the data race prevention scheme with a memory protection mechanism. Experimental results show that the extra overhead of memory protection is trivial in our applications. The performance is evaluated and compared with modern programming models such as OpenMP and Cilk.