Efficient data structures for Time Warp simulation queues

被引:1
|
作者
Schof, S [1 ]
机构
[1] Oldenburger Forsch & Entwicklugsinst Informat Wer, D-26121 Oldenburg, Germany
关键词
distributed simulation; Time Warp; event queue; input queue;
D O I
10.1016/S1383-7621(97)00060-X
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Optimistic simulation is besides the conservative methods the most promising approach to distributed discrete-event simulation (DDEVS). In the optimistic Time Warp strategy, every sub-simulator has to handle in addition to its main event queue (input queue) two other queues, holding information about sent messages and past states, respectively. We present efficient data structures and algorithms for the three queue types in Time Warp simulation. It shows that for two queue types the simple doubly linked list (DLL) approach suffices, for the input queue however, significant speed-up can be achieved by enhancing a data structure originally developed for sequential simulation. We show an improvement from an O(n) to an O(1) average case behavior for some operations by moving from the DLL to the new data structure without increasing the average case and worst case order of the other operations, Empirical results show that the new data structure yields substantial faster operation for enqueuing items into the list, which - regardless of the overhead introduced by the new data structure to the other queue operations - results in queue access acceleration for typical Time Warp simulations even for medium input queue sizes of about 100, For large queue sizes of about 10000 the new data structure yields more than 15 times faster overall queue operation performance.
引用
收藏
页码:497 / 517
页数:21
相关论文
共 50 条
  • [21] An object-oriented Time Warp simulation kernel
    Radhakrishnan, R
    Martin, DE
    Chetlur, M
    Rao, DM
    Wilsey, PA
    COMPUTING IN OBJECT-ORIENTED PARALLEL ENVIRONMENTS, 1998, 1505 : 13 - 23
  • [22] Adaptive Time Warp simulation of timed Petri nets
    Ferscha, A
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1999, 25 (02) : 237 - 257
  • [23] TIME WARP DISTRIBUTED SIMULATION IN TRANSPUTER COMPUTING ENVIRONMENTS
    CICIANI, B
    COMELLA, C
    SIMULATION METHODOLOGIES, LANGUAGES AND ARCHITECTURES AND AI AND GRAPHICS FOR SIMULATION, 1989, : 115 - 120
  • [24] TIME WARP SIMULATION ON MULTI-CORE PLATFORMS
    Wilsey, Philip A.
    2019 WINTER SIMULATION CONFERENCE (WSC), 2019, : 1454 - 1468
  • [25] The computability of relaxed data structures: queues and stacks as examples
    Nir Shavit
    Gadi Taubenfeld
    Distributed Computing, 2016, 29 : 395 - 407
  • [26] Probabilistic data structures for priority queues (extended abstract)
    Sridhar, R
    Rajasekar, K
    Rangan, CP
    ALGORITHM THEORY - SWAT'98, 1998, 1432 : 143 - 154
  • [27] The computability of relaxed data structures: queues and stacks as examples
    Shavit, Nir
    Taubenfeld, Gadi
    DISTRIBUTED COMPUTING, 2016, 29 (05) : 395 - 407
  • [28] ON IMPLICIT DATA-STRUCTURES FOR PRIORITY-QUEUES
    PERKO, A
    SOFTWARE-PRACTICE & EXPERIENCE, 1985, 15 (01): : 55 - 57
  • [29] Bending Time: Using Simulation to Warp Perceptions of Time for Learning Purposes
    Leigh, Elyssebeth
    SIMULATION AND GAMING IN THE NETWORK SOCIETY, 2016, 9 : 13 - 24
  • [30] Time-warp: Efficient abort reduction in transactional memory
    Diegues, Nuno
    Romano, Paolo
    ACM Transactions on Parallel Computing, 2015, 2 (02)