Abstract
In this paper, we study time-parallel simulation of wireless networks based upon the concept of the perturbation induced by a networking event and present a layer-by-layer analysis of the impact of perturbations on the wireless network. This analysis allows us to propose several methods to improve the accuracy of time-parallel simulation. We describe an implementation based on the widely used ns-2 simulator and on the iterative extension of the warmup period. We introduce a method for initial state approximation which can improve the accuracy of the simulation for table-driven ad hoc routing protocols. A series of experiments show that on typical scenarios time-parallel simulation leads to a significant speedup while maintaining a high level of accuracy.
Similar content being viewed by others
References
Andradóttir, S., & Ott, T. J. (1995). Time segmentation parallel simulation of networks of queues with loss or communication blocking. ACM Transactions on Modeling and Computer Simulation, 5(4), 269–305.
Avril, H., & Tropper, C. (1996). The dynamic load balancing of clustered time warp for logic simulation. In Proceedings of the 10th Workshop on Parallel and Distributed Simulation (PADS) (pp. 20–27).
Boloni, L., Turgut, D., Wang, G., & Marinescu, D. (2006). Challenges and benefits of time-parallel simulation of wireless ad hoc networks. In Proceedings of the 1st International Conference on Performance Evaluation Methodologies and Tools (Valuetools), October.
Boukerche, A., & Das, S. K. (1997). Dynamic load balancing strategies for conservative parallel simulations. In Proceedings of the 11th Workshop on Parallel and Distributed Simulation (PADS) (pp. 20–28).
Boukerche, A., Das, S. K., & Fabbri, A. (2001). SWiMNet: A scalable parallel simulation testbed for wireless and mobile networks. Wireless Networks 7(5), 467–486.
Boukerche, A., Das, S. K., Fabbri, A., & Yildiz, O. (1999). Exploiting model independence for PCS parallel simulation. In Proceedings of 13th ACM/IEEE Workshop on Parallel and Distributed Simulation (pp. 166–173).
Boukerche, A., & Fabbri, A. (2000). Partitioning parallel simulation of wireless networks. In Proceedings of the 2000 Winter Simulation Conference (pp. 1449–1457).
Boukerche, A., & Tropper, C. (1994). A static partitioning and mapping algorithm for conservative parallel simulations. ACM SIGSIM Simulation Digest 24(1), 164–172.
Briner, J. (1991). Fast parallel simulation of digital systems. In Proceedings of Multiconference on Advances in Parallel and Distributed Simulation (pp. 71–77).
Broch, J., Maltz, D. A., Johnson, D. B., Hu, Y. C., & Jetcheva, J. (1998). A performance comparison of multi-hop wireless ad hoc network routing protocols. In Proceedings of the 4th International Conference on Mobile Computing and Networking (MobiCom) (pp. 85–97).
Carothers, C. D., Fujimoto, R. M., England, P., & Lin, Y. B. (1994). Distributed simulation of large-scale PCS networks. In Proceedings of the 2nd IEEE International Workshop on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (pp. 2–6).
Carothers, C. D., Fujimoto, R. M, & Lin, Y. B. (1995). A case study in simulating PCS networks using Time Warp. In Proceedings of the 9th Workshop on Parallel and Distributed Simulation (PADS) (pp. 87–94).
Choe, M., & Tropper, C. (1999). On learning algorithms and balancing loads in time warp. In Proceedings of the 13th Workshop on Parallel and Distributed Simulation (PADS) (pp. 101–108).
Deelman, E., & Szymanski, B. K. (1998). Dynamic load balancing in parallel discrete event simulation for spatially explicit problems. In Proceedings of the 12th Workshop on Parallel and Distributed Simulation (PADS) (pp. 46–53).
Devine, K., Hendrickson, B., Boman, E., John, M. S., & Vaughan, C. (2000). Design of dynamic load-balancing tools for parallel applications. In Proceedings of the 14th International Conference on Supercomputing (ICS) (pp. 110–118).
Fujimoto, R. M. (1989). Time warp on a shared memory multiprocessor. Transactions of the Society for Computer Simulation 6(3), 211–239.
Fujimoto, R. M. (1990). Parallel discrete event simulation. Communications of the ACM 33(10), 30–53.
Glazer, D. W., & Tropper, C. (1993). On process migration and load balancing in time warp. IEEE Transactions on Parallel and Distributed Systems 4(3), 318–327.
Heidelberger, P., & Nicol, D. (1993). Conservative parallel simulation of continuous time Markov chains using uniformization. IEEE Transactions on Parallel and Distributed Systems 4(8), 906–921.
Hoseyni-Nasab, M., & Andradóttir, S. (1996). Parallel simulation by time segmentation: Methodology and applications. In Proceedings of the 1996 Winter Simulation Conference (pp. 376–381).
Hoseyni-Nasab, M., & Andradóttir, S. (1998). Time segmentation parallel simulation of tandem queues with manufacturing blocking. In Proceedings of the 1998 Winter Simulation Conference (pp. 1487–1492).
Jefferson, D. R. (1985). Virtual time. ACM Tranactions on Programming Languages and Systems 7(3), 404–325.
Kiesling, T. (2004). Approximate time-parallel cache simulation. In Proceedings of the 2004 Winter Simulation Conference (pp. 345–354).
Kiesling, T. (2005). Using approximation with time-parallel simulation. Simulation 81(4), 255–266.
Lin, Y. B., & Lazowska, E. D. (1990). Exploiting lookahead in parallel simulation. IEEE Transactions on Parallel and Distributed Systems 1(4), 457–469.
Lin, Y.-B., & Lazowska, E. D. (1991). A time-division algorithm for parallel simulation. ACM Transactions on Modeling and Computer Simulation 1(1), 73–83.
Madisetti, V. K., Walrand, J. C., & Messerschmitt, D. G. (1991). Asynchronous algorithms for the parallel simulation of event-driven dynamical systems. ACM Transactions on Modeling and Computer Simulation 1(3), 244–274.
Nicol, D. (1992). Conservative parallel simulation of priority class queuing networks. IEEE Transactions on Parallel and Distributed Systems, 3(3), 294–303.
Nikolaidis, I., Fujimoto, R., & Cooper, C. A. (1993). Parallel simulation of high-speed network multiplexers. IEEE Conference on Decision and Control, 3(1), 2224–2229.
Nikolaidis, I., Fujimoto, R., & Cooper, C. A. (1994). Time-parallel simulation of cascaded statistical multiplexers. In Proceedings of the ACM SIGMETRICS Conference on␣Measurement and Modeling of Computer Systems (pp. 231–240).
Panchal, J., Kelly, O., Lai, J., Mandayam, N., Ogielski, A. T., &␣Yates, R. (1998). WiPPET, a virtual testbed for parallel simulations of wireless networks. ACM SIGSIM Simulation Digest, 28(1), 162–169.
Perkins, C., & Bhagwat, P. (1994). Highly dynamic destination-sequenced distance-vector routing (DSDV) for mobile computers. In Proceedings of ACM SIGCOMM (pp. 234–244).
Perkins, C., & Royer, E. (1999). Ad hoc on-demand distance vector routing. In Proceedings of the 2nd IEEE Workshop on Mobile Computing Systems and Applications (pp. 99–100).
Quaglia, F. (2001). A cost model for selecting checkpoint positions in time warp parallel simulation. IEEE Transactions on Parallel and Distributed Systems 12(4), 346–362.
Quaglia, F., & Santoro, A. (2003). Nonblocking checkpointing for optimistic parallel simulation: Description and an implementation. IEEE Transactions on Parallel and Distributed Systems, 14(6), 593–610.
Reiher, P. L., & Jefferson, D. (1990) Dynamic load management in the time warp operating system. Transactions of the Society for Computer Simulation, 7(2), 91–120.
Soliman, H. M., & Elmaghraby, A. S. (1998). An analytical model for hybrid checkpointing in time warp distributed simulation. IEEE Transactions on Parallel and Distributed Systems, 9(10), 947–951.
Som, T. K., & Sargent, R. G. (2000). Model structure and load balancing in optimistic parallel discrete event simulation. In Proceedings of the 14th Workshop on Parallel and Distributed Simulation (PADS) (pp. 147–154).
VINT. The UCB/LBNL/VINT network simulator-ns (version 2). URL http://www.isi.edu/nsnam/ns
Wang, J. J., & Abrams, M. (1992). Approximate time-parallel simulation of queueing systems with losses. In Proceedings of the 1992 Winter Simulation Conference (pp. 700–708).
Wang, J. J., & Abrams, M. (1993). Determining initial states for time-parallel simulations. In Proceedings of the 7th Workshop on Parallel and Distributed Simulation (PADS) (pp. 19–26).
Weigle, M. C., Adurthi, P., Hernandez-Campos, F., Jeffay, K., & Smith, F. D. (2006). Tmix: A tool for generating realistic TCP application workloads in ns-2. ACM SIGCOMM Computer Communication Review, 36(3), 65–76.
Wieland, F. (2001). Practical parallel simulation applied to aviation control. In Proceedings of the 15th Workshop on Parallel and Distributed Simulation (pp. 109–116). ACM/IEEE Computer Society.
Wilson, L. F., & Nicol, D. M. (1996). Experiments in automated load balancing. In Proceedings of the 10th Workshop on Parallel and Distributed Simulation (PADS) (pp. 4–11).
PDNS – Parallel/Distributed NS. URL http://www.cc.gatech.edu/computing/compass/, 2004.
Acknowledgments
The research reported in this paper was partially supported by National Science Foundation grants ACI0296035 and EIA0296179. One of the authors (dcm) acknowledges support from the Science Foundation of Ireland (SFI) through a 2007 Ernst T.S. Walton award.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Wang, G., Turgut, D., Bölöni, L. et al. Time-parallel simulation of wireless ad hoc networks. Wireless Netw 15, 463–480 (2009). https://doi.org/10.1007/s11276-007-0058-1
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11276-007-0058-1