Speculative separation for privatization and reductions

Nick P. Johnson, Hanjun Kim, Prakash Prabhu, Ayal Zaks, David I. August

Research output: Contribution to journalArticle

8 Citations (Scopus)

Abstract

Automatic parallelization is a promising strategy to improve application performance in the multicore era. However, common programming practices such as the reuse of data structures introduce artificial constraints that obstruct automatic parallelization. Privatization relieves these constraints by replicating data structures, thus enabling scalable parallelization. Prior privatization schemes are limited to arrays and scalar variables because they are sensitive to the layout of dynamic data structures. This work presents Privateer, the first fully automatic privatization system to handle dynamic and recursive data structures, even in languages with unrestricted pointers. To reduce sensitivity to memory layout, Privateer speculatively separates memory objects. Privateer's lightweight runtime system validates speculative separation and speculative privatization to ensure correct parallel execution. Privateer enables automatic parallelization of general-purpose C/C++ applications, yielding a geomean whole-program speedup of 11.4× over best sequential execution on 24 cores, while non-speculative parallelization yields only 0.93×.

Original languageEnglish
Pages (from-to)359-369
Number of pages11
JournalACM SIGPLAN Notices
Volume47
Issue number6
DOIs
Publication statusPublished - 2012 Aug 1

    Fingerprint

All Science Journal Classification (ASJC) codes

  • Computer Science(all)

Cite this

Johnson, N. P., Kim, H., Prabhu, P., Zaks, A., & August, D. I. (2012). Speculative separation for privatization and reductions. ACM SIGPLAN Notices, 47(6), 359-369. https://doi.org/10.1145/2345156.2254107