From: Mathieu Desnoyers Date: Fri, 31 May 2013 17:09:46 +0000 (-0400) Subject: expand runja.sh X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=f9965cd76f88a1dc29ad2bf0e50ea394f048db99;p=userspace-rcu.git expand runja.sh Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/runja.sh b/tests/runja.sh index 1be4224..0fcddd0 100755 --- a/tests/runja.sh +++ b/tests/runja.sh @@ -27,3 +27,101 @@ ${TESTPROG} 0 $((4*${THREAD_MUL})) ${TIME_UNITS} -M 1 -N 1 -O 1 ${EXTRA_PARAMS} # rw test, single key, add and del randomly, 2 lookup threads, 2 update threads # key range: init, lookup, and update: 0 to 0 ${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -M 1 -N 1 -O 1 ${EXTRA_PARAMS} || exit 1 + +# add with duplicates + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 8 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 8 -M 100 -N 100 -O 100 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 8 -M 255 -N 255 -O 255 ${EXTRA_PARAMS} || exit 1 + +#expected fail (TODO) +#${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 8 -M 256 -N 256 -O 256 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 16 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 16 -M 1000 -N 1000 -O 1000 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 16 -M 65535 -N 65535 -O 65535 ${EXTRA_PARAMS} || exit 1 + + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 24 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 24 -M 65535 -N 65535 -O 65535 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 24 -M 16777215 -N 16777215 -O 16777215 ${EXTRA_PARAMS} || exit 1 + + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 32 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 32 -M 1000 -N 1000 -O 1000 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 32 -M 1000000 -N 1000000 -O 1000000 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 32 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -B 64 ${EXTRA_PARAMS} || exit 1 + +# add unique + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 8 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 8 -M 100 -N 100 -O 100 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 8 -M 255 -N 255 -O 255 ${EXTRA_PARAMS} || exit 1 + +#expected fail (TODO) +#${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 8 -M 256 -N 256 -O 256 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 16 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 16 -M 1000 -N 1000 -O 1000 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 16 -M 65535 -N 65535 -O 65535 ${EXTRA_PARAMS} || exit 1 + + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 24 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 24 -M 65535 -N 65535 -O 65535 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 24 -M 16777215 -N 16777215 -O 16777215 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 32 -M 10 -N 10 -O 10 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 32 -M 1000 -N 1000 -O 1000 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 32 -M 1000000 -N 1000000 -O 1000000 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 32 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 64 ${EXTRA_PARAMS} || exit 1 + + +# removal (0% add) + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 32 -k 10000 -M 10000 -N 10000 -O 10000 -r 0 ${EXTRA_PARAMS} || exit 1 + +# vary add ratio + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 32 -k 10000 -M 10000 -N 10000 -O 10000 -r 5 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -u -B 32 -k 10000 -M 10000 -N 10000 -O 10000 -r 95 ${EXTRA_PARAMS} || exit 1 + + +# validate lookup of init values + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -V -u -B 32 -k 100 -S 100 -M 100 -N 100 -O 100 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -V -u -B 32 -k 10000 -S 10000 -M 10000 -N 10000 -O 10000 ${EXTRA_PARAMS} || exit 1 + +# vary key multiplication factor + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -V -u -B 32 -m 17 -k 100 -S 100 -M 100 -N 100 -O 100 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -V -u -B 32 -m 17 -k 10000 -S 10000 -M 10000 -N 10000 -O 10000 ${EXTRA_PARAMS} || exit 1 + + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -V -u -B 64 -m 1717 -k 100 -S 100 -M 100 -N 100 -O 100 ${EXTRA_PARAMS} || exit 1 + +${TESTPROG} $((2*${THREAD_MUL})) $((2*${THREAD_MUL})) ${TIME_UNITS} -V -u -B 64 -m 1717 -k 10000 -S 10000 -M 10000 -N 10000 -O 10000 ${EXTRA_PARAMS} || exit 1