From 34e28aabde596c5b7ee74023009c6c9f7c809721 Mon Sep 17 00:00:00 2001 From: Reiner Jung <reiner.jung@email.uni-kiel.de> Date: Wed, 22 Jun 2022 16:07:04 +0200 Subject: [PATCH] Fixed TOTAL_CALLS --- bin/2012-msept/run-benchmark-cycle-async.sh | 10 +++---- bin/2012-msept/run-benchmark-cycle-sync.sh | 10 +++---- bin/2012-msept/run-benchmark-recursive-jmx.sh | 10 +++---- .../run-benchmark-recursive-linear.sh | 14 ++++----- bin/2012-msept/run-benchmark-recursive.sh | 14 ++++----- .../run-cycle-experiment-singlethreaded.sh | 4 +-- bin/2012-msept/run-cycle.sh | 4 +-- .../benchmark-kieker-days-ffi-remote.sh | 30 +++++++++---------- .../benchmark-kieker-days-ffi.sh | 30 +++++++++---------- .../benchmark-kieker-days-kieker.sh | 30 +++++++++---------- .../benchmark-kieker-days-ffi-remote.sh | 22 +++++++------- .../benchmark-kieker-days-ffi.sh | 30 +++++++++---------- .../benchmark-kieker-days-kieker-remote.sh | 22 +++++++------- .../benchmark-kieker-days-kieker.sh | 30 +++++++++---------- bin/2013-kieker-days/only_r.sh | 10 +++---- bin/2014-icpe/benchmark-disk-writer.sh | 30 +++++++++---------- frameworks/SPASSmeter/benchmark-causes.sh | 2 +- frameworks/SPASSmeter/benchmark.sh | 4 +-- 18 files changed, 153 insertions(+), 153 deletions(-) diff --git a/bin/2012-msept/run-benchmark-cycle-async.sh b/bin/2012-msept/run-benchmark-cycle-async.sh index 03f3445..125eee2 100644 --- a/bin/2012-msept/run-benchmark-cycle-async.sh +++ b/bin/2012-msept/run-benchmark-cycle-async.sh @@ -43,7 +43,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt @@ -64,7 +64,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-1.txt & ${BINDJAVA} java ${JAVA_ARGS_NOINSTR} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-1.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} @@ -82,7 +82,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-2.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-2.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} @@ -102,7 +102,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-3.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-3.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} @@ -122,7 +122,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-4.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-4.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} diff --git a/bin/2012-msept/run-benchmark-cycle-sync.sh b/bin/2012-msept/run-benchmark-cycle-sync.sh index 73ff771..8d9eac3 100644 --- a/bin/2012-msept/run-benchmark-cycle-sync.sh +++ b/bin/2012-msept/run-benchmark-cycle-sync.sh @@ -43,7 +43,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt @@ -64,7 +64,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do # iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-1.txt & # ${BINDJAVA} java ${JAVA_ARGS_NOINSTR} ${JAR} \ # --output-filename ${RESULTSFN}-${i}-${j}-1.csv \ -# --totalcalls ${TOTALCALLS} \ +# --totalcalls ${TOTAL_CALLS} \ # --methodtime ${METHODTIME} \ # --totalthreads ${THREADS} \ # --recursiondepth ${j} @@ -82,7 +82,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do # iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-2.txt & # ${BINDJAVA} java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ # --output-filename ${RESULTSFN}-${i}-${j}-2.csv \ -# --totalcalls ${TOTALCALLS} \ +# --totalcalls ${TOTAL_CALLS} \ # --methodtime ${METHODTIME} \ # --totalthreads ${THREADS} \ # --recursiondepth ${j} @@ -102,7 +102,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do # iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-3.txt & # ${BINDJAVA} java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ # --output-filename ${RESULTSFN}-${i}-${j}-3.csv \ -# --totalcalls ${TOTALCALLS} \ +# --totalcalls ${TOTAL_CALLS} \ # --methodtime ${METHODTIME} \ # --totalthreads ${THREADS} \ # --recursiondepth ${j} @@ -122,7 +122,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-4.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-4.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} diff --git a/bin/2012-msept/run-benchmark-recursive-jmx.sh b/bin/2012-msept/run-benchmark-recursive-jmx.sh index e3c3b0d..83189ee 100644 --- a/bin/2012-msept/run-benchmark-recursive-jmx.sh +++ b/bin/2012-msept/run-benchmark-recursive-jmx.sh @@ -12,10 +12,10 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSION_DEPTH=10 ## 10 -TOTALCALLS=2000000 ## 2000000 +TOTAL_CALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 2 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 2 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 2 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 2 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -58,7 +58,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt @@ -79,7 +79,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-1.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-1.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} @@ -99,7 +99,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-2.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-2.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} diff --git a/bin/2012-msept/run-benchmark-recursive-linear.sh b/bin/2012-msept/run-benchmark-recursive-linear.sh index a7f4b3d..9e8bb79 100644 --- a/bin/2012-msept/run-benchmark-recursive-linear.sh +++ b/bin/2012-msept/run-benchmark-recursive-linear.sh @@ -12,10 +12,10 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSION_DEPTH=10 ## 10 -TOTALCALLS=2000000 ## 2000000 +TOTAL_CALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -59,7 +59,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt @@ -81,7 +81,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-1.txt & ${BINDJAVA} java ${JAVA_ARGS_NOINSTR} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-1.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${RECDEPTH} @@ -99,7 +99,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-2.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-2.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${RECDEPTH} @@ -119,7 +119,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-3.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-3.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${RECDEPTH} @@ -139,7 +139,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-4.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-4.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${RECDEPTH} diff --git a/bin/2012-msept/run-benchmark-recursive.sh b/bin/2012-msept/run-benchmark-recursive.sh index 8073e98..1b1be03 100644 --- a/bin/2012-msept/run-benchmark-recursive.sh +++ b/bin/2012-msept/run-benchmark-recursive.sh @@ -12,10 +12,10 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSION_DEPTH=10 ## 10 -TOTALCALLS=2000000 ## 2000000 +TOTAL_CALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Experiment will take circa ${TIME} seconds." # determine correct classpath separator @@ -59,7 +59,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSION_DEPTH=${RECURSION_DEPTH}" >>${RESULTS_DIR}configuration.txt @@ -80,7 +80,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-1.txt & ${BINDJAVA} java ${JAVA_ARGS_NOINSTR} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-1.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} @@ -98,7 +98,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-2.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-2.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} @@ -118,7 +118,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-3.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-3.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} @@ -138,7 +138,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-4.txt & ${BINDJAVA} java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RESULTSFN}-${i}-${j}-4.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} diff --git a/bin/2012-msept/run-cycle-experiment-singlethreaded.sh b/bin/2012-msept/run-cycle-experiment-singlethreaded.sh index 1f29e29..409ac80 100644 --- a/bin/2012-msept/run-cycle-experiment-singlethreaded.sh +++ b/bin/2012-msept/run-cycle-experiment-singlethreaded.sh @@ -6,10 +6,10 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSION_DEPTH=1 ## 10 -TOTALCALLS=2000000 ## 200000 +TOTAL_CALLS=2000000 ## 200000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Each experiment will take circa ${TIME} seconds." diff --git a/bin/2012-msept/run-cycle.sh b/bin/2012-msept/run-cycle.sh index 85cf852..dc7ab97 100644 --- a/bin/2012-msept/run-cycle.sh +++ b/bin/2012-msept/run-cycle.sh @@ -5,10 +5,10 @@ SUDOCMD="pfexec" SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 RECURSION_DEPTH=1 ## 10 -TOTALCALLS=2000000 ## 2000000 +TOTAL_CALLS=2000000 ## 2000000 METHODTIME=500000 ## 500000 -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSION_DEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSION_DEPTH}` echo "Each experiment will take circa ${TIME} seconds." ${SUDOCMD} psrset -c -F 0 1 2 3 # one chip no hyperthreading diff --git a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh index 36c54e0..f4c5f0a 100644 --- a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh +++ b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi-remote.sh @@ -13,13 +13,13 @@ SLEEP_TIME=1 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=2000000 ## 20000000 +TOTAL_CALLS=2000000 ## 20000000 METHODTIME=0 ## 0 #MOREPARAMS="" MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -55,7 +55,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -74,7 +74,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sar -o ${RESULTS_DIR}stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JARNoInstru} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -92,7 +92,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARDeactived} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -112,7 +112,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARCollecting} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -132,7 +132,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -152,7 +152,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -172,7 +172,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -199,7 +199,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries.r") @@ -212,7 +212,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries-average.r") @@ -225,7 +225,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput.r") EOF # Throughput-Average @@ -236,7 +236,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput-average.r") EOF # Bars @@ -247,8 +247,8 @@ outtxt_fn="${RESULTS_DIR}results-text.txt" configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 bars.minval=(${METHODTIME}/1000) bars.maxval=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}bar.r") diff --git a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh index 8e76457..1414edb 100644 --- a/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh +++ b/bin/2013-kieker-days-ffi/benchmark-kieker-days-ffi.sh @@ -10,13 +10,13 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=20000000 ## 20000000 +TOTAL_CALLS=20000000 ## 20000000 METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -49,7 +49,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -68,7 +68,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sar -o ${RESULTS_DIR}stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JARNoInstru} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -86,7 +86,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARDeactived} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -105,7 +105,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARCollecting} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -124,7 +124,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -143,7 +143,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -162,7 +162,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -188,7 +188,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries.r") @@ -201,7 +201,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries-average.r") @@ -214,7 +214,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput.r") EOF # Throughput-Average @@ -225,7 +225,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput-average.r") EOF # Bars @@ -236,8 +236,8 @@ outtxt_fn="${RESULTS_DIR}results-text.txt" configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 bars.minval=(${METHODTIME}/1000) bars.maxval=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}bar.r") diff --git a/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh b/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh index 280f1e7..b73e552 100644 --- a/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh +++ b/bin/2013-kieker-days-ffi/benchmark-kieker-days-kieker.sh @@ -10,13 +10,13 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=2000000 ## 20000000 +TOTAL_CALLS=2000000 ## 20000000 METHODTIME=0 ## 0 #MOREPARAMS="" MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -53,7 +53,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -75,7 +75,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -98,7 +98,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -121,7 +121,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -146,7 +146,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -173,7 +173,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -200,7 +200,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -232,7 +232,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries.r") @@ -245,7 +245,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries-average.r") @@ -258,7 +258,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput.r") EOF # Throughput-Average @@ -269,7 +269,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput-average.r") EOF # Bars @@ -280,8 +280,8 @@ outtxt_fn="${RESULTS_DIR}results-text.txt" configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 bars.minval=(${METHODTIME}/1000) bars.maxval=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}bar.r") diff --git a/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh b/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh index 331c1eb..c83407f 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-ffi-remote.sh @@ -13,13 +13,13 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=100000000 ## 20000000 +TOTAL_CALLS=100000000 ## 20000000 METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -55,7 +55,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -73,7 +73,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do #sar -o ${RESULTS_DIR}stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JARNoInstru} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -91,7 +91,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARDeactived} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -111,7 +111,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARCollecting} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -131,7 +131,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -151,7 +151,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -171,7 +171,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -198,8 +198,8 @@ configs.threads=${THREADS} configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 source("${R_SCRIPT_DIR}stats.r") EOF diff --git a/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh b/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh index 8e76457..1414edb 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-ffi.sh @@ -10,13 +10,13 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=20000000 ## 20000000 +TOTAL_CALLS=20000000 ## 20000000 METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -49,7 +49,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -68,7 +68,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sar -o ${RESULTS_DIR}stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JARNoInstru} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -86,7 +86,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARDeactived} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -105,7 +105,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARCollecting} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -124,7 +124,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -143,7 +143,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -162,7 +162,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_LTW} ${JARNORMAL} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -188,7 +188,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries.r") @@ -201,7 +201,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries-average.r") @@ -214,7 +214,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput.r") EOF # Throughput-Average @@ -225,7 +225,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput-average.r") EOF # Bars @@ -236,8 +236,8 @@ outtxt_fn="${RESULTS_DIR}results-text.txt" configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 bars.minval=(${METHODTIME}/1000) bars.maxval=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}bar.r") diff --git a/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh b/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh index 1d7aba1..3cb4b50 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-kieker-remote.sh @@ -13,13 +13,13 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=4000000 ## 20000000 +TOTAL_CALLS=4000000 ## 20000000 METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -59,7 +59,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -79,7 +79,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do #sar -o ${RESULTS_DIR}stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -98,7 +98,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do #sar -o ${RESULTS_DIR}stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVABIN}java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -117,7 +117,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do #sar -o ${RESULTS_DIR}stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVABIN}java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -138,7 +138,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -162,7 +162,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -186,7 +186,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -217,8 +217,8 @@ configs.threads=${THREADS} configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 source("${R_SCRIPT_DIR}stats.r") EOF diff --git a/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh b/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh index 280f1e7..b73e552 100644 --- a/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh +++ b/bin/2013-kieker-days/benchmark-kieker-days-kieker.sh @@ -10,13 +10,13 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=1 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=2000000 ## 20000000 +TOTAL_CALLS=2000000 ## 20000000 METHODTIME=0 ## 0 #MOREPARAMS="" MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -53,7 +53,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -75,7 +75,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -98,7 +98,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -121,7 +121,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -146,7 +146,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -173,7 +173,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -200,7 +200,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do sleep 5 ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -232,7 +232,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries.r") @@ -245,7 +245,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}timeseries-average.r") @@ -258,7 +258,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput.r") EOF # Throughput-Average @@ -269,7 +269,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput-average.r") EOF # Bars @@ -280,8 +280,8 @@ outtxt_fn="${RESULTS_DIR}results-text.txt" configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 bars.minval=(${METHODTIME}/1000) bars.maxval=(${METHODTIME}/1000)+40 source("${R_SCRIPT_DIR}bar.r") diff --git a/bin/2013-kieker-days/only_r.sh b/bin/2013-kieker-days/only_r.sh index c6146df..750fa60 100644 --- a/bin/2013-kieker-days/only_r.sh +++ b/bin/2013-kieker-days/only_r.sh @@ -10,7 +10,7 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=20000000 ## 20000000 +TOTAL_CALLS=20000000 ## 20000000 METHODTIME=0 ## 0 RAWFN="${RESULTS_DIR}raw" @@ -23,7 +23,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=0 tsconf.max=25 source("${R_SCRIPT_DIR}timeseries.r") @@ -36,7 +36,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=0 tsconf.max=25 source("${R_SCRIPT_DIR}timeseries-average.r") @@ -49,7 +49,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput.r") EOF # Throughput-Average @@ -60,6 +60,6 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","TCP Writer","Reconstruction","Reduction") configs.colors=c("black","red","blue","green","yellow","purple") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput-average.r") EOF diff --git a/bin/2014-icpe/benchmark-disk-writer.sh b/bin/2014-icpe/benchmark-disk-writer.sh index 3db9647..69fca7e 100644 --- a/bin/2014-icpe/benchmark-disk-writer.sh +++ b/bin/2014-icpe/benchmark-disk-writer.sh @@ -10,13 +10,13 @@ SLEEP_TIME=30 ## 30 NUM_LOOPS=10 ## 10 THREADS=1 ## 1 RECURSIONDEPTH=10 ## 10 -TOTALCALLS=2000000 ## 2000000 +TOTAL_CALLS=2000000 ## 2000000 METHODTIME=0 ## 0 MOREPARAMS="" #MOREPARAMS="--quickstart" -TIME=`expr ${METHODTIME} \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTALCALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` +TIME=`expr ${METHODTIME} \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} + ${SLEEP_TIME} \* 4 \* ${NUM_LOOPS} \* ${RECURSIONDEPTH} + 50 \* ${TOTAL_CALLS} / 1000000000 \* 4 \* ${RECURSIONDEPTH} \* ${NUM_LOOPS} ` echo "Experiment will take circa ${TIME} seconds." echo "Removing and recreating '${RESULTS_DIR}'" @@ -55,7 +55,7 @@ echo "Runtime: circa ${TIME} seconds" >>${RESULTS_DIR}configuration.txt echo "" >>${RESULTS_DIR}configuration.txt echo "SLEEP_TIME=${SLEEP_TIME}" >>${RESULTS_DIR}configuration.txt echo "NUM_LOOPS=${NUM_LOOPS}" >>${RESULTS_DIR}configuration.txt -echo "TOTALCALLS=${TOTALCALLS}" >>${RESULTS_DIR}configuration.txt +echo "TOTAL_CALLS=${TOTAL_CALLS}" >>${RESULTS_DIR}configuration.txt echo "METHODTIME=${METHODTIME}" >>${RESULTS_DIR}configuration.txt echo "THREADS=${THREADS}" >>${RESULTS_DIR}configuration.txt echo "RECURSIONDEPTH=${RECURSIONDEPTH}" >>${RESULTS_DIR}configuration.txt @@ -77,7 +77,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_NOINSTR} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -100,7 +100,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_DEACTV} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -123,7 +123,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_NOLOGGING} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -146,7 +146,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING1} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -170,7 +170,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING2} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -194,7 +194,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do iostat -xn 10 > ${RESULTS_DIR}stat/iostat-${i}-${j}-${k}.txt & ${JAVABIN}java ${JAVA_ARGS_KIEKER_LOGGING3} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --totalcalls ${TOTALCALLS} \ + --totalcalls ${TOTAL_CALLS} \ --methodtime ${METHODTIME} \ --totalthreads ${THREADS} \ --recursiondepth ${j} \ @@ -225,7 +225,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","Writer1","Writer2","Writer3") configs.colors=c("black","red","blue","green","purple","pink") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+200 source("${R_SCRIPT_DIR}timeseries.r") @@ -238,7 +238,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","Writer1","Writer2","Writer3") configs.colors=c("black","red","blue","green","purple","pink") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} tsconf.min=(${METHODTIME}/1000) tsconf.max=(${METHODTIME}/1000)+200 source("${R_SCRIPT_DIR}timeseries-average.r") @@ -251,7 +251,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","Writer1","Writer2","Writer3") configs.colors=c("black","red","blue","green","purple","pink") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput.r") EOF # Throughput-Average @@ -262,7 +262,7 @@ configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","Writer1","Writer2","Writer3") configs.colors=c("black","red","blue","green","purple","pink") -results.count=${TOTALCALLS} +results.count=${TOTAL_CALLS} source("${R_SCRIPT_DIR}throughput-average.r") EOF # Bars @@ -273,8 +273,8 @@ outtxt_fn="${RESULTS_DIR}results-text.txt" configs.loop=${NUM_LOOPS} configs.recursion=c(${RECURSIONDEPTH}) configs.labels=c("No Probe","Deactivated Probe","Collecting Data","Writer1","Writer2","Writer3") -results.count=${TOTALCALLS} -results.skip=${TOTALCALLS}/2 +results.count=${TOTAL_CALLS} +results.skip=${TOTAL_CALLS}/2 bars.minval=(${METHODTIME}/1000) bars.maxval=(${METHODTIME}/1000)+200 source("${R_SCRIPT_DIR}bar.r") diff --git a/frameworks/SPASSmeter/benchmark-causes.sh b/frameworks/SPASSmeter/benchmark-causes.sh index 462c6ce..7803ce9 100644 --- a/frameworks/SPASSmeter/benchmark-causes.sh +++ b/frameworks/SPASSmeter/benchmark-causes.sh @@ -54,7 +54,7 @@ echo "Runtime: circa ${TIME} seconds" >> "${RESULTS_DIR}/configuration.txt" echo "" >> "${RESULTS_DIR}/configuration.txt" echo "SLEEP_TIME=${SLEEP_TIME}" >> "${RESULTS_DIR}/configuration.txt" echo "NUM_LOOPS=${NUM_LOOPS}" >> "${RESULTS_DIR}/configuration.txt" -echo "TOTALCALLS=${TOTAL_CALLS}" >> "${RESULTS_DIR}/configuration.txt" +echo "TOTAL_CALLS=${TOTAL_CALLS}" >> "${RESULTS_DIR}/configuration.txt" echo "METHODTIME=${METHOD_TIME}" >> "${RESULTS_DIR}/configuration.txt" echo "THREADS=${THREADS}" >> "${RESULTS_DIR}/configuration.txt" echo "RECURSIONDEPTH=${RECURSION_DEPTH}" >> "${RESULTS_DIR}/configuration.txt" diff --git a/frameworks/SPASSmeter/benchmark.sh b/frameworks/SPASSmeter/benchmark.sh index 8bf82e5..963e83f 100644 --- a/frameworks/SPASSmeter/benchmark.sh +++ b/frameworks/SPASSmeter/benchmark.sh @@ -54,7 +54,7 @@ echo "Runtime: circa ${TIME} seconds" >> "${RESULTS_DIR}/configuration.txt" echo "" >> "${RESULTS_DIR}/configuration.txt" echo "SLEEP_TIME=${SLEEP_TIME}" >> "${RESULTS_DIR}/configuration.txt" echo "NUM_LOOPS=${NUM_LOOPS}" >> "${RESULTS_DIR}/configuration.txt" -echo "TOTALCALLS=${TOTAL_CALLS}" >> "${RESULTS_DIR}/configuration.txt" +echo "TOTAL_CALLS=${TOTAL_CALLS}" >> "${RESULTS_DIR}/configuration.txt" echo "METHODTIME=${METHOD_TIME}" >> "${RESULTS_DIR}/configuration.txt" echo "THREADS=${THREADS}" >> "${RESULTS_DIR}/configuration.txt" echo "RECURSIONDEPTH=${RECURSION_DEPTH}" >> "${RESULTS_DIR}/configuration.txt" @@ -112,7 +112,7 @@ for ((i=1;i<=${NUM_LOOPS};i+=1)); do #sar -o ${RESULTS_DIR}/stat/sar-${i}-${j}-${k}.data 5 2000 1>/dev/null 2>&1 & ${JAVA_BIN} ${JAVA_ARGS_LTW_ASM} ${JAR} \ --output-filename ${RAWFN}-${i}-${j}-${k}.csv \ - --total-calls ${TOTALCALLS} \ + --total-calls ${TOTAL_CALLS} \ --method-time ${METHODTIME} \ --total-threads ${THREADS} \ --recursion-depth ${j} \ -- GitLab