arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.20947cs.PFcs.AR
收藏

通过Adaptyst在不同架构上对单线程和多线程程序进行低开销性能剖析,增强高能物理中的软硬件协同设计

Enhancing software-hardware co-design for HEP by low-overhead profiling of single- and multi-threaded programs on diverse architectures with Adaptyst

Maksymilian Graczyk, Stefan Roiser

AI总结:

本文介绍Adaptyst,一个开源且与架构无关的性能剖析工具,通过低开销跟踪单多线程程序,解决Linux perf的不足,支持多种架构,旨在促进软硬件协同设计。

摘要:

鉴于近期涵盖软件和硬件的技术趋势及新颖计算范式,物理学家和软件开发人员不能再仅仅依赖计算机变得更快来满足其研究日益增长的计算需求。然而,使系统适应新环境可能很困难,尤其是在大型复杂应用的情况下。因此,我们引入了Adaptyst(原AdaptivePerf):一个开源且与架构无关的工具,旨在使这些计算和采购挑战更容易解决。目前,Adaptyst剖析代码的CPU内和CPU外活动,跟踪它们产生的所有线程和进程,并在硬件支持的范围内分析底层软硬件交互。该工具解决了Linux“perf”的主要缺点,并已在x86-64、arm64和RISC-V指令集架构上成功测试。Adaptyst计划发展成为一个软硬件协同设计框架,该框架可扩展到从嵌入式到高性能计算的遗留和新应用,并考虑比仅仅在CPU和GPU之间选择更全面的视角。我们的论文描述了该项目的当前开发进展及其路线图。

英文摘要:

Given the recent technological trends and novel computing paradigms spanning both software and hardware, physicists and software developers can no longer just rely on computers becoming faster to meet the ever-increasing computing demands of their research. Adapting systems to the new environment may be difficult though, especially in case of large and complex applications. Therefore, we introduce Adaptyst (formerly AdaptivePerf): an open-source and architecture-agnostic tool aiming for making these computational and procurement challenges easier to address. At the moment, Adaptyst profiles on- and off-CPU activity of codes, traces all threads and processes spawned by them, and analyses low-level software-hardware interactions to the extent supported by hardware. The tool addresses the main shortcomings of Linux "perf" and has been successfully tested on x86-64, arm64, and RISC-V instruction set architectures. Adaptyst is planned to be evolved towards a software-hardware co-design framework which scales from embedded to high-performance computing in both legacy and new applications and takes into account a bigger picture than merely choosing between CPUs and GPUs. Our paper describes the current development of the project and its roadmap.

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

↑