# Optimization of Parallel-DEVS Simulations with Partitioning Techniques

### Christopher Herbez, Eric Ramat, Gauthier Quesnel

#### Abstract

With the emergence of parallel computational infrastructures at low cost, reducing simulation time becomes again an issue of the research community in modeling and simulation. This paper presents an approach to improve time of discrete event simulations. For that, the Parallel Discrete EVent System formalism is coupled to a partitioning method in order to parallelize the graph of models. We will present the graph partitioning method to realize this cutting and quantify the resulting time savings of parallel implementation. This article highlights the importance of considering the dynamic of the model when partitioning to improve performances. Many tests are performed from graphs with different sizes and shapes on several hardware architectures.

#### References

- Chandy, K. M. and Misra, J. (1979). Distributed simulation: A case study in design and verification of distributed programs. IEEE Trans. Software Eng., 5(5):440-452.
- Chandy, K. M. and Misra, J. (1981). Asynchronous distributed simulation via a sequence of parallel computations. Commun. ACM, 24(4):198-206.
- Chow, A. C.-H. (1996). Parallel devs: A parallel, hierarchical, modular modeling formalism and its distributed simulator. Trans. Soc. Comput. Simul. Int., 13(2):55- 67.
- Chow, A. C. H. and Zeigler, B. P. (1994). Parallel DEVS: A Parallel, Hierarchical, Modular, Modeling Formalism. In Proceedings of the 26th Conference on Winter Simulation, WSC 7894, pages 716-722, San Diego, CA, USA. Society for Computer Simulation International.
- Herbez, C., Quesnel, G., and Ramat, E. (2015). Building partitioning graphs in parallel-devs context for parallel simulations. In Proceedings of the 2015 Spring Simulation Conference.
- Jefferson, D. R. (1985). Virtual time. ACM Trans. Program. Lang. Syst., 7(3):404-425.
- Karypis, G. and Kumar, V. (1998). A fast and high quality multilevel scheme for partitioning irregular graphs. SIAM J. Sci. Comput., 20(1):359-392.
- Kernighan, B. W. and Lin, S. (1970). An efficient heuristic procedure for partitioning graphs. Bell System Technical Journal, 49(2):291-307.
- Quesnel, G., Duboz, R., and Ramat, E. (2009). The Virtual Laboratory Environment - An operational framework for multi-modelling, simulation and analysis of complex dynamical systems. Simulation Modelling Practice and Theory, 17:641-653.
- Wei, Y.-C. and Cheng, C.-K. (1989). Towards efficient hierarchical designs by ratio cut partitioning. In Computer-Aided Design, 1989. ICCAD-89. Digest of Technical Papers., 1989 IEEE International Conference on, pages 298-301.
- Zeigler, B. P., Kim, D., and Praehofer, H. (2000). Theory of modeling and simulation: Integrating Discrete Event and Continuous Complex Dynamic Systems. Academic Press, 2nd edition.

#### Paper Citation

#### in Harvard Style

Herbez C., Ramat E. and Quesnel G. (2015). **Optimization of Parallel-DEVS Simulations with Partitioning Techniques** . In *Proceedings of the 5th International Conference on Simulation and Modeling Methodologies, Technologies and Applications - Volume 1: SIMULTECH,* ISBN 978-989-758-120-5, pages 289-296. DOI: 10.5220/0005543702890296

#### in Bibtex Style

@conference{simultech15,

author={Christopher Herbez and Eric Ramat and Gauthier Quesnel},

title={Optimization of Parallel-DEVS Simulations with Partitioning Techniques},

booktitle={Proceedings of the 5th International Conference on Simulation and Modeling Methodologies, Technologies and Applications - Volume 1: SIMULTECH,},

year={2015},

pages={289-296},

publisher={SciTePress},

organization={INSTICC},

doi={10.5220/0005543702890296},

isbn={978-989-758-120-5},

}

#### in EndNote Style

TY - CONF

JO - Proceedings of the 5th International Conference on Simulation and Modeling Methodologies, Technologies and Applications - Volume 1: SIMULTECH,

TI - Optimization of Parallel-DEVS Simulations with Partitioning Techniques

SN - 978-989-758-120-5

AU - Herbez C.

AU - Ramat E.

AU - Quesnel G.

PY - 2015

SP - 289

EP - 296

DO - 10.5220/0005543702890296