Time Warp on the GPU

Liu, Xinhu and Andelfinger, Philipp (2017) Time Warp on the GPU. In: ACM SIGSIM Conference on Principles of Advanced Discrete Simulation (PADS 2017), 24-26 May 2017, Singapore. Proceedings, published by ACM, New York, NY, USA, pp. 109-120.

Full text not available from this repository.
Official URL: http://doi.org/10.1145/3064911.3064912

Abstract

The parallel execution of discrete-event simulations on commodity GPUs has been shown to achieve high event rates. Most previous proposals have focused on conservative synchronization, which typically extracts only limited parallelism in cases of low event density in simulated time. We present the design and implementation of an optimistic fully GPU-based parallel discrete-event simulator based on the Time Warp synchronization algorithm. The optimistic simulator implementation is compared with an otherwise identical implementation using conservative synchronization. Our evaluation shows that in most cases, the increase in parallelism when using optimistic synchronization significantly outweighs the increased overhead for state keeping and rollbacks. To reduce the cost of state keeping, we show how XORWOW, the default pseudo-random number generator in CUDA, can be reversed based solely on its current state. Since the optimal configuration of multiple performance-critical simulator parameters depends on the behavior of the simulation model, these parameters are adapted dynamically based on performance measurements and heuristic optimization at runtime. We evaluate the simulator using the PHOLD benchmark model and a simplified model of peer-to-peer networks using the Kademlia protocol. On a commodity GPU, the optimistic simulator achieves event rates of up to 81.4 million events per second and a speedup of up to 3.6 compared with conservative synchronization.

Item Type: Conference or Workshop Item (Paper)
Additional Information: ISBN: 978-1-4503-4489-0