PORTS: a parallel, optimistic, real-time simulator
- 1 July 1994
- proceedings article
- Published by Association for Computing Machinery (ACM)
- Vol. 24 (1) , 24-31
- https://doi.org/10.1145/182478.182487
Abstract
This paper describes issues concerning the design of an optimistic parallel discrete event simulation system that executes in environments that impose real-time constraints on the simulator's execution. Two key problems must be addressed by such a system. First the timing characteristics of the parallel simulator must be sufficiently predictable to allow one to guarantee that real-time deadlines for completing simulation computations will be met. Second, the optimistic computation must be able to interact with its surrounding environment with as little latency as possible, necessitating rapid commitment of I/O operations.To address the first question, we show that optimistic simulators that never send incorrect messages (sometimes called “aggressive-no-risk” simulators) provide sufficient predictability to allow traditional schedulability analysis techniques commonly used in real-time systems to be applied. We show that incremental state saving techniques introduce sufficient unpredictability that they are not well-suited for real-time environments. We observe that the traditional “lowest timestamp first” scheduling policy used in many optimistic parallel simulation systems is an optimal (in the real-time sense) scheduling algorithm when event timestamps and real-time deadlines are the same. Finally, to address the question for rapid commitment of I/O operations, we utilize a continuous GVT computation scheme for shared-memory multiprocessors where a new value of GVT is computed after processing each event in the simulation.These ideas are incorporated in a parallel, optimistic, real-time simulation system called PORTS. Initial performance measurements of the shared-memory based PORTS system executing on a Kendall Square Research multiprocessor are presented. Initial performance results are encouraging, demonstrating that PORTS achieves performance approaching that of a conventional Time Warp system for the benchmark programs that were tested.Keywords
This publication has 12 references indexed in Scilit:
- On-line scheduling of imprecise computations to minimize errorPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2003
- A machine independent interface for lightweight threadsACM SIGOPS Operating Systems Review, 1994
- Design and Performance Analysis of Hardware Support for Parallel SimulationsJournal of Parallel and Distributed Computing, 1993
- Time Warp simulation in time constrained systemsPublished by Association for Computing Machinery (ACM) ,1993
- Performance of a riskfree Time Warp operating systemACM SIGSIM Simulation Digest, 1993
- An effective synchronization network for hot-spot accessesACM Transactions on Computer Systems, 1992
- MIDAS: integrated design and simulation of distributed systemsIEEE Transactions on Software Engineering, 1991
- Multiprocessor online scheduling of hard-real-time tasksIEEE Transactions on Software Engineering, 1989
- Calendar queues: a fast 0(1) priority queue implementation for the simulation event set problemCommunications of the ACM, 1988
- A spectrum of options for parallel simulationPublished by Association for Computing Machinery (ACM) ,1988