Updates to scripts for a mixedbench microbenchmarking run
authorMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 11 Mar 2011 19:29:59 +0000 (11:29 -0800)
committerMichael Vrable <mvrable@cs.ucsd.edu>
Fri, 11 Mar 2011 19:29:59 +0000 (11:29 -0800)
microbench/parse-results.py
microbench/run2.sh

index 2cae623..cfc826d 100755 (executable)
@@ -56,7 +56,7 @@ def extract(data, params={}, ty='read', index=0):
 
 data = []
 if __name__ == '__main__':
 
 data = []
 if __name__ == '__main__':
-    dirname = '20110228'
+    dirname = '20110310'
     for f in os.listdir(dirname):
         if f.endswith('.settings'):
             data.append(load_results(dirname + '/' + f[:-len('.settings')]))
     for f in os.listdir(dirname):
         if f.endswith('.settings'):
             data.append(load_results(dirname + '/' + f[:-len('.settings')]))
index cd17e67..75b61de 100755 (executable)
@@ -11,6 +11,7 @@ ops_list="1000 500 200 100 50 20 10"
 run_one() {
     PREFIX=$1
 
 run_one() {
     PREFIX=$1
 
+    BLUESKY_RUN_NAME=$PREFIX
     $HOME/bin/s3-cleanup.py mvrable-bluesky
     $HOME/bin/s3-cleanup.py mvrable-bluesky-west
     run_cmd $PROXY cleanup-proxy
     $HOME/bin/s3-cleanup.py mvrable-bluesky
     $HOME/bin/s3-cleanup.py mvrable-bluesky-west
     run_cmd $PROXY cleanup-proxy
@@ -21,9 +22,10 @@ run_one() {
 
     for BENCH_OPS in $ops_list; do
         sleep 10
 
     for BENCH_OPS in $ops_list; do
         sleep 10
+        BLUESKY_RUN_NAME=$PREFIX-$BENCH_OPS
         echo "SETTINGS:" $(get_params)
         echo "SETTINGS:" $(get_params)
-        get_params >$PREFIX-$BENCH_OPS.settings
-        (date; run_cmd $BENCHER run-benchmark) | tee $PREFIX-$BENCH_OPS.results
+        get_params >$BLUESKY_RUN_NAME.settings
+        (date; run_cmd $BENCHER run-benchmark) | tee $BLUESKY_RUN_NAME.results
     done
 
     run_cmd $PROXY stop-proxy
     done
 
     run_cmd $PROXY stop-proxy