Low pain vs no pain multicore Haskells

Mustafa Aswad , Phil Trinder , Abdallah Al Zain, Greg Michaelson , Jost Berthold

Abstract

Multicores are becoming the dominant processor technology andfunctional languages are theoretically well suited to exploit them. In practice,however, implementing effective high level parallel functional languages is extremelychallenging.This paper is the first programming and performance comparison of functionalmulticore technologies and reports some of the first ever multicore resultsfor two languages. As such it reflects the growing maturity of the field bysystematically evaluating four parallel Haskell implementations on a commonmulticore architecture. The comparison contrasts the programming effort eachlanguage requires with the parallel performance delivered. The study uses 15’typical’ programs to compare a ’no pain’, i.e. entirely implicit, parallel languagewith three ’low pain’, i.e. semi-explicit languages.The parallel Haskell implementations use different versions of GHC compilertechnology, and hence the comparative performance metric is speedup whichnormalises against sequential performance. We ground the speedup comparisonsby reporting both sequential and parallel runtimes and efficiencies for three ofthe languages. Our experiments focus on the number of programs improved, theabsolute speedups delivered, the parallel scalability, and the program changesrequired to coordinate parallelism. The results are encouraging and, on occasion,surprising.
Original languageEnglish
Title of host publicationTrends in Functional Programming Volume 10
EditorsZoltán Horváth, Viktória Zsók, Peter Achten, Pieter Koopman
Number of pages16
PublisherIntellect
Publication date2010
Pages49-64
ISBN (Print)978-1-84150-158-1
ISBN (Electronic)978-1-84150-442-1
Publication statusPublished - 2010
Event10th Symposium on Trends in Functional Programming - Selye János University, Komárno, Slovakia
Duration: 2 Jun 20094 Jun 2009
Conference number: 10

Conference

Conference10th Symposium on Trends in Functional Programming
Number10
LocationSelye János University
Country/TerritorySlovakia
CityKomárno
Period02/06/200904/06/2009

Fingerprint

Dive into the research topics of 'Low pain vs no pain multicore Haskells'. Together they form a unique fingerprint.

Cite this