The Community for Technology Leaders
Proceedings 16th Workshop on Parallel and Distributed Simulation (2002)
Washington, D.C.
May 12, 2002 to May 15, 2002
ISSN: 1087-4097
ISBN: 0-7695-1608-4
pp: 3
Y.M. Teo , National University of Singapore
Y.K. Ng , National University of Singapore
B.S.S. Onggo , National University of Singapore
ABSTRACT
This paper focuses on conservative simulation using distributed-shared memory for inter-processor communi-cation. JavaSpaces, a special service of Java Jini, provides a shared persistent memory for simulation message communication among processors. Two benchmark programs written using our SPaDES/Java parallel simulation library are used. The first program is a linear pipeline system representing a loosely-coupled open system. The PHOLD program represents a strongly-connected closed system. Experiments are carried out using a cluster of Pentium II PCs. We used a combination of Wood Turner carrier null, flushing and demand-driven algorithms for null message synchronization. To optimize message communication, we replace SPaDES/Java inter-processor communication implemented using Java's Remote Method Invocation (RMI) with one JavaSpace. For PHOLD (16x16, 16) running on eight processors, this change reduces simulation runtime by more than half, null message overhead reduces by a further 15%, and event rate more than doubled. Based on our memory analysis methodology, the memory cost of null message synchronization for PHOLD is less than 9% of the total memory needed by the simulation.
INDEX TERMS
null
CITATION
Y.M. Teo, Y.K. Ng, B.S.S. Onggo, "Conservative Simulation Using Distributed-Shared Memory", Proceedings 16th Workshop on Parallel and Distributed Simulation, vol. 00, no. , pp. 3, 2002, doi:10.1109/PADS.2002.1004194
79 ms
(Ver 3.3 (11022016))