跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

天体物理学 > 地球与行星天体物理学

arXiv:2309.08217 (astro-ph)
[提交于 2023年9月15日]

标题:Speeding up the GENGA N-body integrator on consumer-grade graphics cards

作者:R. Brasser, S. L. Grimm, P. Hatalova, J. G. Stadel
查看论文《Speeding up the GENGA N-body integrator on consumer-grade graphics cards》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:GPU computing is popular due to the calculation potential of a single card. The N-body integrator GENGA is built to for this, but it suffers a performance penalty on consumer-grade GPUs due to their truncated double precision (FP64) performance. We aim to speed up GENGA on consumer-grade cards by harvesting their high single-precision performance (FP32). We modified GENGA to be able to compute the long-distance forces between bodies in FP32 precision and tested this with 5 experiments. We ran simulations with similar initial conditions of 6600 planetesimals in both FP32 and FP64 precision. We also ran simulations that i) began with a mixture of planetesimals and planetary embryos, ii) planetesimal-driven giant planet migration, and iii) terrestrial planet formation with a gas disc. Second, we ran the same simulation beginning with 40 000 planetesimals using both FP32 and FP64 precision forces on a variety of consumer-grade and Tesla GPUs to measure the performance boost of FP32 computing. There are no statistical differences when running in FP32 or FP64 precision that can be attributed to the force prescription rather than stochastic effects. The uncertainties in energy are almost identical when using both precisions. However, the uncertainty in the angular momentum using FP32 rather than FP64 precision long-range forces is about two orders of magnitude greater, but still very low. Running the simulations in single precision on consumer-grade cards decreases running time by a factor of three and becomes within a factor of three of a Tesla A100 GPU. Additional tuning speeds up the simulation by a factor of two across all types of cards. The option to compute the long-range forces in single precision in GENGA when using consumer-grade GPUs dramatically improves performance at a little penalty to accuracy. There is an additional environmental benefit because it reduces energy usage.
评论: Accepted for publication in Astronomy & Astrophysics
主题: 地球与行星天体物理学 (astro-ph.EP); 天体物理仪器与方法 (astro-ph.IM); 分布式、并行与集群计算 (cs.DC); 计算物理 (physics.comp-ph)
引用方式: arXiv:2309.08217 [astro-ph.EP]
  (或者 arXiv:2309.08217v1 [astro-ph.EP] 对于此版本)
  https://doi.org/10.48550/arXiv.2309.08217

提交历史

来自:Ramon Brasser
[v1] 2023年9月15日 星期五 07:33:34 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

physics.comp-ph
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-09
切换浏览方式为:
astro-ph
astro-ph.EP
astro-ph.IM
cs.DC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站