An asynchronous protocol for virtual factory simulation on shared memory multiprocessor systems

The development of parallel simulation technology is seen as an enabler for the implementation of the virtual factory concept, the integrated simulation of all the systems in a factory. One important parallel simulation protocol, the asynchronous deadlock avoidance algorithm proposed by Chandy, Misra, and Bryant, has usually been discussed in the context of distributed memory systems. Also, null messages have normally been associated with this approach for deadlock avoidance. This paper presents a new implementation of the CMB protocol designed for shared memory multiprocessor systems. We have successfully used this protocol, which we call the CMB-SMP protocol, to achieve useful speedups in a manufacturing simulation application, despite the fine granularity of event processing. The implementation eliminates the need for sending null messages, without causing deadlock in the simulation. Double buffering is also used to reduce the overhead of buffer locking. It is shown that the CMB-SMP protocol outperforms a synchronous super-step protocol in terms of the speedups achieved. The paper also discusses the cache behaviour of the CMB-SMP protocol implementation since cache misses are very expensive with today's high clock speed processors.

[1]  Stephen John Turner,et al.  A Parallel Discrete-Event Simulation of Wafer Fabrication Processes , 1998 .

[2]  Stephen John Turner,et al.  An Empirical Comparison of Runtime Systems for Conservative Parallel Simulation , 1998, IPPS/SPDP Workshops.

[3]  Kiem-Phong Vo,et al.  Vmalloc: A General and Efficient Memory Allocator , 1996, Softw. Pract. Exp..

[4]  P. Yew,et al.  Parallel discrete event simulation on shared-memory multiprocessors , 1991, [1991] Proceedings of the 24th Annual Simulation Symposium.

[5]  Richard M. Fujimoto,et al.  Optimistic approaches to parallel discrete event simulation , 1990 .

[6]  Yuan Chen,et al.  Shared memory implementation of a parallel switch-level circuit simulator , 1998, Workshop on Parallel and Distributed Simulation.

[7]  Randal E. Bryant,et al.  SIMULATION OF PACKET COMMUNICATION ARCHITECTURE COMPUTER SYSTEMS , 1977 .

[8]  John G. Cleary,et al.  Conservative parallel simulation of ATM networks , 1996, Workshop on Parallel and Distributed Simulation.

[9]  Stephen John Turner,et al.  Dag consistent parallel simulation: a predictable and robust conservative algorithm , 1997, Workshop on Parallel and Distributed Simulation.

[10]  K. Mani Chandy,et al.  Asynchronous distributed simulation via a sequence of parallel computations , 1981, CACM.

[11]  Yi-Bing Lin,et al.  A Parallelism Analyzer for Conservative Parallel Simulation , 1995, IEEE Trans. Parallel Distributed Syst..

[12]  R. M. Fujimoto,et al.  Parallel discrete event simulation , 1989, WSC '89.

[13]  K. Mani Chandy,et al.  Distributed Simulation: A Case Study in Design and Verification of Distributed Programs , 1979, IEEE Transactions on Software Engineering.

[14]  Wentong Cai,et al.  A parallelism analyzer algorithm for a conservative super-step simulation protocol , 1999, Proceedings of the 32nd Annual Hawaii International Conference on Systems Sciences. 1999. HICSS-32. Abstracts and CD-ROM of Full Papers.

[15]  Yong Meng Teo,et al.  Speculative Parallel Simulation with an Adaptive Throttle Scheme , 1997, Workshop on Parallel and Distributed Simulation.

[16]  C. Murray Woodside,et al.  Fast Allocation of Processes in Distributed and Parallel Systems , 1993, IEEE Trans. Parallel Distributed Syst..

[17]  Pen-Chung Yew,et al.  Improved parallel architectural simulations on shared-memory multiprocessors , 1994, PADS '94.

[18]  Kiem-Phong Vo Vmalloc: A General and Efficient Memory Allocator , 1996 .

[19]  Hassan Rajaei,et al.  Parallel simulation based on conservative time windows: A performance study , 1994, Concurr. Pract. Exp..

[20]  Stephen John Turner,et al.  A methodology for automating the parallelization of manufacturing simulations , 1998, Workshop on Parallel and Distributed Simulation.

[21]  Sanjay Jain Virtual factory framework: a key enabler for agile manufacturing , 1995, Proceedings 1995 INRIA/IEEE Symposium on Emerging Technologies and Factory Automation. ETFA'95.

[22]  Allen D. Malony,et al.  Parallel Discrete Event Simulation Using Shared Memory , 1988, IEEE Trans. Software Eng..

[23]  Adrian Cockcroft Sun Performance and Tuning: Sparc & Solaris , 1994 .