Skip to main navigation Skip to search Skip to main content

Efficient implementation of event sets in time warp

  • Robert Ronngren
  • , Rassul Ayani
  • , Richard M. Fujimoto
  • , Samir R. Das
  • KTH Royal Institute of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

14 Scopus citations

Abstract

The implementation of the pending event set (PES) is crucial to the execution speed of discrete event simulation programs. This paper studies the implementation of the PES in the context of simulations executing on parallel computers using the Time Warp mechanism. We present a scheme for implementing Time Warp's PES based on well-known data structures for priority queues. This scheme supports efficient management of future and past events, especially for rollback and fossil collection operations. A comparative study of several queue implementations is presented. Experiments with a Time Warp system executing on a Kendall Square Research multiprocessor (KSR1) demonstrate that the implementation of the input queue can have a dramatic impact on performance, as large as an order of magnitude, that is much greater than what can be accounted for by simply the reduced execution time to access the data structure. In particular, it is demonstrated that an efficient input queue implementation can also significantly reduce the number of rollbacks, and the efficiency of memory management policies such as Jefferson's cancelback protocol. In the context of this work we also present an improved version of the skew heap that allows dequeueing of arbitrary elements at low cost. In particular, the possibility of dequeueing arbitrary elements will improve memory utilization. This ability is also important in applications where frequent rescheduling may occur, as in ready queues used to select the next logical process to execute.

Original languageEnglish
Title of host publicationProc 7 Workshop Parallel Distrib Simul
EditorsRajive Bagrodia, David Jefferson
PublisherPubl by ACM
Pages101-106
Number of pages6
ISBN (Print)1565550552
StatePublished - 1993
EventProceedings of the 7th Workshop on Parallel and Distributed Simulation - San Diego, CA, USA
Duration: May 16 1993May 19 1993

Publication series

NameProc 7 Workshop Parallel Distrib Simul

Conference

ConferenceProceedings of the 7th Workshop on Parallel and Distributed Simulation
CitySan Diego, CA, USA
Period05/16/9305/19/93

Fingerprint

Dive into the research topics of 'Efficient implementation of event sets in time warp'. Together they form a unique fingerprint.

Cite this