ErlangTW is a parallel/distributed simulation middleware based on the Time Warp synchronization protocol. ErlangTW is entirely written in Erlang, a concurrent, functional programming language specifically targeted at building distributed systems. We argue that writing parallel simulation models in Erlang is considerably easier than using conventional programming languages. Moreover, ErlangTW allows simulation models to be executed either on single-core, multicore and distributed computing architectures.
We have developed a complete implementation of Time Warp and to evaluate the performance of ErlangTW we used a synthetic benchmark called PHOLD, that is a model specifically designed for the performance evaluation of Time Warp implementations.
Both ErlangTW and the PHOLD model are provided in source code with an open source license.
For more information on the ErlangTW design, implementation and performance please see the paper:
Luca Toscano, Gabriele D'Angelo, Moreno Marzolla. Parallel Discrete Event Simulation with Erlang. Proceedings of ACM SIGPLAN Workshop on Functional High-Performance Computing, FHPC'12, in conjunction with ICFP 2012. Copenhagen, Denmark, September 2012. ISBN: 978-1-4503-1577-7. Presentation slides.
ErlangTW, the PHOLD model and all the support scripts can be downloaded from this git repository.
<html> <center> <iframe width=“640” height=“480” src=“https://www.youtube.com/embed/YJIzJkfPZyI?rel=0” frameborder=“0” allowfullscreen></iframe> </center> </html>
To cite the ErlangTW software use:
Luca Toscano, Gabriele D'Angelo, Moreno Marzolla, Parallel Discrete Event Simulation with Erlang. Proc. ACM SIGPLAN Workshop on Functional High-Performance Computing, FHPC'12. pp 83-—92, 15 september 2012, Copenhagen, Denmark, ISBN 978-1-4503-1577-7, DOI 10.1145/2364474.2364487
If you use BibTeX for LaTeX, use:
@inproceedings{Toscano2012, author = {Toscano, Luca and D'Angelo, Gabriele and Marzolla, Moreno}, title = {Parallel discrete event simulation with Erlang}, booktitle = {Proceedings of the 1st ACM SIGPLAN workshop on Functional high-performance computing}, series = {FHPC'12}, year = {2012}, isbn = {978-1-4503-1577-7}, location = {Copenhagen, Denmark}, pages = {83--92}, numpages = {10}, url = {http://doi.acm.org/10.1145/2364474.2364487}, doi = {10.1145/2364474.2364487}, publisher = {ACM}, address = {New York, NY, USA} }