Transparent runtime parallelization of the R scripting language

  • Authors:
  • Jiangtian Li;Xiaosong Ma;Srikanth Yoginath;Guruprasad Kora;Nagiza F. Samatova

  • Affiliations:
  • Microsoft Corporation, Redmond, WA 98052, United States;Department of Computer Science, North Carolina State University, 890 Oval Drive, Raleigh, NC 27695, United States and Oak Ridge National Laboratory, Oak Ridge, TN 37831, United States;Oak Ridge National Laboratory, Oak Ridge, TN 37831, United States;Oak Ridge National Laboratory, Oak Ridge, TN 37831, United States;Department of Computer Science, North Carolina State University, 890 Oval Drive, Raleigh, NC 27695, United States and Oak Ridge National Laboratory, Oak Ridge, TN 37831, United States

  • Venue:
  • Journal of Parallel and Distributed Computing
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Scripting languages such as R and Matlab are widely used in scientific data processing. As the data volume and the complexity of analysis tasks both grow, sequential data processing using these tools often becomes the bottleneck in scientific workflows. We describe pR, a runtime framework for automatic and transparent parallelization of the popular R language used in statistical computing. Recognizing scripting languages' interpreted nature and data analysis codes' use pattern, we propose several novel techniques: (1) applying parallelizing compiler technology to runtime, whole-program dependence analysis of scripting languages, (2) incremental code analysis assisted with evaluation results, and (3) runtime parallelization of file accesses. Our framework does not require any modification to either the source code or the underlying R implementation. Experimental results demonstrate that pR can exploit both task and data parallelism transparently and overall has better performance as well as scalability compared to an existing parallel R package that requires code modification.