Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
article
Free access

The cost of conservative synchronization in parallel discrete event simulations

Published: 01 April 1993 Publication History

Abstract

This paper analytically studies the performance of a synchronous conservative parallel discrete-event simulation protocol. The class of models considered simulates activity in a physical domain, and possesses a limited ability to predict future behavior. Using a stochastic model, it is shown that as the volume of simulation activity in the model increases relative to a fixed architecture, the complexity of the average per-event overhead due to synchronization, event list manipulation, lookahead calculations, and processor idle time approaches the complexity of the average per-event overhead of a serial simulation, sometimes rapidly. The method is therefore within a constant factor of optimal. The result holds for the worst case “fully-connected” communication topology, where an event in any other portion of the domain can cause an event in any other protion of the domain. Our analysis demonstrates that on large problems—those for which parallel processing is ideally suited— there is often enough parallel workload so that processors are not usually idle. It also demonstrated the viability of the method empirically, showing how good performance is achieved on large problems using a thirty-two node Intel iPSC/2 distributed memory multiprocessor.

References

[1]
~AYANI, R. A parallel simulation scheme based on distances between objects. In Distributed ~Szmuk~tton 1989, SCS Simulation Series. Society for Computer Simulation, San Diego, Calif., ~1989, pp. 113-118.
[2]
~BOMANS, L., AND ROOSE, D. Benchmarking the iPSC/2 hypercube multiprocessor. Concur- ~rency: Practice antt Experience 1, 1 (Sept. 1989), 3-18.
[3]
~BROWN, R. Calendar queues: A fast O(1) priority queue implementation for the simulation ~event set problem. Conzmun. ACM 31, 10 (Oct. 1988), 122(}-1227.
[4]
~CHANDY, K., AND SHERMAN, R. The conditional event approach to distributed s~mulatlon. In ~Distributed Simulation 1989, SCS Simulation Series. Society for Computer Simulation, San ~Diego, Calif., 1989, pp. 93-99.
[5]
~CHANDY, K. M. AND MISRA, J. Distributed simulation: A case study in design and verifica- ~tion of distributed programs. IEEE Trans. Sofm,. Eng. 5, 5 (Sept. 1979), 440-452.
[6]
~FUJIMOTO, R. M. Performance measurements of distributed simulation strategies. In Dts- ~tnbuted 8tmulatton 1988, vol. 19, SCS Simulation Series. Society for Computer Simulation, San ~Diego, Calif., 1988, pp. 14 20.
[7]
~FUJ1MOTO, R.M. Parallel discrete event simulation. Comlnun. ACM 33, 10 (Oct. 1990), ~30-53.
[8]
~GUPTA, A., AKYLIDIZ, I., AND FUJIMOTO, R. Performance analysis of Time Warp with ~homogeneous processors and exponentml task times. In Proceedings of the 1991 SIGMET- ~RiCS Conference (San Diego, Calif., May 21 24). ACM, New York, 1991, pp. 101-110.
[9]
~JEFFERSON, m.R. Virtual time. ACM Trans. Prog. Lang, Syst. 7, 3 (July 1985), 404-425.
[10]
~JONES, D.W. An empirical comparison of priority-queue and event-set implementations. ~Commun. ACM 29, 4 (Apr. 1986), 300-311.
[11]
~LAVENBERG, S., MUNTZ, R., AND SAivlADI, B. Performance analysis of a rollback method for ~distributed simulation. In Pelformance '83. Elsevier Science Pub. B. V. (North Holland), ~Amsterdam, The Netherlands, 1983, pp. 117-132.
[12]
~LIN, Y.-B., AND LAZOWSKA, E. Exploiting lookahead in parallel simulation. IEEE Trans. ~para. Dist. Syst. 1, 4 (Oct. 1990), 457-469.
[13]
~DN, Y.-B., AND LAZOWSKA, E. Optimality considerations for "Time Warp" parallel simula- ~tion. In Distributed Simulation 1990, SCS Simulation Series. Society for Computer Simulation, ~San Diego, Calif., 1990, pp. 29 34.
[14]
~LIPTON, R., AND MIZELL, D. Time Warp vs. Chandy-Misra: A worst-case comparison. In ~Distributed Simulation 1990, vol. 22, SCS Simulation Series. Society for Computer Simulation, ~San Diego, Calif., 1990, pp. 137-143.
[15]
~LUBACHEVSKY, B. D. Efficient distributed event-driven simulations of multiple-loop net- ~works. Commtm.,4CM32, I (Jan. 1989), 111 123.
[16]
~LUBACHEVSKY, B. Scalabitity of the bounded lag distributed discrete-event simulation. In ~Dtstrlbttted Sbntdation 1989, SCS Simulation Series. Society for Computer Simulation, San ~Diego, Calif., 1989, pp. 100-107.
[17]
~LUBACHEVSKY, B., SHWARTZ, A., AND WEISS, m. Rollback sometimes works., if filtered. In ~Proceedings of the 1989 Winter Simllhltion Con terence (Washington, D.C.). ACM, New York, ~1989, pp. 630-639.
[18]
~MADASETFI, V., WALRAND, J., AND MESSERSCHMITF, D. Synchronizaiion in message-passing ~computers: Models, algorithms, and analysis. In Distribztted Simulation 1990, vol. 22, SCS ~Simulation Series. Society for Computer Simulation, San Diego, Calif., 1990, pp. 35-48.
[19]
~MISRA, J. Distributed discrete-event simulation. Comput. Sttrl,. }8, 1 (Mar. 1986), 39 60.
[20]
~MITRA, D., AND MITR&N1, I. Analysis and optimum performance of two message-passing ~parallel processors synchronized by rollback. In PerJo;rnance '84. Elsevier Science Pub. B. V. ~(North Holland), Amsterdam, The Netherlands, 1984, pp. 35-50.
[21]
~NICOL, D. Parallel discrete-event simulation of FCFS stochastic queuing networks. SIG- ~PLAN Notires 23, 9 (Sept. 1988), 124-137.
[22]
~NICOL, D. Performance bounds on parallel self-initiating discrete event simulations. ACM ~Tratzs. Model. Comput. Stm. 1, I (1991), 24-50.
[23]
~NICOL, D., MICm~AL, C., AND INOUYE, P. Efficient aggregation of multiple LP's in dis- ~tributed memory parallel simulations. In Proceedings of the 1989 Winter Simulation Conference ~(Washington, D. C., Dec.). ACM, New York, 1989, pp. 680-685.
[24]
~NIcok, D., AND SALTZ, J. An analysis of scatter decomposition. IEEE Trans. Comput. 39, 11 ~(Nov. 1990), 1337-1345.
[25]
~PEACOCK, J. K., MANNING, E., AND WONG, J.W. Synchronization of distributed simulation ~using broadcast algorithms. Comput. Nero'. 4 (1980), 3 10.
[26]
~REYNOLDS, P. JR. A shared resource algorithm for distributed simulation. In Proceedings of ~the 9th Amtual blter~mtlonal Computer Architecture Conference (Austin, Texas, Apr.). ACM, ~New York, 1982, pp. 259-266.
[27]
~Ross, H. Stochastic Processes. Wiley, New York, 1983.
[28]
~SARGIZNT, R. Event graph modelling for simulation with application to flexible manufactur- ~ing systems. Manage. Sci. 34, 10 (Oct. 1988), 1231 1251.
[29]
~SCHRUBEN, L. Simulation modeling with event graphs. Commtm. ACM 26, 11 (Nov. 1983), ~957 963.
[30]
~SOKOL, L., BRISCOE, D., AND WIELAND, A. MTW: A strategy for scheduling discrete ~simulation events for concurrent execution. In Dtstrtbuted Simtdation 1988. SCS Simulation ~Series. Society for Computer Simulation, San Diego, Calif., 1988, pp. 34-42.
[31]
~TRIVEDI, K. Probabihty and Statistics, with Reliabili_o, Queuing, and Computer Scie;tce Apph- ~eations. Prentice-Hall, Englewood Cliffs, N.J., 1982.
[32]
~WAGNER, D., AND LAZOWSKA, E. Parallel simulation of queuing networks: Limitations and ~potentials. In Proceedings of the 1989 S1GMETRICS Conference (Berkeley, Calif., May 23-26). ~ACM, New York, 1989, pp. 146-155.

