Commit | Line | Data |
---|---|---|
fad1a325 MD |
1 | #!/bin/sh |
2 | ||
3 | #run all tests | |
4 | ||
5 | #set to number of active CPUS | |
6 | export NUM_CPUS=8 | |
7 | ||
8 | #extra options, e.g. for setting affinity on even CPUs : | |
9 | #EXTRA_OPTS=$(for a in $(seq 0 2 127); do echo -n "-a ${a} "; done) | |
10 | ||
11 | #ppc64 striding, use with NUM_CPUS=8 | |
12 | ||
13 | rm -f *.log | |
14 | ||
15 | #stride 1 | |
16 | export EXTRA_OPTS=$(for a in $(seq 0 2 15); do echo -n "-a ${a} "; done) | |
17 | sh subphase4.sh $* | |
18 | mkdir ppc64-8cores-stride1 | |
19 | mv *.log ppc64-8cores-stride1/ | |
20 | ||
21 | ||
22 | #stride 2 | |
23 | export EXTRA_OPTS=$(for a in $(seq 0 4 31); do echo -n "-a ${a} "; done) | |
24 | sh subphase4.sh $* | |
25 | mkdir ppc64-8cores-stride2 | |
26 | mv *.log ppc64-8cores-stride2/ | |
27 | ||
28 | ||
29 | #stride 4 | |
30 | export EXTRA_OPTS=$(for a in $(seq 0 8 63); do echo -n "-a ${a} "; done) | |
31 | sh subphase4.sh $* | |
32 | mkdir ppc64-8cores-stride4 | |
33 | mv *.log ppc64-8cores-stride4/ | |
34 | ||
35 | ||
36 | #stride 8 | |
37 | export EXTRA_OPTS=$(for a in $(seq 0 16 127); do echo -n "-a ${a} "; done) | |
38 | sh subphase4.sh $* | |
39 | mkdir ppc64-8cores-stride8 | |
40 | mv *.log ppc64-8cores-stride8/ |