skip to main content
research-article

Load sharing for optimistic parallel simulations on multi core machines

Published:04 January 2012Publication History
Skip Abstract Section

Abstract

Parallel Discrete Event Simulation (PDES) is based on the partitioning of the simulation model into distinct Logical Processes (LPs), each one modeling a portion of the entire system, which are allowed to execute simulation events concurrently. This allows exploiting parallel computing architectures to speedup model execution, and to make very large models tractable. In this article we cope with the optimistic approach to PDES, where LPs are allowed to concurrently process their events in a speculative fashion, and rollback/ recovery techniques are used to guarantee state consistency in case of causality violations along the speculative execution path. Particularly, we present an innovative load sharing approach targeted at optimizing resource usage for fruitful simulation work when running an optimistic PDES environment on top of multi-processor/multi-core machines. Beyond providing the load sharing model, we also define a load sharing oriented architectural scheme, based on a symmetric multi-threaded organization of the simulation platform. Finally, we present a real implementation of the load sharing architecture within the open source ROme OpTimistic Simulator (ROOT-Sim) package. Experimental data for an assessment of both viability and effectiveness of our proposal are presented as well.

References

  1. Atlante stradale italia. http://www.automap.it/.Google ScholarGoogle Scholar
  2. ACI. Dati e statistiche. http://www.aci.it/?id=54.Google ScholarGoogle Scholar
  3. Baltas, N., and Field, T. Continuous performance testing in virtual time. In Proceedings of the 9th International Conference on Quantitative Evaluation of Systems (2012). Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Boukerche, A., and Das, S. K. Dynamic load balancing strategies for conservative parallel simulations. In Proceedings of the 11th Workshop on Parallel and Distributed Simulation (1997), pp. 20--28. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Brown, R. Calendar queues: a fast O(1) priority queue implementation for the simulation event set problem. Communications of the ACM 31 (October 1988), 1220--1227. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Carothers, C. D., and Fujimoto, R. M. Efficient Execution of Time Warp Programs on Heterogeneous, NOW Platforms. IEEE Transactions on Parallel and Distributed Systems 11, 3 (2000), 299--317. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Chen, L.-l., Lu, Y.-s., Yao, Y.-P., Peng, S.-l., and Wu, L.-d. A well-balanced time warp system on multi-core environments. In Proceedings of the 2011 IEEE Workshop on Principles of Advanced and Distributed Simulation (2011), PADS, IEEE Computer Society, pp. 1--9. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Dantzig, G. B. Discrete-variable extremum problems. Operational Research, 5 (1957).Google ScholarGoogle Scholar
  9. Fujimoto, R. M. Parallel discrete event simulation. Communications of the ACM 33, 10 (Oct. 1990), 30--53. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Glazer, D. W., and Tropper, C. On process migration and load balancing in time warp. IEEE Transactions on Parallel Distributed Systems 4, 3 (1993), 318--327. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Hamada, T., and Nitadori, K. 190 tops astrophysical n-body simulation on a cluster of gpus. In Proceedings of the 2010 ACM/IEEE International Conference on High Performance Computing, Networking, Storage and Analysis (2010), SC, IEEE Computer Society, pp. 1--9. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. HPDCS Research Group. ROOT-Sim: The ROme OpTimistic Simulator - v 1.0. http://www.dis.uniroma1.it/~hpdcs/ROOT-Sim/, Oct. 2012.Google ScholarGoogle Scholar
  13. Jefferson, D. R. Virtual Time. ACM Transactions on Programming Languages and System 7, 3 (July 1985), 404--425. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Kandukuri, S., and Boyd, S. Optimal power control in interference-limited fading wireless channels with outage-probability specifications. IEEE Transactions on Wireless Communications 1, 1 (2002), 46--55. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Lin, Y.-B., and Lazowska, E. D. Processor scheduling for Time Warp parallel simulation. In Proceedings of the 23rd SCS Multiconference on Advances in Parallel and Distributed Simulation (Jan. 1991), IEEE Computer Society, pp. 11--14.Google ScholarGoogle Scholar
  16. Liu, T., Curtsinger, C., and Berger, E. D. DThreads: Effcient deterministic multithread. In Proceedings of the 23rd Symposium on Operating Systems Principles (SOSP 2011) (2011), ACM, pp. 327--336. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Mellon, L., and West, D. Architectural optimizations to advanced distributed simulation. In Proceedings of the 27th conference on Winter simulation (1995), WSC, IEEE Computer Society, pp. 634--641. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Miller, R. J. Optimistic parallel discrete event simulation on a beowulf cluster of multi-core machines. Master's thesis, University of Cincinnati, 2010.Google ScholarGoogle Scholar
  19. Park, A., and Fujimoto, R. M. Optimistic parallel simulation over public resource-computing infrastructures and desktop grids. In Proceedings of the 12th IEEE International Symposium on Distributed Simulation and Real Time Applications (2008). Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Peluso, S., Didona, D., and Quaglia, F. Application transparent migration of simulation objects with generic memory layout. In Proceedings of the 25th Workshop on Principles of Advanced and Distributed Simulation (june 2011), IEEE Computer Society, pp. 169--177. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. per L'Italia S.p.A., A. Reportistica sul traffco. http://www.autostrade.it/studi/studi_traffico.html.Google ScholarGoogle Scholar
  22. Quaglia, F., and Cortellessa, V. On the processor scheduling problem in time warp synchronization. ACM Transactions on Modeling and Computer Simulation 12, 3 (July 2002), 143--175. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Vitali, R., Pellegrini, A., and Quaglia, F. Autonomic log/restore for advanced optimistic simulation systems. In Proceedings of the Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (2010), IEEE Computer Society, pp. 319--327. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. Weatherly, R. M., Wilson, A. L., Canova, B. S., Page, E. H., Zabek, A. A., and Fischer, M. C. Advanced distributed simulation through the aggregate level simulation protocol. In HICSS (1) (1996), pp. 407--415. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Load sharing for optimistic parallel simulations on multi core machines

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          • Published in

            cover image ACM SIGMETRICS Performance Evaluation Review
            ACM SIGMETRICS Performance Evaluation Review  Volume 40, Issue 3
            December 2012
            108 pages
            ISSN:0163-5999
            DOI:10.1145/2425248
            Issue’s Table of Contents

            Copyright © 2012 Copyright is held by the owner/author(s)

            Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 4 January 2012

            Check for updates

            Qualifiers

            • research-article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader