arrow
返回

Optimizing the gravitational tree algorithm for many-core processors

delete2023-12-29
delete0
delete
OA
AI
T
Tomoyuki Tokuue *
T
Tomoaki Ishiyama *
DOI:10.1093/mnras/stad4001delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Gravitational N-body simulations calculate numerous interactions between particles. The tree algorithm reduces these calculations by constructing a hierarchical oct-tree structure and approximating gravitational forces on particles. Over the last three decades, the tree algorithm has been extensively used in large-scale simulations, and its parallelization in distributed memory environments has been well studied. However, recent supercomputers are equipped with many CPU cores per node, and optimizations of the tree construction in shared memory environments are becoming crucial. We propose a novel tree construction method in contrast to the conventional top-down approach. It first creates all leaf cells without traversing the tree and then constructs the remaining cells by a bottom-up approach. We evaluated the performance of our novel method on the supercomputer Fugaku and an Intel machine. On a single thread, our method accelerates one of the most time-consuming processes of the conventional tree construction method by a factor of above 3.0 on Fugaku and 2.2 on the Intel machine. Furthermore, as the number of threads increases, our parallel tree construction time reduces considerably. Compared to the conventional sequential tree construction method, we achieve a speed up of over 45 on 48 threads of Fugaku and more than 56 on 112 threads of the Intel machine. In stark contrast to the conventional method, the tree construction with our method no longer constitutes a bottleneck in the tree algorithm, even when using many threads.
Keyword:
methods: miscellaneous
methods: numerical
software: simulations

期刊

Monthly Notices of the Royal Astronomical Society 封面图
Monthly Notices of the Royal Astronomical Society
IF:
4.8
论文数:
7.1W
被引数:
27.2W

机构

C
chiba university
学者数:
467
论文数: 173
被引数: 2.9K
引用论文

引用论文

Alternative RNA splicing of the MLLgene in normal and malignant cells
errGene
IF0
err1996-01-01
err0
PREAI
errDong K. Nam; Kanya Honoki; Min Yu; Jorge J. Yunis
err分享
err收藏
err分享
err收藏
Donor–acceptor polymers with tunable infrared photoresponse
err2017-01-01
err0
errOAAI
errAlexander E. London; Lifeng Huang; Benjamin A. Zhang; M. Belén Oviedo; Joshua Tropp; Weichuan Yao; Zhenghui Wu; Bryan M. Wong; Tse Nga Ng; Jason D. Azoulay
err分享
err收藏
Correlation between weld seam morphology and mechanical properties in laser transmission welding of polypropylene
err2020-01-01
err0
errOAAI
errM.-L. Röhricht; T. Stichel; S. Roth; P.A.B. Bräuer; M. Schmidt; S. Will
err分享
err收藏
err分享
err收藏
学者 查看更多内容