From: Paul E. McKenney Date: Sat, 13 Jun 2009 21:02:36 +0000 (-0400) Subject: Fix affinity in test script X-Git-Tag: v0.1~150 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e4ca4127918d3617751f718a1fa792b89ca523df;p=userspace-rcu.git Fix affinity in test script You need to change the script!!! See patch below. All prior results with more than 32 CPUs are bogus because the -a arguments confined the threads to only 32 CPUs (the even-numbered ones from zero to 62). Allow 64 CPUs. Really needs to do the calculation based on the stride and the number of CPUs, but a quick hack for now. Signed-off-by: Paul E. McKenney --- diff --git a/runall.sh b/runall.sh index 147b5a7..5a1096a 100755 --- a/runall.sh +++ b/runall.sh @@ -6,7 +6,7 @@ NUM_CPUS=8 #extra options, e.g. for setting affinity on even CPUs : -#EXTRA_OPTS=$(for a in $(seq 0 2 63); do echo -n "-a ${a} "; done) +#EXTRA_OPTS=$(for a in $(seq 0 2 127); do echo -n "-a ${a} "; done) #Vary update fraction