Update readcslen test to use NUM_CPUS readers
[urcu.git] / runall.sh
index e07cb0a98260dab71a2a3bfd4eb90d6f0253290d..482d1c21d467211c268a51110bf69291389653e6 100755 (executable)
--- a/runall.sh
+++ b/runall.sh
@@ -23,7 +23,7 @@ WDELAY_ARRAY="0 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
 
 rm -f update-fraction.log
 
-for NR_WRITERS in 1 2 3 4; do
+for NR_WRITERS in $(seq 1 ${NUM_CPUS}); do
        NR_READERS=$((${NUM_CPUS} - ${NR_WRITERS}))
        for WDELAY in ${WDELAY_ARRAY}; do
                ./runtests.sh ${NR_READERS} ${NR_WRITERS} ${DURATION} -d ${WDELAY} ${EXTRA_OPTS} | tee -a update-fraction.log
@@ -59,7 +59,7 @@ done
 
 echo Executing reader C.S. length test
 
-NR_READERS=8
+NR_READERS=${NUM_CPUS}
 NR_WRITERS=0
 DURATION=10
 #in loops.
This page took 0.022238 seconds and 4 git commands to generate.