Spatial/Temporal Locality-Based Load Sharing in Speculative Discrete Event Simulation on Multi-core Machines

被引:0
|
作者
Montesano, Federica [1 ]
Marotta, Romolo [1 ,2 ]
Quaglia, Francesco [1 ]
机构
[1] Univ Roma Tor Vergata, DICII, Via Politecn 1, I-00133 Rome, Italy
[2] Ctr Nazl Ric High Performance Comp Big Data & Quan, Via Magnanelli 2, I-40033 Casalecchio Di Reno, Italy
关键词
PDES; load sharing; shared memory; multi-core; SHARED-MEMORY;
D O I
10.1145/3639703
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Shared-memory multi-processor/multi-core machines have become a reference for many application contexts. In particular, the recent literature on speculative parallel discrete event simulation has reshuffled the architectural organization of simulation systems in order to deeply exploit the main features of this type of machine. A core aspect dealt with has been the full sharing of the workload at the level of individual simulation events, which enables keeping the rollback incidence minimal. However, making each worker thread continuously switch its execution between events destined to different simulation objects does not favor locality. This problem appears even more evident in the case of Non-Uniform-Memory-Access (NUMA) machines, in which memory accesses generating a cache miss to be served by a far NUMA node give rise to both higher latency and higher traffic at the level of the NUMA interconnection. In this article, we propose a workload-sharing algorithm in which the worker threads can have short-term binding with specific simulation objects to favor spatial locality. The new bindings-carried out when a thread decides to switch its execution to other simulation objects-are based on both (a) the timeline according to which the object states have passed through the caching hierarchy and (b) the (dynamic) placement of objects within the NUMA architecture. At the same time, our solution still enables the worker threads to focus their activities on the events to be processed whose timestamps are closer to the simulation commit horizon-hence, we exploit temporal locality along virtual time and keep the rollback incidence minimal. In our design, we exploit lock-free constructs to support scalable thread synchronization while accessing the shared event pool. Furthermore, we exploit a multi-view approach of the event pool content, which additionally favors local accesses to the parts of the event pool that are currently relevant for the thread activity. Our solution has been released as an integration within the USE (Ultimate-Share-Everything) open-source speculative simulation platform available to the community. Furthermore, in this article we report the results of an experimental study that shows the effectiveness of our proposal.
引用
收藏
页数:31
相关论文
共 9 条
  • [1] 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
  • [2] Parallel Discrete Event Simulation for Multi-Core Systems: Analysis and Optimization
    Wang, Jingjing
    Jagtap, Deepak
    Abu-Ghazaleh, Nael
    Ponomarev, Dmitry
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2014, 25 (06) : 1574 - 1584
  • [3] A Load-sharing Architecture for High Performance Optimistic Simulations on Multi-core Machines
    Vitali, Roberto
    Pellegrini, Alessandro
    Quaglia, Francesco
    2012 19TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2012,
  • [4] Optimistic Parallel Discrete Event Simulation Based on Multi-core Platform and its Performance Analysis
    Su, Nianle
    Hou, Hongtao
    Yang, Feng
    Li, Qun
    Wang, Weiping
    CISIS: 2009 INTERNATIONAL CONFERENCE ON COMPLEX, INTELLIGENT AND SOFTWARE INTENSIVE SYSTEMS, VOLS 1 AND 2, 2009, : 675 - 680
  • [5] Co-simulation Framework for Networked Multi-core Chips with Interleaving Discrete Event Simulation Tools
    Owda, Zaher
    Abuteir, Mohammed
    Obermaisser, Roman
    PROCEEDINGS OF 2015 IEEE 20TH CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA), 2015,
  • [6] Enhancing Discrete Event Simulation in Multi-core Processors Environments Using Multi-Dimensional Queue Mechanism
    Tat, Wong Ming
    Yong, Chong Chun
    Chaw, Ling Teck
    2012 6TH INTERNATIONAL CONFERENCE ON NEW TRENDS IN INFORMATION SCIENCE, SERVICE SCIENCE AND DATA MINING (ISSDM2012), 2012, : 297 - 302
  • [7] Temporal and Spatial Isolation in a Virtualization Layer for Multi-core Processor based Information Appliances
    Nakajima, Tatsuo
    Kinebuchi, Yuki
    Shimada, Hiromasa
    Courbot, Alexandre
    Lin, Tsung-Han
    2011 16TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2011,
  • [8] Load balancing mechanism for parallel agent-based simulation on multi-core CPU and GPU heterogeneous platform
    Wang, Wei-Ping
    Yu, Wen-Guang
    Hou, Hong-Tao
    Li, Qun
    Xi Tong Gong Cheng Yu Dian Zi Ji Shu/Systems Engineering and Electronics, 2012, 34 (11): : 2366 - 2373
  • [9] An Approach to Discrete Parameter Design Space Exploration of Multi-core Systems using a Novel Simulation Based Interpolation Technique
    Karanjkar, Neha V.
    Desai, Madhav P.
    2015 IEEE 23rd International Symposium on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS 2015), 2015, : 85 - 88