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 language | English |
---|---|
Title of host publication | Trends in Functional Programming Volume 10 |
Editors | Zoltán Horváth, Viktória Zsók, Peter Achten, Pieter Koopman |
Number of pages | 16 |
Publisher | Intellect |
Publication date | 2010 |
Pages | 49-64 |
ISBN (Print) | 978-1-84150-158-1 |
ISBN (Electronic) | 978-1-84150-442-1 |
Publication status | Published - 2010 |
Event | 10th Symposium on Trends in Functional Programming - Selye János University, Komárno, Slovakia Duration: 2 Jun 2009 → 4 Jun 2009 Conference number: 10 |
Conference
Conference | 10th Symposium on Trends in Functional Programming |
---|---|
Number | 10 |
Location | Selye János University |
Country/Territory | Slovakia |
City | Komárno |
Period | 02/06/2009 → 04/06/2009 |