Transparent Multi-Core Speculative Parallelization of DES Models with Event and Cross-State Dependencies

被引:13
|
作者
Pellegrini, Alessandro [1 ]
Quaglia, Francesco [1 ]
机构
[1] Univ Rome, DIAG Sapienza, Via Ariosto 25, I-00185 Rome, Italy
关键词
PDES; Parallelism Transparency; Speculative Processing;
D O I
10.1145/2601381.2601398
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this article we tackle transparent parallelization of Discrete Event Simulation (DES) models to be run on top of multi-core machines according to speculative schemes. The innovation in our proposal lies in that we consider a more general programming and execution model, compared to the one targeted by state of the art PDES platforms, where the boundaries of the state portion accessible while processing an event at a specific simulation object do not limit access to the actual object state, or to shared global variables. Rather, the simulation object is allowed to access (and alter) the state of any other object, thus causing what we term cross-state dependency. We note that this model exactly complies with typical (easy to manage) sequential-style DES programming, where a (dynamically-allocated) state portion of object A can be accessed by object B in either read or write mode (or both) by, e.g., passing a pointer to B as the payload of a scheduled simulation event. However, while read/write memory accesses performed in the sequential run are always guaranteed to observe (and to give rise to) a consistent snapshot of the state of the simulation model, consistency is not automatically guaranteed in case of parallelization and concurrent execution of simulation objects with cross-state dependencies. We cope with such a consistency issue, and its application-transparent support, in the context of parallel and optimistic executions. This is achieved by introducing an advanced memory management architecture, able to efficiently detect read/write accesses by concurrent objects to whichever object state in an application transparent manner, together with advanced synchronization mechanisms providing the advantage of exploiting parallelism in the underlying multi-core architecture while transparently handling both cross-state and traditional event-based dependencies. Our proposal targets Linux and has been integrated with the ROOT-Sim open source optimistic simulation platform, although its design principles, and most parts of the developed software, are of general relevance.
引用
收藏
页码:105 / 116
页数:12
相关论文
共 7 条
  • [1] Automatic Parallelization of Simulink Models for Multi-core Architectures
    Tuncali, Cumhur Erkan
    Fainekos, Georgios
    Lee, Yann-Hang
    2015 IEEE 17TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2015 IEEE 7TH INTERNATIONAL SYMPOSIUM ON CYBERSPACE SAFETY AND SECURITY, AND 2015 IEEE 12TH INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS (ICESS), 2015, : 964 - 971
  • [2] Partitioning and Multi-core Parallelization of Multi-equation Forecast Models
    Dannecker, Lars
    Boeehm, Matthias
    Lehner, Wolfgang
    Hackenbroich, Gregor
    SCIENTIFIC AND STATISTICAL DATABASE MANAGEMENT, SSDBM 2012, 2012, 7338 : 106 - 123
  • [3] Effective Access to the Committed Global State in Speculative Parallel Discrete Event Simulation on Multi-core Machines
    Marotta, Romolo
    Montesano, Federica
    Quaglia, Francesco
    PROCEEDINGS OF THE 2023 ACM SIGSIM INTERNATIONAL CONFERENCE ON PRINCIPLES OF ADVANCED DISCRETE SIMULATION, ACMSIGSIM-PADS 2023, 2023, : 107 - 117
  • [4] Cross-state events: A new approach to parallel discrete event simulation and its speculative runtime support
    Pellegrini, Alessandro
    Quaglia, Francesco
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2019, 132 : 48 - 68
  • [5] PROGRAMMING AGENT-BASED DEMOGRAPHIC MODELS WITH CROSS-STATE AND MESSAGE-EXCHANGE DEPENDENCIES: A STUDY WITH SPECULATIVE PDES AND AUTOMATIC LOAD-SHARING
    Pellegrini, Alessandro
    Quaglia, Francesco
    Montanola-Sales, Cristina
    Casanovas-Garcia, Josep
    2016 WINTER SIMULATION CONFERENCE (WSC), 2016, : 955 - 966
  • [6] Spatial/Temporal Locality-Based Load Sharing in Speculative Discrete Event Simulation on Multi-core Machines
    Montesano, Federica
    Marotta, Romolo
    Quaglia, Francesco
    ACM TRANSACTIONS ON MODELING AND COMPUTER SIMULATION, 2024, 35 (01):
  • [7] Cache Friendly Parallelization of Neural Encoder-Decoder Models without Padding on Multi-core Architecture
    Qiao, Yuchen
    Hashimoto, Kazuma
    Eriguchi, Akiko
    Wang, Haxia
    Wang, Dongsheng
    Tsuruoka, Yoshimasa
    Taura, Kenjiro
    2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 437 - 440