Cited By

View all
  • (2024)Performance Evaluation of Spintronic-Based Spiking Neural Networks using Parallel Discrete-Event SimulationACM Transactions on Modeling and Computer Simulation10.1145/3649464Online publication date: 5-Mar-2024
  • (2024)Parallel Simulation of Quantum Networks with Distributed Quantum State ManagementACM Transactions on Modeling and Computer Simulation10.1145/363470134:2(1-28)Online publication date: 31-Jan-2024
  • (2024)Unison: A Parallel-Efficient and User-Transparent Network Simulation KernelProceedings of the Nineteenth European Conference on Computer Systems10.1145/3627703.3629574(115-131)Online publication date: 22-Apr-2024
  • Show More Cited By

Recommendations

Reviews

Haim S. Gabrieli

Nicol makes a welcome contribution to current research on developing effective system simulations in multiprocessing environments. These simulations present a special challenge to their designers because events are generally time-dependent and concurrency must be maintained between the processors. The paper describes a protocol for parallelized discrete-event simulations that, based on the author's findings, will yield high processor utilization and low overhead. This conclusion is backed by analytical results as well as empirical measurements from several simulations run on the Intel iPSC distributed memory processor. The protocol is based on a sliding window concept defining lower and upper bounds within which events can be processed. Note, however, that the protocol will only work for a special class of simulation models that meet certain conditions. This paper will be of interest primarily to those engaged in designing and researching large-scale simulations in multi processing environments. A brief overview of recent work on the topic is provided. The distinction between the conservative and optimistic schools of thought is also discussed. If you have been exposed to simulation design and research, you are likely to find most of this paper easily readable. It provides a good blend of practical, down-to-earth discussion combined with a more rigorous mathematical analysis for those so inclined. It also includes a list of 32 references, most of which relate to work on parallelized simulations.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image Journal of the ACM
Journal of the ACM  Volume 40, Issue 2
April 1993
207 pages
ISSN:0004-5411
EISSN:1557-735X
DOI:10.1145/151261
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 April 1993
Published in JACM Volume 40, Issue 2

