Staged simulation: A general technique for improving simulation scale and performance

This article describes staged simulation, a technique for improving the run time performance and scale of discrete event simulators. Typical network simulations are limited in speed and scale due to redundant computations encountered both within a single simulation run and between successive runs. Staged simulation proposes to restructure discrete event simulators to operate in stages that precompute, cache, and reuse partial results to drastically reduce redundant computation within and across simulations. We present a general and flexible framework for staging, and identify the advantages and trade-offs of its application to wireless network simulations, a particularly challenging simulation domain. Experience with applying staged simulation to the ns2 simulator shows that staging can improve execution time by an order of magnitude or more and enable the simulation of wireless networks with tens of thousands of nodes.

[1]  David R. Jefferson,et al.  Virtual time , 1985, ICPP.

[2]  R. M. Fujimoto,et al.  Parallel discrete event simulation , 1989, WSC '89.

[3]  Paul Glasserman,et al.  Splitting for rare event simulation: analysis of simple cases , 1996, Winter Simulation Conference.

[4]  Yanhong A. Liu,et al.  Discovering auxiliary information for incremental computation , 1996, POPL '96.

[5]  Richard M. Fujimoto,et al.  Cloning: a novel method for interactive parallel simulation , 1997, WSC '97.

[6]  M. Gerla,et al.  GloMoSim: a library for parallel simulation of large-scale wireless networks , 1998, Proceedings. Twelfth Workshop on Parallel and Distributed Simulation PADS '98 (Cat. No.98TB100233).

[7]  Mario Gerla,et al.  GloMoSim: a library for parallel simulation of large-scale wireless networks , 1998 .

[8]  David A. Maltz,et al.  A performance comparison of multi-hop wireless ad hoc network routing protocols , 1998, MobiCom '98.

[9]  Deborah Estrin,et al.  Enabling large-scale simulations: selective abstraction approach to the study of multicast protocols , 1998, Proceedings. Sixth International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems (Cat. No.98TB100247).

[10]  Sajal K. Das,et al.  Exploiting model independence for parallel PCS network simulation , 1999, Proceedings Thirteenth Workshop on Parallel and Distributed Simulation. PADS 99. (Cat. No.PR00155).

[11]  Timothy S. Newman,et al.  Performance Comparison , 2021, Satellite Formation Flying.

[12]  Mostafa H. Ammar,et al.  Stateless routing in network simulations , 2000, Proceedings 8th International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems (Cat. No.PR00728).

[13]  Robert Rönngren,et al.  MobSim++: Parallel Simulation of Personal Communication Networks , 2001, IEEE Distributed Syst. Online.

[14]  David M. Nicol,et al.  Simulation Modeling of Large-Scale Ad-hoc Sensor Networks , 2001 .

[15]  Craig Chambers,et al.  Staged compilation , 2002, PEPM '02.

[16]  Syam Gadde,et al.  Coarse-Grained Network Simulation for Wide-Area Distributed Systems , 2002 .

[17]  Mostafa H. Ammar,et al.  Updateable simulation of communication networks , 2002, Proceedings 16th Workshop on Parallel and Distributed Simulation.

[18]  K. Walsh,et al.  Staged simulation for improving scale and performance of wireless network simulations , 2003, Proceedings of the 2003 Winter Simulation Conference, 2003..

[19]  Guy E. Blelloch,et al.  Selective memoization , 2003, POPL '03.