Boosting memory access locality of the Spectral Element Method with Hilbert space-filling curves

被引:3
作者
Araujo, Roger R. F. [1 ]
Gross, Lutz [2 ,3 ]
Xavier-de-Souza, Samuel [1 ,4 ]
机构
[1] Campus Univ Lagoa Nova, Ctr Tecnol, BR-59078900 Natal, RN, Brazil
[2] Univ Queensland, St Lucia, Qld 4072, Australia
[3] Univ Queensland, Sch Earth & Environm Sci, Brisbane, Qld, Australia
[4] Univ Fed Rio Grande do Norte, Dept Engn Comp & Automacao, Natal, RN, Brazil
关键词
Hilbert space-filling curves; Spectral Element Method; Unstructured meshes; Acoustic waves; Wave propagation; Parallel processing; WAVE-PROPAGATION; SIMULATION; 2D;
D O I
10.1016/j.cageo.2021.104938
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We propose an algorithm based on Hilbert space-filling curves to reorder mesh elements in memory for use with the Spectral Element Method, aiming to attain fewer cache misses, better locality of data reference and faster execution. We present a technique to numerically simulate acoustic wave propagation in 2D domains using the Spectral Element Method, and discuss computational performance aspects of this procedure. We reorder mesh-related data via Hilbert curves to achieve sizable reductions in execution time under several mesh configurations in shared-memory systems. Our experiments show that the Hilbert curve approach works well with meshes of several granularities and also with small and large variations in element sizes, achieving reductions between 9% and 25% in execution time when compared with three other ordering schemes.
引用
收藏
页数:15
相关论文
共 44 条
[1]   Modular and flexible spectral-element waveform modelling in two and three dimensions [J].
Afanasiev, Michael ;
Boehm, Christian ;
van Driel, Martin ;
Krischer, Lion ;
Rietmann, Max ;
May, Dave A. ;
Knepley, Matthew G. ;
Fichtner, Andreas .
GEOPHYSICAL JOURNAL INTERNATIONAL, 2019, 216 (03) :1675-1692
[2]  
[Anonymous], 1890, MATH ANN, DOI [10.1007/BF01199438, DOI 10.1007/BF01199438]
[3]  
[Anonymous], 1901, Zeitschrift fur Mathematik und Physik
[4]  
Arvo J, 1991, GRAPHICS GEMS 2, Vfirst, P672
[5]   Modeling Seismic Attributes of Pn Waves using the Spectral-Element Method [J].
Bakir, Ali C. ;
Nowack, Robert L. .
PURE AND APPLIED GEOPHYSICS, 2012, 169 (09) :1539-1556
[6]   A Lobatto interpolation grid over the triangle [J].
Blyth, MG ;
Pozrikidis, C .
IMA JOURNAL OF APPLIED MATHEMATICS, 2006, 71 (01) :153-169
[7]   p4est: SCALABLE ALGORITHMS FOR PARALLEL ADAPTIVE MESH REFINEMENT ON FORESTS OF OCTREES [J].
Burstedde, Carsten ;
Wilcox, Lucas C. ;
Ghattas, Omar .
SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2011, 33 (03) :1103-1133
[8]  
Butcher J., 2008, Numerical Methods for Ordinary Differential Equations, V2nd ed., P482
[9]  
Cerveny J, 2018, GEN HILBERT GILBERT
[10]  
Chaskalovic J, 2008, FINITE ELEMENT METHO, Vfirst, P267, DOI [10.1007/97-8-3-540-76343-7, DOI 10.1007/97-8-3-540-76343-7]