change script files
authoradash <adash>
Mon, 9 Mar 2009 01:36:41 +0000 (01:36 +0000)
committeradash <adash>
Mon, 9 Mar 2009 01:36:41 +0000 (01:36 +0000)
Robust/src/Benchmarks/Prefetch/bm.txt
Robust/src/Benchmarks/Prefetch/run.sh

index b794656d859823de9bff521923b3361b4aa9d814..51ea672ba4ea39d591c29faea8d6dd4aadb68cb2 100644 (file)
@@ -24,4 +24,4 @@ Convolution:2DConv/dsm:1 1024:2 1024:3 1024:4 1024:5 1024:6 1024:7 1024:8 1024:1
 Convolution:2DConv/dsm:1 6000:2 6000:3 6000:4 6000:5 6000:6 6000:7 6000:8 6000:60002dconv
 LookUpService:../Distributed/LookUpService/dsm:-N 1 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:-N 2 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:-N 3 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:-N 4 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:-N 5 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:-N 6 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:-N 7 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:-N 8 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 10:10lookup
 LookUpService:../Distributed/LookUpService/dsm:-N 1 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:-N 2 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:-N 3 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:-N 4 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:-N 5 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:-N 6 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:-N 7 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:-N 8 -nEntry 160 -nTrans 1000 -probRead 96 -nLookUp 15:15lookup
-
+RainForest:../Distributed/RainForest/dsm:-N 1:-N 2:-N 3:-N 4:-N 5:-N 6:-N 7:-N 8:rainforest
index 7771e5c11be4f3f1d25bf4c3eb5b3dd3d19028ef..ff98817f4c99ad28d00fca770682805dccff7b30 100755 (executable)
@@ -3,7 +3,8 @@
 #set -x
 MACHINELIST='dc-1.calit2.uci.edu dc-2.calit2.uci.edu dc-3.calit2.uci.edu dc-4.calit2.uci.edu dc-5.calit2.uci.edu dc-6.calit2.uci.edu dc-7.calit2.uci.edu dc-8.calit2.uci.edu'
 #benchmarks='40962dconv 1200mmver moldynverB'
-benchmarks='10lookup'
+#benchmarks='10lookup'
+benchmarks='rainforest'
 
 LOGDIR=~/research/Robust/src/Benchmarks/Prefetch/runlog
 TOPDIR=`pwd`
@@ -26,26 +27,35 @@ function run {
       let ct=$ct+1
     done
 
+    rm dstm.conf
+    DSTMDIR=${HOME}/research/Robust/src
     if [ $2 -eq 2 ]; then 
       arg=$ARGS2
+      ln -s ${DSTMDIR}/dstm_2.conf dstm.conf
     fi
     if [ $2 -eq 3 ]; then 
       arg=$ARGS3
+      ln -s ${DSTMDIR}/dstm_3.conf dstm.conf
     fi
     if [ $2 -eq 4 ]; then 
       arg=$ARGS4
+      ln -s ${DSTMDIR}/dstm_4.conf dstm.conf
     fi
     if [ $2 -eq 5 ]; then 
       arg=$ARGS5
+      ln -s ${DSTMDIR}/dstm_5.conf dstm.conf
     fi
     if [ $2 -eq 6 ]; then 
       arg=$ARGS6
+      ln -s ${DSTMDIR}/dstm_6.conf dstm.conf
     fi
     if [ $2 -eq 7 ]; then 
       arg=$ARGS7
+      ln -s ${DSTMDIR}/dstm_7.conf dstm.conf
     fi
     if [ $2 -eq 8 ]; then 
       arg=$ARGS8
+      ln -s ${DSTMDIR}/dstm_8.conf dstm.conf
     fi
     chmod +x ~/.tmpvars
     for machine in `echo $MACHINES`
@@ -98,6 +108,11 @@ function localrun {
 #   i=`expr $i + 1`
 # done
   i=0;
+
+  DSTMDIR=${HOME}/research/Robust/src
+  rm dstm.conf
+  ln -s ${DSTMDIR}/dstm_1.conf dstm.conf
+
   while [ $i -lt $1 ]; do
     /usr/bin/time -f "%e" ./${NONPREFETCH_NONCACHE} master $ARGS1 2> ${LOGDIR}/tmp
     cat ${LOGDIR}/tmp >> ${LOGDIR}/${NONPREFETCH_NONCACHE}_local_${EXTENSION}.txt
@@ -137,7 +152,7 @@ run 1 $count $NONPREFETCH
 echo "------- Running $count threads $BMDIR prefetch on $count machines -----"
 run 1 $count $PREFETCH
 echo "------- Running $count threads $BMDIR manual prefetch on $count machines -----"
-run 1 $count $MANUAL_PREFETCH
+#run 1 $count $MANUAL_PREFETCH
 done
 
 cd $TOPDIR
@@ -205,7 +220,7 @@ do
   callmicrorun
   else
   callrun
-  callrunjavasingle
+  #callrunjavasingle
   fi
 done