arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.22936cs.ARcs.PF
收藏

ACALSim: 面向高性能系统设计空间探索的可扩展并行仿真框架

ACALSim: A Scalable Parallel Simulation Framework for High-Performance System Design Space Exploration

Mijotech Inc.(Mijotech公司);Taiwan High-Performance Computing Education Association(台湾高性能计算教育协会);National Cheng Kung University(国立成功大学);National Yang Ming Chiao Tung University(国立阳明交通大学)

Wei-Fen Lin, Jen-Chien Chang, Yen-Po Chen, Zi-Yi Tai, Yu-Cheng Chang, Chia-Pao Chiang, Yu-Yang Lee, Yu-Jie Wan

AI总结:

提出ACALSim可扩展并行仿真框架,通过可插拔线程管理架构、事件驱动执行、共享内存数据模型和两阶段并行执行模型,实现高性能系统设计空间探索,在GPU仿真中相比SST获得14倍加速和41%更低内存占用。

摘要:

架构仿真已成为限制高性能计算系统设计空间探索的关键瓶颈。现代GPU和AI加速器拥有数百到数千个紧密耦合的组件,需要能够提供高效并行性和可扩展单节点执行的仿真框架。现有框架存在不足:SST专注于多节点MPI可扩展性,但在节点内扩展方面存在困难;而GPGPU-Sim基本上仍是单线程的。关键的是,没有框架为用户提供针对其特定工作负载优化线程的机制。我们提出ACALSim,一个可扩展的并行仿真框架,提供构建高性能仿真器的基础设施和API——时序模型精度仍由仿真器开发者负责。其关键创新在于可插拔的线程管理架构,允许开发者实现针对特定仿真模式定制的自定义调度策略,这在现有框架中是缺失的。补充特性包括:(1) 事件驱动执行与快进机制以消除空闲周期开销,(2) 共享内存数据模型实现零拷贝通信,(3) 两阶段并行执行模型实现确定性线程扩展。我们通过HPCSim(一个针对A100级架构的GPU仿真器)展示了ACALSim。与使用相同共享时序核心以隔离框架开销的SST实现相比,ACALSim实现了超过14倍的加速,内存占用降低41%;硬件验证确认与A100测量的周期计数相关性为0.72–1.22倍。当SST无法在实际时间限制内完成256+线程块工作负载时,ACALSim在17.7分钟(LLaMA-7B)和30.4分钟(LLaMA-13B)内仿真了完整的LLaMA变压器层(单个块)——实现了SST无法达到的设计空间探索。

英文摘要:

Architectural simulation has become the critical bottleneck limiting design space exploration for high-performance computing systems. Modern GPUs and AI accelerators -- with hundreds to thousands of tightly-coupled components -- demand simulation frameworks that deliver efficient parallelism and scalable single-node execution. Existing frameworks fall short: SST focuses on multi-node MPI scalability but struggles with intra-node scaling, while GPGPU-Sim remains largely single-threaded. Critically, none expose a mechanism for users to optimize threading for their specific workloads. We introduce ACALSim, a scalable parallel simulation framework providing infrastructure and APIs for building high-performance simulators -- timing-model accuracy remains the responsibility of simulator developers. Its key innovation is a pluggable thread-management architecture that lets developers implement custom scheduling strategies tailored to specific simulation patterns, absent in existing frameworks. Complementing it are (1) event-driven execution with fast-forward to eliminate idle-cycle overhead, (2) a shared-memory data model enabling zero-copy communication, and (3) a two-phase parallel execution model for deterministic thread scaling. We demonstrate ACALSim through HPCSim, a GPU simulator targeting A100-class architectures. Against an SST implementation using identical shared timing cores to isolate framework overhead, ACALSim achieves over 14x speedup with 41% lower memory footprint; hardware validation confirms 0.72--1.22x cycle-count correlation with A100 measurements. While SST fails to complete 256+ thread-block workloads within practical time limits, ACALSim simulates full LLaMA transformer layers (single block) in 17.7 minutes for LLaMA-7B and 30.4 minutes for LLaMA-13B -- enabling design space exploration that SST cannot achieve.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