Home | History | Annotate | Download | only in Xpm-tests
      1 #memtoy test -- lazy migrate 2 1M shared memory segments
      2 numa
      3 shm foo 1m
      4 shm bar 1m
      5 show
      6 map foo
      7 mbind foo preferred 1
      8 map bar
      9 mbind bar preferred 2
     10 touch foo w
     11 numa
     12 touch bar w
     13 numa
     14 # examine location @ 16p offset
     15 where foo 16p 64p
     16 where bar 16p 64p
     17 numa
     18 # lazy mig [move], but add wait to force touch
     19 mbind foo bind+move+wait 3
     20 mbind bar bind+move+wait 3
     21 where foo 16p 64p
     22 where bar 16p 64p
     23 numa
     24 show
     25 unmap foo
     26 unmap bar
     27 show
     28