Year: 2013
Type: report
Abstract: In modern programming high-level data-structures are an impor-tant foundation for most applications. With the rise of the multi-core era, there is a growing trend of supporting data-parallel col-lection operations in general purpose programming languages and platforms. To facilitate object-oriented reuse these operations are highly parametric, incurring abstraction performance penalties. Fur-thermore, data-parallel operations must scale when used in prob-lems with irregular workloads. Work-stealing is a proven load-balancing technique when it comes to irregular workloads, but gen-eral purpose work-stealing also suffers from abstraction penalties. In this paper we present a generic design of a data-parallel col-lections framework based on work-stealing for shared-memory ar-chitectures. We show how abstraction penalties can be overcome through callsite specialization of data-parallel operations instances. Moreover, we show how to make work-stealing fine-grained and efficient when specialized for particular data-structures. We exper-imentally validate the performance of different data-structures and data-parallel operations, achieving up to 60 × better performance with abstraction penalties eliminated and 3 × higher speedups by specializing work-stealing compared to existing approaches.
Authors: Aleksandar Prokopec, Martin Odersky
Institution: École Polytechnique Fédérale de Lausanne
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W655080529
