arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.21535cs.DCcs.PF
收藏

建模数据冗余对MLFMA近场计算速度提升的影响

Modeling the Effect of Data Redundancy on Speedup in MLFMA Near-Field Computation

University of Tehran(德黑兰大学)

Morteza Sadeghi

AI总结:

本文通过引入数据冗余技术,提升MLFMA近场计算在GPU上的性能,尽管存在数据重构开销,但局部性改进显著提升了速度,验证了该方法的有效性。

摘要:

多级快速多极算法(MLFMA)中的近场(P2P)算子是GPU上的性能瓶颈,因为内存局部性差。本文引入数据冗余以通过减少内存访问分散来提高空间局部性。为了验证结果,我们提出了一种基于局部性度量的分析模型,该度量结合数据量和访问分散性以预测速度提升趋势,而无需硬件特定的性能分析。该方法在两个基于MLFMA的应用上得到验证:一个具有规则结构的电磁求解器(DBIM-MLFMA)和一个具有不规则粒子分布的恒星动力学代码(PhotoNs-2.0)。结果显示,由于改进的缓存行为,速度提升了7倍。然而,增加的数据量提高了数据重构的开销,限制了端到端应用的速度提升仅为1.04倍。尽管该模型无法精确预测绝对速度提升,但其能够可靠地捕捉不同问题规模和密度下的性能趋势。该技术可以以最小的代码更改注入到现有实现中。本工作证明了数据冗余可以增强GPU性能,以提升P2P算子的性能,前提是局部性收益超过数据移动成本。

英文摘要:

The near-field (P2P) operator in the Multilevel Fast Multipole Algorithm (MLFMA) is a performance bottleneck on GPUs due to poor memory locality. This work introduces data redundancy to improve spatial locality by reducing memory access dispersion. For validation of results, we propose an analytical model based on a Locality metric that combines data volume and access dispersion to predict speedup trends without hardware-specific profiling. The approach is validated on two MLFMA-based applications: an electromagnetic solver (DBIM-MLFMA) with regular structure, and a stellar dynamics code (PhotoNs-2.0) with irregular particle distribution. Results show up to 7X kernel speedup due to improved cache behavior. However, increased data volume raises overheads in data restructuring, limiting end-to-end application speedup to 1.04X. While the model cannot precisely predict absolute speedups, it reliably captures performance trends across different problem sizes and densities. The technique is injectable into existing implementations with minimal code changes. This work demonstrates that data redundancy can enhance GPU performance for P2P operator, provided locality gains outweigh data movement costs.

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

↑