arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.00391physics.acc-ph
收藏

用mbtrack-cuda计算纵向集体不稳定性

Calculation of Longitudinal Collective Instabilities with mbtrack-cuda

Haisheng Xu, Uldis Locans, Andreas Adelmann, Lukas Stingelin

摘要:

宏观粒子跟踪是研究加速器中集体束流不稳定性的重要方法。然而,繁重的计算负荷往往限制了跟踪码的能力。一个广泛使用的宏观粒子跟踪程序来模拟储存环中的集体不稳定性是mbtrack。消息传递接口(MPI)已经在原始的mbtrack中实现,以加速模拟。然而,在mbtrack中需要许多CPU线程来分析耦合束团不稳定性。因此,需要具有许多CPU核心的计算机集群或台式机。由于这些并不总是可用的,我们采用作为替代的图形处理单元(GPU)与CUDA编程接口运行这样的模拟在一个独立的工作站。所有繁重的计算都转移到了GPU上。基准测试结果表明,mbtrack-cuda可用于分析最多484个束团的耦合束团不稳定性。与8核CPU、36核CPU和集群上的mbtrack相比,mbtrack-cuda在最多3个束的模拟上更快。对于363个集群,mbtrack-cuda需要大约6倍于集群的执行时间和两倍于36核CPU的执行时间。多束团不稳定性分析表明,离子清洗间隙的长度没有很大的影响,至少在填充到3/4。

英文摘要:

Macro-particle tracking is a prominent method to study the collective beam instabilities in accelerators. However, the heavy computation load often limits the capability of the tracking codes. One widely used macro-particle tracking code to simulate collective instabilities in storage rings is mbtrack. The Message Passing Interface (MPI) is already implemented in the original mbtrack to accelerate the simulations. However, many CPU threads are requested in mbtrack for the analysis of the coupled-bunch instabilities. Therefore, computer clusters or desktops with many CPU cores are needed. Since these are not always available, we employ as alternative a Graphics Processing Unit (GPU) with CUDA programming interface to run such simulations in a stand-alone workstation. All the heavy computations have been moved to the GPU. The benchmarks confirm that mbtrack-cuda can be used to analyze coupled bunch instabilities up to at least 484 bunches. Compared to mbtrack on an 8-core CPU, 36-core CPU and a cluster, mbtrack-cuda is faster for simulations of up to 3 bunches. For 363 bunches, mbtrack-cuda needs about six times the execution time of the cluster and twice of the 36-core CPU. The multi-bunch instability analysis shows that the length of the ion-cleaning gap has no big influence, at least at filling to 3/4.

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

↑