• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# memtoy test - lazy migration of entire 1M mapped file
2# lazy migrate, then touch to fault
3# requires ./zerofile-1m
4#
5numa
6file zerofile-1m
7map zerofile-1m
8mbind zerofile-1m preferred 1
9touch zerofile-1m w
10where zerofile-1m
11numa
12#pause
13# lazy mig [move], no 'wait'
14mbind zerofile-1m bind+move 2
15#
16# NOTE:  get_mempolicy(...,'NODE|'ADDR) will fault in
17# pages to get nodes.  Forces migration at this point
18where zerofile-1m
19#
20#touch zerofile-1m r
21#where zerofile-1m
22numa
23