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