Projects per year
Abstract
As part of our ongoing research programme into programmer-in-the-loop parallelisation, we are studying the problem of introducing alternative data structures to support parallelism. Automated support for data structure transformations makes it easier to produce the best parallelisation for some given program, or even to make parallelisation feasible. We use a refactoring approach to choose and introduce these transformations for specific algorithmic skeletons, structured forms of parallelism that capture common patterns of parallelism. Our approach integrates with the Wrangler refactoring tool for Erlang, and uses the advanced Skel [4] skeleton library for Erlang. This library has previously been shown to give good parallelisations for a number of applications, including a multi-agent system [1] where we have achieved speedups of up to 142.44 on a 61-core machine with 244 threads. We have investigated three widely-used Erlang data structures: lists, binary structures and ETS (Erlang Term Storage) tables. In general, we have found that ETS tables deliver the best parallel performance for the examples that we have considered. However, our results show that simple lists may deliver similar performance to the use of ETS tables, and better performance than using binary structures. This means that we cannot blindly choose to implement a single optimisation as part of the compilation process. Our approach also allows the use of new (possibly user-defined) data structures and other transformations in future, giving a high level of flexibility and generality.
Original language | English |
---|---|
Title of host publication | Proceedings of the 15th International Workshop on Erlang |
Place of Publication | New York |
Publisher | ACM |
Pages | 60-61 |
ISBN (Print) | 9781450344319 |
DOIs | |
Publication status | Published - 23 Sept 2016 |
Event | 15th ACM SIGPLAN Workshop on Erlang - Nara, Japan Duration: 23 Sept 2016 → 23 Sept 2016 http://conf.researchr.org/home/icfp-2016/ |
Workshop
Workshop | 15th ACM SIGPLAN Workshop on Erlang |
---|---|
Abbreviated title | ICFP |
Country/Territory | Japan |
City | Nara |
Period | 23/09/16 → 23/09/16 |
Internet address |
Fingerprint
Dive into the research topics of 'Towards semi-automatic data-type translation for parallelism in Erlang'. Together they form a unique fingerprint.Projects
- 2 Finished
-
H2020 Collaboration REPHRASE: H2020 Collaboration 2014 - RePhrase
Hammond, K. (PI)
1/04/15 → 31/03/18
Project: Standard
-
ParaPhrase 100% - FP7-ICT-2011-7: ParaPhrase 100%
Hammond, K. (PI)
1/10/11 → 31/03/15
Project: Standard