Programming shared memory multiprocessors with deterministic message-passing concurrency: compiling SHIM to Pthreads

  • Authors:
  • Stephen A. Edwards;Nalini Vasudevan;Olivier Tardieu

  • Affiliations:
  • Columbia University, New York;Columbia University, New York;INRIA, Sophia Antipolis, France

  • Venue:
  • Proceedings of the conference on Design, automation and test in Europe
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

Multicore shared-memory architectures are becoming prevalent and bring many programming challenges. Among the biggest are data races: accesses to shared resources that make a program's behavior depend on scheduling decisions beyond its control. To eliminate such races, the SHIM concurrent programming language adopts deterministic message passing as it sole communication mechanism. We demonstrate such language restrictions are practical by presenting a SHIM to C-plus-Pthreads compiler that can produce efficient code for shared-memory multiprocessors. We present a parallel JPEG decoder and FFT exhibiting 3.05 and 3.3x speedups on a four-core processor.