• DocumentCode
    1560919
  • Title

    SPaDES/Java: object-oriented parallel discrete-event simulation

  • Author

    Teo, Yong Meng ; Ng, Yew Kwong

  • Author_Institution
    Dept. of Comput. Sci., Nat. Univ. of Singapore, Singapore
  • fYear
    2002
  • Firstpage
    245
  • Lastpage
    252
  • Abstract
    We describe the design, implementation and performance optimizations of SPaDES/Java, a process-oriented discrete-event simulation library in Java that supports sequential and parallel simulation. Parallel event synchronization is facilitated through a hybrid carrier-, demand-driven flushing conservative message mechanism. Inter-processor message communication is coordinated by a shared persistent memory implemented using Java Jini/JavaSpaces. We present the stepwise performance optimizations we have carried out, focusing mainly on reducing the cost of multithreading, message synchronization overhead, and the cost of inter-processor communication. Two benchmark programs consisting of an open linear pipeline system and PHOLD representing a closed system are used. For PHOLD(16×6, 16), our optimization reduces the message ratio from 0.94 to 0.29 on eight processors. Based on our time and space instrumentation, we observed that the memory cost of message synchronization accounts for less than 10% of the total memory required by the PHOLD simulation.
  • Keywords
    Java; discrete event simulation; multi-threading; object-oriented programming; parallel programming; persistent objects; software libraries; software performance evaluation; synchronisation; Java; JavaSpaces; Jini; PHOLD; SPaDES; benchmark programs; conservative message mechanism; demand-driven flushing; inter-processor communication; inter-processor message communication; message synchronization overhead; multithreading; object-oriented parallel discrete-event simulation; open linear pipeline system; optimization; parallel event synchronization; performance optimization; process-oriented discrete-event simulation library; sequential simulation; shared persistent memory; Computational modeling; Computer architecture; Cost function; Design optimization; Discrete event simulation; Drives; Identity-based encryption; Java; Libraries; Object oriented modeling;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Simulation Symposium, 2002. Proceedings. 35th Annual
  • ISSN
    1082-241X
  • Print_ISBN
    0-7695-1552-5
  • Type

    conf

  • DOI
    10.1109/SIMSYM.2002.1000160
  • Filename
    1000160