From: jihoonl Date: Wed, 20 Jan 2010 09:18:58 +0000 (+0000) Subject: change X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f955c00d7c980bee597197668e6f3ee7d77f38de;p=IRC.git change --- diff --git a/Robust/src/Benchmarks/Recovery/bm_args.txt b/Robust/src/Benchmarks/Recovery/bm_args.txt index d6512b02..33149ae1 100644 --- a/Robust/src/Benchmarks/Recovery/bm_args.txt +++ b/Robust/src/Benchmarks/Recovery/bm_args.txt @@ -1 +1 @@ -MatrixMultiply:400 80 +MatrixMultiply:1600 80 diff --git a/Robust/src/Benchmarks/Recovery/runjava.sh b/Robust/src/Benchmarks/Recovery/runjava.sh index 97ada452..a961311e 100755 --- a/Robust/src/Benchmarks/Recovery/runjava.sh +++ b/Robust/src/Benchmarks/Recovery/runjava.sh @@ -5,7 +5,8 @@ DSTM_CONFDIR=${HOME}/research/Robust/src JAVA_DIR=java JVM_DIR=jvm DSM_DIR=dsm -ITERATIONS=3 +ITERATIONS=2 +WAITTIME=60 # killClients <# of machines> function killclients { @@ -61,20 +62,14 @@ function runNormalTest { echo $NUM_MACHINE tt=1; while [ $tt -le $NUM_MACHINE ]; do - echo "------------------------------- Normal Test $1 ----------------------------" >> log$1-$tt + echo "------------------------------- Normal Test $1 ----------------------------" >> log-$tt tt=`expr $tt + 1` done # run test - runMachines log$1 + runMachines log - sleep 60 - - tt=1; - while [ $tt -le $NUM_MACHINE ]; do - echo "------------------------------- Normal Test $1 End ----------------------------" >> log$1-$tt - tt=`expr $tt + 1` - done + sleep $WAITTIME killclients $fileName 8 sleep 10 @@ -91,32 +86,25 @@ function runFailureTest { tt=1; while [ $tt -le $NUM_MACHINE ]; do - echo "------------------------------- Failure Test $1 ----------------------------" >> log$1-$tt + echo "------------------------------- Failure Test $1 ----------------------------" >> log-$tt tt=`expr $tt + 1` done # run all machines - runMachines log$1 + runMachines log sleep 10 # wait until all machine run # Kill machines for k in 2 4 6 8 do - echo "------------------------ dc-$k is killed ------------------------" >> log$1-$k - echo "------------------------------- Failure Test $1 End ----------------------------" >> log$1-$k + echo "------------------------ dc-$k is killed ------------------------" >> log-$k killonemachine $fileName $k sleep 10 done - tt=1; - while [ $tt -le $NUM_MACHINE ]; do - echo "------------------------------- Failure Test $1 End ----------------------------" >> log$1-$tt - tt=`expr $tt + 1` - done - - sleep 60; # wait the end of execution + sleep $WAITTIME # wait the end of execution killclients $fileName 8 # kill alive machines - sleep 10; - + sleep 10 + cd - } @@ -150,16 +138,16 @@ do echo "NUM_M = $NUM_MACHINE" - echo "========================================= 1 =======================================" + echo "=================================== 1 =================================" runNormalTest $NUM_MACHINES 1 - echo "====================================================================================" + echo "=======================================================================" t=2; while [ $t -le $ITERATIONS ]; do - echo "========================================= $t =======================================" - runFailureTest $NUM_MACHINES $t + echo "==================================== $t =============================" + runFailureTest $NUM_MACHINES 1 sleep 10 - echo "====================================================================================" + echo "=====================================================================" t=`expr $t + 1` done