Optimizing Memory Access Patterns through Automatic Data Layout Transformation (Work in Progress Paper)
Jolly Chen, Ana Lucia Vărbănescu, Axel Naumann · ACM/SPEC International Conference on Performance Engineering (ICPE) · 2025
In many programming languages, memory access patterns exhibited by an application are dictated by the data structures defined by the programmer, which, in turn, dictate how the data are ordered in memory. Exploring access pattern optimizations is essential for performance: we demonstrate, through several benchmarks, the effects of Array of Structures (AoS) and Structure of Arrays (SoA) layouts on cache utilization, auto-vectorization, and false sharing. Despite these benefits, exploration remains a time-consuming task because it requires rewriting data structure definitions and, very often, computing kernel code to accommodate these changes.
Cited by 0 works. doi:10.1145/3680256.3722203
Authors
References
- Reflections on the memory wall
- Exploiting Memory Access Patterns to Improve Memory Performance in Data-Parallel Architectures
- Portable mapping of data parallel programs to OpenCL for heterogeneous systems
- DL: A data layout transformation system for heterogeneous computing
- SoAx: A generic C++ Structure of Arrays for handling particles in HPC codes
- LLAMA: The low‐level abstraction for memory access
- Dymaxion++: A Directive-Based API to Optimize Data Layout and Memory Mapping for Heterogeneous Systems
- C++ Data Layout Abstractions through Proxy Types
- Data-layout optimization based on memory-access-pattern analysis for source-code performance improvement