Conference Papers Year : 2009

Memory Migration on Next-Touch

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.
Fichier principal
Vignette du fichier
goglin.pdf (96.9 Ko) Télécharger le fichier
Origin Files produced by the author(s)
Loading...

Dates and versions

inria-00378580 , version 1 (09-07-2009)

Identifiers

  • HAL Id : inria-00378580 , version 1

Cite

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

Share

More