Memory Migration on Next-Touch

Brice Goglin 1, 2 Nathalie Furmento 1, 2
2 RUNTIME - Efficient runtime systems for parallel architectures
Inria Bordeaux - Sud-Ouest, UB - Université de Bordeaux, CNRS - Centre National de la Recherche Scientifique : UMR5800
Abstract : NUMA abilities such as explicit migration of memory buffers enable flexible placement of data buffers at runtime near the tasks that actually access them. The move_pages system call may be invoked manually but it achieves limited throughput and implies a strong collaboration of the application. Indeed, the location of threads and their memory access patterns must be carefully known so as to decide when migrating the right memory buffer on time. We present the implementation of a Next-Touch memory placement policy so as to enable automatic dynamic migration of pages when they are actually accessed by a task. We introduce a new PTE flag setup by madvise, and the corresponding Copy-on-Touch codepath in the page-fault handler which allocates the new page near the accessing task. We then look at the performance and overheads of this model and compare it to using the move_pages system call.
Document type :
Conference papers
Complete list of metadatas

Cited literature [7 references]  Display  Hide  Download

https://hal.inria.fr/inria-00378580
Contributor : Brice Goglin <>
Submitted on : Thursday, July 9, 2009 - 9:47:45 AM
Last modification on : Wednesday, May 15, 2019 - 5:24:09 PM
Long-term archiving on : Friday, October 12, 2012 - 5:16:01 PM

File

goglin.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : inria-00378580, version 1

Citation

Brice Goglin, Nathalie Furmento. Memory Migration on Next-Touch. Linux Symposium, Jul 2009, Montreal, Canada. ⟨inria-00378580⟩

Share

Metrics

Record views

286

Files downloads

444