• DocumentCode
    571725
  • Title

    Towards Symmetric Multi-threaded Optimistic Simulation Kernels

  • Author

    Vitali, Roberto ; Pellegrini, Alessandro ; Quaglia, Francesco

  • Author_Institution
    Dipt. di Ing. Inf. Autom. e Gestionale Antonio Ruberti Sapienza, Univ. Roma, Rome, Italy
  • fYear
    2012
  • fDate
    15-19 July 2012
  • Firstpage
    211
  • Lastpage
    220
  • Abstract
    In this article we address the reshuffle of the design of optimistic simulation kernels in order to fit multi-core/multi-processor machines. This is done by providing a reference optimistic simulation architecture based on the symmetric multi-threaded paradigm, where each simulation kernel instance is allowed to run a dynamically changing set of worker threads that share the whole load of LPs hosted by that kernel, and that can run both application-level event handlers and kernel-level housekeeping tasks. With this organization, CPU-cores can be dynamically reassigned to the different kernels depending on fluctuations of the workload, so to maximize productivity in an orthogonal manner with respect to traditional load balancing schemes, typically employed in the context of single-threaded simulation kernels. In order to optimize efficiency and reduce wait-for-lock-release phases while synchronizing worker threads running in kernel mode, we borrow from Operating Systems´ theory by readapting the top/bottom-halves paradigm to the design of optimistic simulation systems. We also present a real implementation of our multi-threaded architecture within the ROme OpTimistic Simulator (ROOT-Sim), namely an open-source C-based simulation platform implemented according to the PDES paradigm and the optimistic synchronization approach. Experimental results for an assessment of the validity of our proposal are presented as well.
  • Keywords
    multi-threading; multiprocessing systems; operating system kernels; parallel machines; public domain software; resource allocation; synchronisation; LP load sharing; PDES paradigm; ROOT-Sim; ROme OpTimistic Simulator; application-level event handlers; bottom-halve paradigm; dynamically reassigned CPU-cores; efficiency optimization; kernel mode; kernel-level housekeeping tasks; load balancing schemes; multicore machines; multiprocessor machines; open-source C-based simulation platform; operating system; optimistic simulation architecture; optimistic synchronization approach; productivity maximization; single-threaded simulation kernels; symmetric multithreaded optimistic simulation kernels; top-halve paradigm; wait-for-lock-release phase reduction; worker thread synchronization; Computational modeling; Data structures; Instruction sets; Kernel; Load modeling; Message systems; Synchronization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Principles of Advanced and Distributed Simulation (PADS), 2012 ACM/IEEE/SCS 26th Workshop on
  • Conference_Location
    Zhangjiajie
  • ISSN
    1087-4097
  • Print_ISBN
    978-1-4673-1797-9
  • Type

    conf

  • DOI
    10.1109/PADS.2012.46
  • Filename
    6305914