Fix affinity in test script
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 13 Jun 2009 21:02:36 +0000 (17:02 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sat, 13 Jun 2009 21:02:36 +0000 (17:02 -0400)
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 <paulmck@linux.vnet.ibm.com>
runall.sh

index 147b5a7027ed59f3ce2f2231e1e65ace67019f2f..5a1096a41eab2aa9db78d8e4e09423cb7849ded2 100755 (executable)
--- 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
This page took 0.025221 seconds and 4 git commands to generate.