Home | History | Annotate | Download | only in Xpm-tests
      1 # memtoy test - lazy migration of entire 16M mapped file
      2 # requires ./zerofile-16m
      3 #
      4 numa
      5 file zerofile-16m
      6 map zerofile-16m
      7 mbind zerofile-16m preferred 1
      8 touch zerofile-16m w
      9 where zerofile-16m
     10 numa
     11 #pause
     12 # lazy mig -- no wait
     13 mbind zerofile-16m bind+move 2
     14 # NOTE:  get_mempolicy(...,'NODE|'ADDR) will fault in
     15 # pages to get nodes.  Forces migration at this point
     16 where zerofile-16m
     17 numa
     18