Permissions

Request permissions for this article.

Check for updates

Author Tag

  1. conservative synchronization

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)83
  • Downloads (Last 6 weeks)12
Reflects downloads up to 18 Aug 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Performance Evaluation of Spintronic-Based Spiking Neural Networks using Parallel Discrete-Event SimulationACM Transactions on Modeling and Computer Simulation10.1145/3649464Online publication date: 5-Mar-2024
  • (2024)Parallel Simulation of Quantum Networks with Distributed Quantum State ManagementACM Transactions on Modeling and Computer Simulation10.1145/363470134:2(1-28)Online publication date: 31-Jan-2024
  • (2024)Unison: A Parallel-Efficient and User-Transparent Network Simulation KernelProceedings of the Nineteenth European Conference on Computer Systems10.1145/3627703.3629574(115-131)Online publication date: 22-Apr-2024
  • (2024)Follow the Leader: Alternating CPU/GPU Computations in PDESProceedings of the 38th ACM SIGSIM Conference on Principles of Advanced Discrete Simulation10.1145/3615979.3656056(47-51)Online publication date: 24-Jun-2024
  • (2023)Rustsim: A Process-Oriented Simulation Framework for the Rust LanguageProceedings of the Winter Simulation Conference10.5555/3643142.3643402(3118-3129)Online publication date: 10-Dec-2023
  • (2023)Hybrid Speculative Synchronisation for Parallel Discrete Event SimulationProceedings of the 2023 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation10.1145/3573900.3591124(84-95)Online publication date: 21-Jun-2023
  • (2023)Virtual Time III, Part 2: Combining Conservative and Optimistic SynchronizationACM Transactions on Modeling and Computer Simulation10.1145/350524932:4(1-21)Online publication date: 11-Jan-2023
  • (2023)Virtual Time III, Part 1: Unified Virtual Time Synchronization for Parallel Discrete Event SimulationACM Transactions on Modeling and Computer Simulation10.1145/350524832:4(1-29)Online publication date: 11-Jan-2023
  • (2023)RustSim: A Process-Oriented Simulation Framework for the Rust Language2023 Winter Simulation Conference (WSC)10.1109/WSC60868.2023.10408161(3118-3129)Online publication date: 10-Dec-2023
  • (2022)Advanced TutorialProceedings of the Winter Simulation Conference10.5555/3586210.3586232(268-282)Online publication date: 11-Dec-2022
  • Show More Cited By

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media