快速相关函数计算器——高性能配对计数工具包
Fast Correlation Function Calculator -- A high-performance pair counting toolkit
AI总结:
本文介绍了高性能精确配对计数工具包 FCFC,通过优化数据结构、算法及三级并行机制,解决了现代宇宙学数据集相关函数评估的挑战,其效率优于大多数公开配对计数代码。
摘要:
背景。本文介绍了一个名为 Fast Correlation Function Calculator (FCFC) 的新型高性能精确配对计数工具包,该工具包已在 https://github.com/cheng-zhao/FCFC 上公开发布。目标。随着现代宇宙学数据集的快速增长,使用观测和模拟星表评估相关函数已成为一项挑战。因此,对高效配对计数代码的需求非常迫切。方法。我们介绍了可用于配对计数问题的不同数据结构和算法,并进行了全面的基准测试,以确定最适合实际宇宙学应用的高效方法。随后,我们描述了 FCFC 使用的三级并行机制——包括 SIMD、OpenMP 和 MPI,并进行了大量测试以研究其可扩展性。最后,我们将 FCFC 与其他替代配对计数代码的效率进行了比较。结果。FCFC 中实现的数据结构和直方图更新算法表现出优于其他替代方法的性能。由于直方图更新算法的瓶颈主要在于缓存延迟,FCFC 并未从 SIMD 中获得显著收益。尽管如此,FCFC 的效率随 OpenMP 线程数和 MPI 进程数表现出良好的可扩展性,但当线程总数超过几千时,加速效果可能会下降。对于现代宇宙学配对计数应用,FCFC 被证明比大多数(如果不是全部)其他公开配对计数代码更快。
英文摘要:
Context. A novel high-performance exact pair counting toolkit called Fast Correlation Function Calculator (FCFC) is presented, which is publicly available at https://github.com/cheng-zhao/FCFC. Aims. As the rapid growth of modern cosmological datasets, the evaluation of correlation functions with observational and simulation catalogues has become a challenge. High-efficiency pair counting codes are thus in great demand. Methods. We introduce different data structures and algorithms that can be used for pair counting problems, and perform comprehensive benchmarks to identify the most efficient ones for real-world cosmological applications. We then describe the three levels of parallelisms used by FCFC -- including SIMD, OpenMP, and MPI -- and run extensive tests to investigate the scalabilities. Finally, we compare the efficiency of FCFC against alternative pair counting codes. Results. The data structures and histogram update algorithms implemented in FCFC are shown to outperform alternative methods. FCFC does not benefit much from SIMD as the bottleneck of our histogram update algorithm is mostly cache latency. Nevertheless, the efficiency of FCFC scales well with the numbers of OpenMP threads and MPI processes, albeit the speedups may be degraded with over a few thousand threads in total. FCFC is found to be faster than most (if not all) other public pair counting codes for modern cosmological pair counting applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。