Computer Science > Mathematical Software
[Submitted on 17 Apr 2021]
Title:Boosting Memory Access Locality of the Spectral Element Method with Hilbert Space-Filling Curves
View PDFAbstract: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 to three other ordering schemes.
Ancillary-file links:
Ancillary files (details):
- avg-cpu-time-orders-exp-1-1m.csv
- avg-cpu-time-orders-exp-1-250k.csv
- avg-cpu-time-orders-exp-1-500k.csv
- avg-cpu-time-orders-exp-2-1m.csv
- avg-cpu-time-orders-exp-2-250k.csv
- avg-cpu-time-orders-exp-2-500k.csv
- avg-cpu-time-thr-exp-1-1m.csv
- avg-cpu-time-thr-exp-1-250k.csv
- avg-cpu-time-thr-exp-1-500k.csv
- avg-cpu-time-thr-exp-2-1m.csv
- avg-cpu-time-thr-exp-2-250k.csv
- avg-cpu-time-thr-exp-2-500k.csv
- avg-speedup-thr-exp-1-1m.csv
- avg-speedup-thr-exp-1-250k.csv
- avg-speedup-thr-exp-1-500k.csv
- avg-speedup-thr-exp-2-1m.csv
- avg-speedup-thr-exp-2-250k.csv
- avg-speedup-thr-exp-2-500k.csv
- avg-speedup-thr-scatter.dat
- avg-time-per-elem-thr-scatter.dat
- mem-data-exp-1-llc.csv
- mem-data-exp-1-time.csv
- mem-data-exp-2-llc.csv
- mem-data-exp-2-time.csv
Current browse context:
cs.PF
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.