Projects per year
Abstract
This paper considers how to use program shaping and algorithmic skeletons to parallelise a multi-agent system that is written in Erlang. Program shaping is the process of transforming a program to better enable the introduction of parallelism. Whilst algorithmic skeletons abstract away the low-level aspects of parallel programming that often plague traditional techniques, it is not always easy to introduce them into an arbitrary program, especially one that has not been written with parallelism in mind. Amongst other issues, data may not always be in a compatible format, function calls may need to be replicated to support alternative uses, side- effects may need to be isolated, or there may be dependencies between functions and data that obstruct the introduction of parallelism. Program shaping can be used to transform such code to a form that allows skeletons to be more easily introduced. In this paper, we present a series of generic program shaping rewrite rules, provide their implementation as refactorings, and show how they can used to parallelise an Evolutionary Multi-Agent System (MAS) written in Erlang. We show that we can significantly speed up this application, obtaining super-linear speedups of over 70× the original sequential performance on a 64-core shared-memory machine.
Original language | English |
---|---|
Number of pages | 37 |
Journal | Computing and Informatics |
Volume | 35 |
Issue number | 4 |
Publication status | Published - 2016 |
Fingerprint
Dive into the research topics of 'Using “program shaping” and algorithmic skeletons to parallelise an evolutionary multi-agent system in Erlang'. Together they form a unique fingerprint.Projects
- 3 Finished
-
H2020 Collaboration REPHRASE: H2020 Collaboration 2014 - RePhrase
Hammond, K. (PI)
1/04/15 → 31/03/18
Project: Standard
-
ParaPhrase Enlarged Distribution: EU FP7 PARAPHRASE Amendment 2
Hammond, K. (PI)
1/07/13 → 31/03/15
Project: Standard
-
ParaPhrase 100% - FP7-ICT-2011-7: ParaPhrase 100%
Hammond, K. (PI)
1/10/11 → 31/03/15
Project: Standard