PARSIR:一个在多处理器机器上进行高效并行离散事件仿真的软件包
PARSIR: a Package for Effective Parallel Discrete Event Simulation on Multi-processor Machines
AI总结:
本文提出 PARSIR 软件包,通过因果一致批处理、不相交访问并行、NUMA 本地内存优先、工作窃取和 RMW 指令等技术,在共享内存多处理器机器上实现高效并行离散事件仿真,并在 40 核 NUMA 机器上通过 PHOLD 基准验证了其有效性。
摘要:
在本文中,我们介绍了 PARSIR(PARallel SImulation Runner),这是一个能够有效利用共享内存多处理器机器来运行离散事件仿真模型的软件包。PARSIR 是一个面向使用 C 编程语言开发的离散事件仿真模型的编译/运行时环境。PARSIR 的架构设计旨在保持运行模型所需的 CPU 周期数处于较低水平。这是通过组合一系列技术来实现的,包括:1)在单个仿真对象上对仿真事件进行因果一致的批处理,以提高缓存有效性;2)高概率的不相交访问并行性;3)在架构中优先访问本地 NUMA(Non-Uniform-Memory-Access,非统一内存访问)节点上的内存,同时仍然通过从远程节点进行工作窃取来实现均衡的工作负载分配;4)使用 RMW(Read-Modify-Write,读-修改-写)机器指令来快速访问工作线程管理并发仿真对象和分配工作负载所需的仿真引擎数据。此外,嵌入在 PARSIR 引擎中的任何架构解决方案对实现仿真模型的应用程序级代码都是完全透明的。我们还提供了实验结果,展示了 PARSIR 在配备 40 个 CPU 的 NUMA 共享内存多处理器机器上运行参考 PHOLD 基准测试时的有效性。
英文摘要:
In this article we present PARSIR (PARallel SImulation Runner), a package that enables the effective exploitation of shared-memory multi-processor machines for running discrete event simulation models. PARSIR is a compile/run-time environment for discrete event simulation models developed with the {\tt C} programming language. The architecture of PARSIR has been designed in order to keep low the amount of CPU-cycles required for running models. This is achieved via the combination of a set of techniques like: 1) causally consistent batch-processing of simulation events at an individual simulation object for caching effectiveness; 2) high likelihood of disjoint access parallelism; 3) the favoring of memory accesses on local NUMA (Non-Uniform-Memory-Access) nodes in the architecture, while still enabling well balanced workload distribution via work-stealing from remote nodes; 4) the use of RMW (Read-Modify-Write) machine instructions for fast access to simulation engine data required by the worker threads for managing the concurrent simulation objects and distributing the workload. Furthermore, any architectural solution embedded in the PARSIR engine is fully transparent to the application level code implementing the simulation model. We also provide experimental results showing the effectiveness of PARSIR when running the reference PHOLD benchmark on a NUMA shared-memory multi-processor machine equipped with 40 CPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。