Skip to main content

Selective Data Migration Between Locality Groups in NUMA Systems

  • Conference paper
  • First Online:
Economics of Grids, Clouds, Systems, and Services (GECON 2022)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Dashti, M., Fedorova, A., Funston, J.: Traffic management: a holistic approach to memory placement on NUMA systems (2012)

    Google Scholar 

  2. 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)

    Google Scholar 

  3. ORACLE. Memory and thread placement optimization developer’s guide (2012)

    Google Scholar 

  4. Tam, D., Azimi, R., Stumm, M.: Thread clustering: sharing-aware scheduling on SMP-CMP-SMT multiprocessors (2007)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Bernhard Egger .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics