The Impact of Space-Filling Curves on Data Movement in Parallel Systems

07/15/2023
by   David Walker, et al.
0

Modern computer systems are characterized by deep memory hierarchies, composed of main memory, multiple layers of cache, and other specialized types of memory. In parallel and distributed systems, additional memory layers are added to this hierarchy. Achieving good performance for computational science applications, in terms of execution time, depends on the efficient use of this diverse and hierarchical memory. This paper revisits the use of space-filling curves to specify the ordering in memory of data structures used in representative scientific applications executing on parallel machines containing clusters of multicore CPUs with attached GPUs. This work examines the hypothesis that space-filling curves, such as Hilbert and Morton ordering, can improve data locality and hence result in more efficient data movement than row or column-based orderings. First, performance results are presented that show for what application parameterizations and machine characteristics this is the case, and are interpreted in terms of how an application interacts with the computer hardware and low-level software. This research particularly focuses on the use of stencil-based applications that form the basis of many scientific computations. Second, how space-filling curves impact data sharing in nearest-neighbour and stencil-based codes is considered.

READ FULL TEXT
research
04/17/2021

Boosting Memory Access Locality of the Spectral Element Method with Hilbert Space-Filling Curves

We propose an algorithm based on Hilbert space-filling curves to reorder...
research
04/18/2022

Neural Space-filling Curves

We present Neural Space-filling Curves (SFCs), a data-driven approach to...
research
06/20/2016

A Study of Energy and Locality Effects using Space-filling Curves

The cost of energy is becoming an increasingly important driver for the ...
research
12/19/2016

Comparative study of space filling curves for cache oblivious TU Decomposition

We examine several matrix layouts based on space-filling curves that all...
research
03/04/2021

A fault-tolerant domain decomposition method based on space-filling curves

We propose a simple domain decomposition method for d-dimensional ellipt...
research
10/17/2017

Efficient Neighbor-Finding on Space-Filling Curves

Space-filling curves (SFC, also known as FASS-curves) are a useful tool ...
research
09/28/2018

New Thread Migration Strategies for NUMA Systems

Multicore systems present on-board memory hierarchies and communication ...

Please sign up or login with your details

Forgot password? Click here to reset