arrow
Return

Parallel Theatre: An actor framework in Java for high performance computing

delete2021-01-01
delete17
PRE
AI
L
Libero Nigro *
DOI:10.1016/j.simpat.2020.102189delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Theatre is an actor-based system currently implemented in Java, which enables modelling, analysis and implementation of predictable time-dependent distributed systems like cyber-physical systems. Theatre, though, can also be used for untimed complex systems. The core feature of Theatre is its control-based character. A reflective control layer, which can be tailored to the needs of specific application domains, is responsible for scheduling and dispatching messages asynchronously exchanged among actors. A Theatre system is a federation of theatres (computing nodes), upon which application actors are partitioned. Actors can move from a theatre to another. In its distributed implementation, Theatre rests on a socket network initially established among the interacting theatres. Messages and actors exploit Java serialization/deserialization when moving from a theatre to another. This paper proposes a novel extension of Theatre, Parallel Theatre, which is developed for an exploitation of the computing potential of nowadays multi-core machines with shared memory. Parallel Theatre avoids sockets and Java serialization. A key factor of Parallel Theatre consists in being a completely lock-free computing framework. Locks are avoided not only at the application level, as it was already demonstrated by classical actor systems, but also in the runtime system, thus enabling high-performance computing of scalable systems. This paper describes Parallel Theatre and the particular control forms which were developed for untimed and timed parallel systems. Then two scalable models are presented. The first one is concerned with a parallel algorithm for matrix multiplication. The second example is related to a parallel simulation of a multi-agent model for the Iterated Prisoner's Dilemma (IPD), which permits to observe the emergence of cooperation in large populations of players. The experimental results confirm the achievement of good execution performance.
Keywords:
Actors
Asynchronous messages
Reflective control on message passing
Lock-free parallel computing
Java
Scalable multi-agent systems
Parallel matrix multiplication
Iterated Prisoner's Dilemma
Process fault tolerance: Semantics, design and applications for high performance computing
err2005-11-01
err27
PREAI
errFagg, GE; Gabriel, E; Chen, ZZ; Angskun, T; Bosillca, G; Pjesivac-Grbovic, J; Dongarra, JJ
errShare
errSave
A test suite for high-performance parallel Java
err2000-08-01
err10
errOAAI
errHäuser, J; Ludewig, T; Williams, RD; Winkelmann, R; Gollnick, T; Brunett, S; Muylaert, J
errShare
errSave
errShare
errSave

Journal

Simulation Modelling Practice and Theory cover
Simulation Modelling Practice and Theory
IF:
4.6
Papers:
2.6K
Citations:
5.9K

Organization

U
University of Calabria
Scholars:
532
Papers: 196
Citations: 3.7K
Cited Papers

Cited Papers

Tetrachloro-9H-Carbazole, a Previously Unrecognized Contaminant in Sediments of the Buffalo River
err1984-01-01
err0
PREAI
errDouglas W. Kuehl; Elizabeth Durhan; Brian C. Butterworth; Darcy Linn
errShare
errSave
errShare
errSave
Addressing production challenges in goat production systems of South Africa: The genomics approach
err2015-10-01
err0
PREAI
errRamadimetja Prescilla Mohlatlole; Edgar Farai Dzomba; Farai Catherine Muchadeyi
errShare
errSave
errShare
errSave
no more