skip to main content
article
Free Access

Discrete-event simulation and the event horizon

Published:01 July 1994Publication History
Skip Abstract Section

Abstract

The event horizon is a very important concept that is useful for both parallel and sequential discrete-event simulations. By exploiting the event horizon, parallel simulations can process events in a manner that is risk-free (i.e., no antimessages) in adaptable “breathing” time cycles with variable time widths. Additionally, exploiting the event horizon can greatly reduce the event list management overhead that is common to virtually all discrete-event simulations.

This paper develops an analytic model describing the event horizon from first principles using equilibrium considerations and the hold model (where each event, when consumed, generates a single new event with future-time statistics described by a known probability function). Exponential and Beta-density functions are used to verify the mathematics presented in this paper.

References

  1. Bellenot S. 1993. "Performance of a Riskfree Time Warp Operating System." in Proceedings of the 7'tJ~ Workshop on Parallel and Distributed Simulation (PADS93). Vol. 23, No. 1, July 1993, Pages 155-158. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Chandy K. and Misra J. 1979. "Distributed Simulation: A Case Study in Design and Verification of Distributed Programs." IEEE Transactions on Software Engineering. Vol. SE-5, No. 5, Pages 440-452.Google ScholarGoogle Scholar
  3. Chandy K. and Sherman R. 1989. "Space, Time, and Simulation." In Proceedings of the SCS MulJ'iconference on Distributed Simulation. Vol. 21, No. 2, pages 5;3-57.Google ScholarGoogle Scholar
  4. Chou C., BrueI1 S., Jones D. 1993. "A Generalized Hold Model." In Proceedings of the 1993 SCS Winter Simulation Conference. Pages 756-761. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Dickens P. and Reynolds P. 1990. "SRADS With Local Rollback." In Proceedings of the SCS Multiconference on Distributed Simulation. Vol. 22, No. I, Pages 161-164.Google ScholarGoogle Scholar
  6. Felderman R. and Kleinrock L. 1992. "Two Processor Conservative Simulations Analysis." Proceed~!ngs of the SCS Multiconference on Advances in Parallel and Distributed Simulation. Vol. 24, No. 3, pages 169-177.Google ScholarGoogle Scholar
  7. Fujimoto R. 1988. "Lookahead in Parallel Discrete Event Simulation." International Conference on Parallel Processing. Vol. 3, pages 34-41.Google ScholarGoogle Scholar
  8. Fujimoto R. 1990. "Parallel Discrete Event Simulation." Communications of the ACM. Vol. 33, No. 10, pages 30-53. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Hawking S. 1988. "A Brief History of Time." Bantam Books, New York, New York, 1988.Google ScholarGoogle Scholar
  10. Jefferson D. 1985. "Virtual Time." ACM Transactions on Programming Languages and Systems. Vol. 7, No. 3, Pages 404-425 Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Jones D. 1986. "An Empirical Comparison of Priority-Queue and Event-Set Implementations." Communications of the A CM. Vol. 29, No. 4, pages 300-311. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Lin Y. and Lazowska E. 1990. "Exploiting Lookahead in Parallel Simulation." IEEE Transactions on Parallel and Distributed Systems. Vol. 1, No. 4, pages 457--469. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Lubachevsky B. 1988. "Bounded Lag Distributed Discrete Event Simulation." Multi-Conference on Distributed Simulation. (February) Pages 183-191.Google ScholarGoogle Scholar
  14. Lubachevsky B. 1989. "Rollback Sometimes Works.. If Filtered." In Proceedings of the SCS Winter Simulation Conference. Pages 630-639. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Mehl H. 1991. "Speed-Up of Conservative Distributed Discrete-Event Simulation Methods by Speculative Computing (Short Version)." In Proceedings of Advances in Parallel and Distributed Simulation. Vol. 23, No. 1, Pages 163-166.Google ScholarGoogle Scholar
  16. Nicol D. 1991. "Performance Bounds on Parallel Self-Initiating Discrete Event Simulations." A CM Transactions on Modeling and Computer Simulation. Vol. 1, No. 1, Pages 24-50. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Papoulis A. 1965. "Probability, Random Variables, and Stochastic Processes." McGraw-Hill Series in System Science, New York, pages 104, 147.Google ScholarGoogle Scholar
  18. Reynolds P. 1988. "A Spectrum of Options for Parallel Simulation." In Proceedings of the 1988 Winter Simulation Conference. Pages 325-332. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Ronngren R., Riboe J., and Ayani R. 1991. "Lazy Queue: An Efficient Implementation of the Pending-event Set." Proceedings of the 24'th Annual Simulation Symposium, pages 194-204. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Sleator D., and Tarjan R. 1985. "Self Adjusting Binary Search Trees." Journal of the ACM. Vol. 32, No. 3, pages 652-686. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Steinman J. 1992. "SPEEDES: A Multiple-Synchronization Environment for Parallel Discrete-Event Simulation." International Journal in Computer Simulation. Vol. 2, Pages 251-286.Google ScholarGoogle Scholar
  22. Steinman J. 1993. "Breathing Time Warp." In Proceedings of the 7'th Workshop on Parallel and Distributed Simulation (PADS93). Vol. 23, No. 1, July 1993, Pages 1130-118. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Turner S. and Xu M. 1992. "Performance Evaluation of the Bounded Time Warp Algorithm." Proceedings of the SCS Multiconference on Advances in Parallel and Distributed Simulation. Vol. 24, No. 3, pages 117-126.Google ScholarGoogle Scholar
  24. Wieland F., et al. 1992. "A Critical Path Tool for Parallel Simulation Performance Optimization." Proceedings of the Hawaii International Conference on System Sciences. Vol. 2, Pages 196-206.Google ScholarGoogle Scholar

Index Terms

  1. Discrete-event simulation and the event horizon

      Recommendations

      Reviews

      Anthony Joseph Duben

      The concept of an event horizon originated in cosmology. It describes the boundary of the region in space-time from which neither matter nor energy can escape. This concept has been adapted to discrete-event simulation in order to accelerate the processing of events by reducing the overhead of maintaining the linked list in which events are stored. Two sets of events are maintained—a primary set, which is ordered in time, and a secondary set of events that are generated as the events in the primary set are processed. The secondary set is not ordered. Only the earliest event in the secondary set is identified. The time of this event is the event horizon. The primary set is processed until the event horizon is encountered, then the secondary set is sorted and merged with the remainder of the primary set, and the cycle begins again. Time is saved by reducing the overhead of continually managing a sorted list of events. Steinman provides an analytic foundation for the event horizon in discrete simulation. He begins with the event density function, the equilibrium distribution of events in the simulation, and from this determines the event-insertion bias (the fraction of the linked list that must be traversed for insertion), the average number of events that are processed in a cycle, and the average event horizon time-interval. The formalism is applied to the beta-density function, a flexible, general probability distribution that provides a large set of test cases. The brief report of the beta-density function application is the only numerical example in the paper. A major result of the analysis is the demonstration that longer lookahead (the time difference between a processed event and the event that it generates) improves the performance of parallel simulations. Although this paper is basically theoretical, it is worthy of the attention of simulation practitioners.

      Access critical reviews of Computing literature here

      Become a reviewer for Computing Reviews.

      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

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader