Yufei Ren | d0b937e | 2012-10-19 23:11:52 -0400 | [diff] [blame^] | 1 | ; setup numa policy for each thread |
2 | ; 'numactl --show' to determine the maximum numa nodes | ||||
3 | [global] | ||||
4 | ioengine=libaio | ||||
5 | buffered=0 | ||||
6 | rw=randread | ||||
7 | bs=512K | ||||
8 | iodepth=16 | ||||
9 | size=512m | ||||
10 | filename=/dev/sdb1 | ||||
11 | |||||
12 | ; Fix memory blocks (512K * 16) in numa node 0 | ||||
13 | [job1] | ||||
14 | numa_cpu_nodes=0 | ||||
15 | numa_mem_policy=bind:0 | ||||
16 | |||||
17 | ; Interleave memory blocks (512K * 16) in numa node 0 and 1 | ||||
18 | [job2] | ||||
19 | numa_cpu_nodes=0-1 | ||||
20 | numa_mem_policy=interleave:0-1 | ||||
21 |