Abstract
Non-uniform memory access (NUMA) architectures exhibit variable memory access latencies that depend on the issuing core and the accessed memory location. To minimize an application’s memory access time, the accessed data should be kept as close to the computation as possible. An promising strategy is to deploy groups of threads that access the same data on neighboring cores and close to the accessed data. This not only minimizes remote memory accesses latency but also reduces the amount of accessed cache lines and the traffic incurred by the cache coherence protocol; however, finding and maintaining a good thread group allocation is difficult. This paper presents a novel at-runtime technique that improves application performance through better data locality without prior profiling runs. The presented technique accurately detects accessed memory sections through low-overhead sampling. Sections that are frequently accessed on a remote node are migrated to the local memory node. Migration of unused data such as data streams is avoided by only copying sections that are expected to yield a positive net gain.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Dashti, M., Fedorova, A., Funston, J.: Traffic management: a holistic approach to memory placement on NUMA systems (2012)
Lachaize, R., Lepers, B., Quema, V.: Memprof: a memory profiler for NUMA multicore systems. In: 2012 USENIX Annual Technical Conference (USENIX ATC 12), pp. 53–64, Boston, MA. USENIX Association (2012)
ORACLE. Memory and thread placement optimization developer’s guide (2012)
Tam, D., Azimi, R., Stumm, M.: Thread clustering: sharing-aware scheduling on SMP-CMP-SMT multiprocessors (2007)
Acknowledgments
We thank the anonymous reviewers for their helpful feedback and suggestions. This work was funded, in parts, by the Korean National Research Foundation through grants 2022R1F1A1074967 and 21A20151113068 (BK21 Plus for Pioneers in Innovative Computing - Dept. of Computer Science & Engineering, SNU). ICT at Seoul National University provided research facilities for this study.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Yook, J., Egger, B. (2023). Selective Data Migration Between Locality Groups in NUMA Systems. In: Bañares, J.Á., Altmann, J., Agmon Ben-Yehuda, O., Djemame, K., Stankovski, V., Tuffin, B. (eds) Economics of Grids, Clouds, Systems, and Services. GECON 2022. Lecture Notes in Computer Science, vol 13430. Springer, Cham. https://doi.org/10.1007/978-3-031-29315-3_13
Download citation
DOI: https://doi.org/10.1007/978-3-031-29315-3_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-29314-6
Online ISBN: 978-3-031-29315-3
eBook Packages: Computer ScienceComputer Science (R0)