projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a few points to the readercs test
[userspace-rcu.git]
/
runall.sh
diff --git
a/runall.sh
b/runall.sh
index 6320ad923b75979902ae08ad4af65389f7aac7ff..147b5a7027ed59f3ce2f2231e1e65ace67019f2f 100755
(executable)
--- a/
runall.sh
+++ b/
runall.sh
@@
-16,19
+16,19
@@
NUM_CPUS=8
echo Executing update fraction test
echo Executing update fraction test
-NR_READERS=$((${NUM_CPUS} - 1))
-NR_WRITERS=1
DURATION=10
WDELAY_ARRAY="0 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
DURATION=10
WDELAY_ARRAY="0 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
- 65536 131072 262144 524288 1048576 2097152"
+ 65536 131072 262144 524288 1048576 2097152 4194304 8388608
+ 16777216 33554432 67108864 134217728"
+NR_WRITERS=$((${NUM_CPUS} / 2))
rm -f update-fraction.log
rm -f update-fraction.log
+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
done
for WDELAY in ${WDELAY_ARRAY}; do
./runtests.sh ${NR_READERS} ${NR_WRITERS} ${DURATION} -d ${WDELAY} ${EXTRA_OPTS} | tee -a update-fraction.log
done
-
#Test scalability :
# x: vary number of readers from 0 to num cpus
# y: ops/s
#Test scalability :
# x: vary number of readers from 0 to num cpus
# y: ops/s
@@
-53,11
+53,11
@@
done
echo Executing reader C.S. length test
echo Executing reader C.S. length test
-NR_READERS=
8
+NR_READERS=
${NUM_CPUS}
NR_WRITERS=0
DURATION=10
#in loops.
NR_WRITERS=0
DURATION=10
#in loops.
-READERCSLEN_ARRAY="0 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768"
+READERCSLEN_ARRAY="0 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768
65536 131072 262144 524288 1048576 2097152
"
rm -f readercslen.log
rm -f readercslen.log
This page took
0.024596 seconds
and
4
git commands to generate.