FLAGS4=-dsm -dsmcaching -optimize -mainclass ${MAINCLASS}
default:
../../../../buildscript ${FLAGS3} -o ${MAINCLASS}NPNC ${SRC1}
- ../../../../buildscript ${FLAGS2} -o ${MAINCLASS}N ${SRC1}
../../../../buildscript ${FLAGS4} -o ${MAINCLASS}NPC ${SRC1}
+#../../../../buildscript ${FLAGS2} -o ${MAINCLASS}N ${SRC1}
clean:
rm -rf tmpbuilddirectory
rm *.bin
Object obj1 = dhe.array;
short[] offsets1 = new short[4];
offsets1[0] = getoffset {DHashEntry, next};
- offsets1[1] = (short) 2;
+ offsets1[1] = (short) 5;
offsets1[2] = getoffset {DHashEntry, key};
offsets1[3] = (short) 0;
System.rangePrefetch(obj1, offsets1);
if(str1.equalsIgnoreCase("r")) {
Integer tmpval = doRead(this, keyitem);
//Write object to socket for client
- sock.write(tmpval.intToByteArray());
+ if(tmpval == null) { //If Object not found in hash map
+ sock.write(fillBytes(0));
+ } else {
+ sock.write(tmpval.intToByteArray());
+ }
} else {
/* update hashmap if opcode sent is "w" */
doUpdate(r, this, keyitem);
return;
}
+ byte[] fillBytes(int val) {
+ byte[] b = new byte[4];
+ for(int i = 0; i<4; i++) {
+ int offset = (3 - i) * 8;
+ b[i] = (byte) ((val >> offset) & 0xFF);
+ }
+ return b;
+ }
+
/*
* Convert byte array into int type
**/
SRC1=${MAINCLASS1}.java \
LookUpServerThread.java
SRC2=${MAINCLASS2}.java
-FLAGS= -thread -nooptimize -debug -mainclass ${MAINCLASS1}
-FLAGS1= -thread -nooptimize -debug -mainclass ${MAINCLASS2}
+FLAGS= -thread -optimize -mainclass ${MAINCLASS1}
+FLAGS1= -thread -optimize -mainclass ${MAINCLASS2}
default :
../../../../buildscript ${FLAGS} -o Server ${SRC1}
./extractLines
../../../../buildscript ${FLAGS1} -o ${MAINCLASS}NPNC ${SRC}
../../../../buildscript ${FLAGS2} -o ${MAINCLASS}NPC ${SRC}
- ../../../../buildscript ${FLAGS3} -o ${MAINCLASS}N ${SRC}
+# ../../../../buildscript ${FLAGS3} -o ${MAINCLASS}N ${SRC}
clean:
rm tmp1RainForest.java
#!/bin/sh
+./runjava.sh 1
+./runjava.sh 2
+./runjava.sh 4
./runjava.sh 6
+./runjava.sh 8
+echo "done"
JAVA_DIR=java
JVM_DIR=jvm
DSM_DIR=dsm
-ITERATIONS=1
+ITERATIONS=2
+TOPDIR=${HOME}/research/Robust/src/Prefetch
+
+function killclients {
+ i=1;
+ while [ $i -le $1 ]; do
+ ssh dc-${i}.calit2.uci.edu 'killall Client.bin;'
+ i=`expr $i + 1`
+ done
+}
function runjava {
# Run java version
# Start the clients
k=1;
echo ${BASEDIR}/${BM_DIR} > ~/.tmpdir
+ perl -x${TOPDIR} ${TOPDIR}/switch/fetch_stat.pl clear_stats settings=switch/clearsettings.txt
while [ $k -le $1 ]; do
echo "SSH into dc-${k}"
SEED=`expr $k \* 100`
fi
k=`expr $k + 1`
done
- sleep 20;
+ killclients $k
+ sleep 10;
+ perl -x${TOPDIR} ${TOPDIR}/switch/fetch_stat.pl settings=switch/settings.txt
+ cat ${LOGDIR}/tmp >> ${LOGDIR}/${BM_NAME}_${1}Thrd.txt
+ if [ $i -eq 0 ];then echo "<h3> Benchmark=${BM_NAME} Thread=${1}</h3><br>" > ${LOGDIR}/${BM_NAME}_${1}Thrd_a.html ;fi
+ cat ${LOGDIR}/tmp >> ${LOGDIR}/${BM_NAME}_${1}Thrd_a.html
+ echo "<a href=\"${BM_NAME}_${1}Thrd_${j}.html\">Network Stats</a><br>" >> ${LOGDIR}/${BM_NAME}_${1}Thrd_a.html
+ mv ${TOPDIR}/html/dell.html ${LOGDIR}/${BM_NAME}_${1}Thrd_${j}.html
+
j=`expr $j + 1`
cd -
done
done
}
+function calcavg {
+ for file in `ls ${LOGDIR}/*.out`
+ do
+ echo -n $file
+ cat $file | awk '{sum += $1} END {print " "sum/NR}'
+ done
+}
+
exec < bm_args.txt
while read line
do
rm ~/.bmargs
rm ~/.tmpdir
done
+
+echo "------- Calculating Averages -------- "
+calcavg
# ../../../../buildscript ${FLAGS} ${SRC1} -o ${MAINCLASS}N
../../../../buildscript ${FLAGS1} ${SRC2} -o ${MAINCLASS}NPNC
../../../../buildscript ${FLAGS2} ${SRC2} -o ${MAINCLASS}NPC
- ../../../../buildscript ${FLAGS} ${SRC2} -o ${MAINCLASS}N
+# ../../../../buildscript ${FLAGS} ${SRC2} -o ${MAINCLASS}N
clean:
rm -rf tmpbuilddirectory
default:
../../../../buildscript ${FLAGS1} ${SRC} -o ${MAINCLASS}NPNC
../../../../buildscript ${FLAGS2} ${SRC} -o ${MAINCLASS}NPC
- ../../../../buildscript ${FLAGS} ${SRC} -o ${MAINCLASS}N
+# ../../../../buildscript ${FLAGS} ${SRC} -o ${MAINCLASS}N
clean:
rm -rf tmpbuilddirectory
c=global new Chase(fold);
}
- c.start((128<<24)|(195<<16)|(175<<8)|79);
+ c.start((128<<24)|(195<<16)|(136<<8)|162);
c.join();
}
MAINCLASS=Chase
SRC1=${MAINCLASS}.java
-FLAGS=-dsm -prefetch -dsmcaching -optimize -excprefetch Chase.main -excprefetch Chase.Chase -mainclass ${MAINCLASS} -trueprob 0.7
-FLAGS1=-dsm -rangeprefetch -dsmcaching -optimize -mainclass ${MAINCLASS} -trueprob 0.7
+#FLAGS=-dsm -prefetch -dsmcaching -optimize -excprefetch Chase.main -excprefetch Chase.Chase -mainclass ${MAINCLASS} -trueprob 0.7
FLAGS2=-dsm -dsmcaching -optimize -mainclass ${MAINCLASS} -trueprob 0.7
FLAGS3=-dsm -optimize -mainclass ${MAINCLASS} -trueprob 0.7
#for testing no java option
default:
../../../buildscript ${FLAGS3} -o ${MAINCLASS}NPNC ${SRC1}
../../../buildscript ${FLAGS} -o ${MAINCLASS}N ${SRC1}
- ../../../buildscript ${FLAGS1} -o ${MAINCLASS}RangeP ${SRC1}
clean:
rm -rf tmpbuilddirectory
}
//
- //Prefetch this.img.inputImage[] the first 32 objects
- // Generates compiler error ???
- Object o = this;
+ //Add manual prefetch this.img.inputImage[] the first 32 objects
short[] offsets = new short[6];
offsets[0] = getoffset{Convolution, img};
offsets[1] = (short) 0;
offsets[3] = (short) 0;
offsets[4] = (short) tempx0;
offsets[5] = (short) 31;
- System.rangePrefetch(o, offsets);
+ System.rangePrefetch(this, offsets);
//Prefetch this.img.outputImage[] the first 32 objects
- // Generates compiler error ???
- Object o1 = this;
- short[] offsets1 = new short[6];
- offsets1[0] = getoffset{Convolution, img};
- offsets1[1] = (short) 0;
- offsets1[2] = getoffset{Image, outputImage};
- offsets1[3] = (short) 0;
- offsets1[4] = (short) tempx0;
- offsets1[5] = (short) 31;
- System.rangePrefetch(o1, offsets1);
+ offsets[2] = getoffset{Image, outputImage};
+ offsets[3] = (short) 0;
+ System.rangePrefetch(this, offsets);
int kernelHeight=15;
int kernelWidth=15;
double a[]=la[i];
double c[]=lc[i];
if ((l&15)==0) {
- offsets2[0] = (short) x0+l;
+ offsets2[0] = (short) (x0+l);
if ((x0+l+16)>x1) {
int x=x1-x0-l-1;
if (x>0) {
- offsets[1]=(short) x;
+ offsets2[1]=(short) x;
System.rangePrefetch(la, offsets2);
System.rangePrefetch(lc, offsets2);
}
} else {
- offsets[1] = (short) 15;
+ offsets2[1] = (short) 15;
System.rangePrefetch(la, offsets2);
System.rangePrefetch(lc, offsets2);
}
MAINCLASS=MatrixMultiply
SRC1=${MAINCLASS}N.java
-FLAGS=-dsm -dsmcaching -prefetch -optimize -excprefetch MatrixMultiply.main -excprefetch MMul.setValues -excprefetch MMul.transpose -mainclass ${MAINCLASS} -trueprob 0.98
FLAGS1=-dsm -dsmcaching -rangeprefetch -optimize -mainclass ${MAINCLASS} -trueprob 0.98
-FLAGS2=-dsm -optimize -mainclass ${MAINCLASS}
default:
- ../../../../buildscript ${FLAGS2} -o ${MAINCLASS}NPNC ${SRC1}
- ../../../../buildscript ${FLAGS} -o ${MAINCLASS}N ${SRC1}
- ../../../../buildscript ${FLAGS1} -o ${MAINCLASS}RangePN ${SRC1}
+ ../../../../buildscript ${FLAGS1} -o ${MAINCLASS}RangeN ${SRC1}
clean:
rm -rf tmpbuilddirectory
header = base + "3 - Size A";
else if (size == 1)
header = base + "3 - Size B";
+ else if (size == 2)
+ header = base + "3 - Size C";
}
System.printString(header + "\n");
datasizes = global new int[3];
datasizes[0] = 8;
datasizes[1] = 13;
- datasizes[2] = 18;
+ datasizes[2] = 11;
mm = datasizes[size];
PARTSIZE = mm*mm*mm*4;
for (int move=0;move<movemx;move++) {
//PREFETCH: sh_force[0..2][0..mdsize]
-
-
atomic {
+ /*
+ short[] offsets1 = new short[6];
+ offsets1[0] = getoffset{mdRunner, sh_force};
+ offsets1[1] = (short) 0;
+ offsets1[2] = (short) 0;
+ offsets1[3] = (short) 2;
+ offsets1[4] = (short) 0;
+ offsets1[5] = (short) (mdsize -1);
+ System.rangePrefetch(this, offsets1);
+ */
/* move the particles and update velocities */
for (int i=0;i<mdsize;i++) {
one[i].domove(side,i);
//PREFETCH: sh_force[0..2][0..mdsize]
atomic {
+ /*
+ Object o = this.sh_force;
+ short[] offsets1 = new short[4];
+ offsets1[0] = (short) 0;
+ offsets1[1] = (short) 2;
+ offsets1[2] = (short) 0;
+ offsets1[3] = (short) (mdsize -1);
+ System.rangePrefetch(o, offsets1);
+ */
+
/*scale forces, update velocities */
sum = 0.0;
for (int i=0;i<mdsize;i++) {
-MAINCLASS=JGFMolDynBenchSizeB
+MAINCLASS=JGFMolDynBenchSizeC
SRC=${MAINCLASS}.java \
JGFInstrumentor.java \
JGFTimer.java \
RainForest:RainForest:-N 1:-N 2:-N 3:-N 4:-N 5:-N 6:-N 7:-N 8:rainforest
-LookUpService:LookUpService:-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:LookUpService/dsm2:-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
MatrixMultiply:MatrixMultiply:1 800:2 800:3 800:4 800:5 800:6 800:7 800:8 800:800mmver
+Convolution:2DConv:1 4096:2 4096:3 4096:4 4096:5 4096:6 4096:7 4096:8 4096:40962dconv
Convolution:2DConv:1 2048:2 2048:3 2048:4 2048:5 2048:6 2048:7 2048:8 2048:20482dconv
-Convolution:2DConv:1 1024:2 1024:3 1024:4 1024:5 1024:6 1024:7 1024:8 1024:10242dconv
JGFMolDynBenchSizeB:Moldyn:1:2:3:4:5:6:7:8:moldynverB
+JGFMolDynBenchSizeA:Moldyn:1:2:3:4:5:6:7:8:moldynverA
+fft2d:2DFFT:1 1600:2 1600:3 1600:4 1600:5 1600:6 1600:7 1600:8 1600:1600fft2d
+fft2d:2DFFT:1 1152:2 1152:3 1152:4 1152:5 1152:6 1152:7 1152:8 1152:1152fft2d
#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='1152fft2d 40962dconv 10lookup 1200mmver moldynverB rainforest'
LOGDIR=~/research/Robust/src/Benchmarks/Prefetch/ManualPrefetch/runlog
TOPDIR=`pwd`
done
}
-function oneremote {
- i=0;
- DIR=`pwd`
- while [ $i -lt $1 ]; do
- echo "$DIR" > ~/.tmpdir
- echo "bin=$3" > ~/.tmpvars
- echo "arg='$ARGS1'" > ~/.tmpargs
- echo "logd=$LOGDIR" > ~/.tmplogdir
- echo "ext=$EXTENSION" > ~/.tmpext
- ./$3 &
- ssh $MACHINES2 'cd `cat ~/.tmpdir`; source ~/.tmpvars; source ~/.tmpargs; source ~/.tmplogdir; source ~/.tmpext; /usr/bin/time -f "%e" ./$bin master $arg 2>> ${logd}/${bin}_remote_${ext}.txt'
- echo "Terminating ... "
- killall $3
- sleep 2
- i=`expr $i + 1`
- done
-}
-
-function localrun {
- rm dstm.conf
- DSTMDIR=${HOME}/research/Robust/src/Benchmarks/Prefetch/config
- ln -s ${DSTMDIR}/dstm_1.conf dstm.conf
- i=0;
- while [ $i -lt $1 ]; do
- /usr/bin/time -f "%e" ./${MANUAL_PREFETCH} master $ARGS1 2> ${LOGDIR}/tmp
- cat ${LOGDIR}/tmp >> ${LOGDIR}/${MANUAL_PREFETCH}_local_${EXTENSION}.txt
-# if [ $i -eq 0 ];then echo "<h3> Benchmark=${NONPREFETCH_NONCACHE} Thread=1local Extension=${EXTENSION}</h3><br>" > ${LOGDIR}/${NONPREFETCH_NONCACHE}_${EXTENSION}_1local_a.html ;fi
-# cat ${LOGDIR}/tmp >> ${LOGDIR}/${NONPREFETCH_NONCACHE}_${EXTENSION}_1local_a.html
-# echo "<br>" >> ${LOGDIR}/${NONPREFETCH_NONCACHE}_${EXTENSION}_1local_a.html
- sleep 2
- i=`expr $i + 1`
- done
-}
-
function callrun {
MANUAL_PREFETCH=${BENCHMARK}RangeN.bin
cd $BMDIR
- echo "---------- Running local $BMDIR non-prefetch on 1 machine ---------- "
- # localrun 1
-
-for count in 2 4 6 8
-do
-echo "------- Running $count threads $BMDIR manual prefetch on $count machines -----"
-run 1 $count ${MANUAL_PREFETCH}
-done
+ for count in 2 4 6 8
+ do
+ echo "------- Running $count threads $BMDIR manual prefetch on $count machines -----"
+ run 1 $count ${MANUAL_PREFETCH}
+ done
-cd $TOPDIR
+ cd $TOPDIR
}
-#benchmarks='rainforest'
-benchmarks='moldynverB'
echo "---------- Clean old files ---------- "
rm runlog/*
for b in `echo $benchmarks`
default:
../../../../buildscript ${FLAGS2} -o ${MAINCLASS}NPNC ${SRC1}
../../../../buildscript ${FLAGS1} -o ${MAINCLASS}NPC ${SRC1}
- ../../../../buildscript ${FLAGS} -o ${MAINCLASS}N ${SRC1}
+# ../../../../buildscript ${FLAGS} -o ${MAINCLASS}N ${SRC1}
# ../../../../buildscript ${FLAGS2} -o ${MAINCLASS}NPNC200 ${SRC2}
# ../../../../buildscript ${FLAGS} -o ${MAINCLASS}N200 ${SRC2}
SRC2=${MAINCLASS}Nrun.java
default:
../../../../buildscript -thread -optimize -mainclass ${MAINCLASS} ${SRC1} -o ${MAINCLASS}
- ../../../../buildscript -thread -optimize -mainclass ${MAINCLASS} ${SRC2} -o ${MAINCLASS}N
+# ../../../../buildscript -thread -optimize -mainclass ${MAINCLASS} ${SRC2} -o ${MAINCLASS}N
clean:
rm -rf tmpbuilddirectory
header = base + "3 - Size A";
else if (size == 1)
header = base + "3 - Size B";
+ else if (size == 2)
+ header = base + "3 - Size C";
}
System.printString(header + "\n");
datasizes = global new int[3];
datasizes[0] = 8;
datasizes[1] = 13;
- datasizes[2] = 18;
+ datasizes[2] = 11;
mm = datasizes[size];
PARTSIZE = mm*mm*mm*4;
}
JGFInstrumentor instr = new JGFInstrumentor();
- JGFInstrumentor.printHeader(3,0,nthreads);
+ JGFInstrumentor.printHeader(3,2,nthreads);
JGFMolDynBench mold;
atomic {
-MAINCLASS=JGFMolDynBenchSizeB
+MAINCLASS=JGFMolDynBenchSizeC
SRC=${MAINCLASS}.java \
JGFInstrumentor.java \
JGFTimer.java \
default:
../../../../buildscript ${FLAGS2} -o ${MAINCLASS}NPNC ${SRC}
../../../../buildscript ${FLAGS1} -o ${MAINCLASS}NPC ${SRC}
- ../../../../buildscript ${FLAGS} -o ${MAINCLASS}N ${SRC}
+# ../../../../buildscript ${FLAGS} -o ${MAINCLASS}N ${SRC}
clean:
rm -rf tmpbuilddirectory/
header = base + "3 - Size A";
else if (size == 1)
header = base + "3 - Size B";
+ else if (size == 2)
+ header = base + "3 - Size C";
}
System.printString(header + "\n");
datasizes = new int[3];
datasizes[0] = 8;
datasizes[1] = 13;
- datasizes[2] = 18;
+ datasizes[2] = 11;
mm = datasizes[size];
PARTSIZE = mm*mm*mm*4;
}
JGFInstrumentor instr = new JGFInstrumentor();
- JGFInstrumentor.printHeader(3,0,nthreads);
+ JGFInstrumentor.printHeader(3,2,nthreads);
JGFMolDynBench mold;
mold = new JGFMolDynBench(nthreads);
-MAINCLASS=JGFMolDynBenchSizeB
+MAINCLASS=JGFMolDynBenchSizeC
SRC=${MAINCLASS}.java \
JGFInstrumentor.java \
JGFTimer.java \
JGFSORBenchSizeD:SOR/dsm:1:2:3:4:5:6:7:8:sorverD
JGFMolDynBenchSizeA:Moldyn/dsm:1:2:3:4:5:6:7:8:moldynverA
JGFMolDynBenchSizeB:Moldyn/dsm:1:2:3:4:5:6:7:8:moldynverB
+JGFMolDynBenchSizeC:Moldyn/dsm:1:2:3:4:5:6:7:8:moldynverC
JGFMolDynBenchSizeD:Moldyn/dsm:1:2:3:4:5:6:7:8:moldynverD
JGFLUFactBenchSizeA:LUFact/dsm:1:2:3:4:5:6:7:8:lufactverA
MatrixMultiply:MatrixMultiply/dsm:1 800:2 800:3 800:4 800:5 800:6 800:7 800:8 800:800mmver
fft2d:2DFFT/dsm:1 1600:2 1600:3 1600:4 1600:5 1600:6 1600:7 1600:8 1600:1600fft2d
fft2d:2DFFT/dsm:1 1152:2 1152:3 1152:4 1152:5 1152:6 1152:7 1152:8 1152:1152fft2d
fft2d:2DFFT/dsm:1 3200:2 3200:3 3200:4 3200:5 3200:6 3200:7 3200:8 3200:3200fft2d
+fft2d:2DFFT/dsm:1 2500:2 2500:3 2500:4 2500:5 2500:6 2500:7 2500:8 2500:2500fft2d
Heat:HeatFlow/dsm:1 200:2 200:3 200:4 200:5 200:6 200:7 200:8 200:heatflow
Convolution:2DConv/dsm:1 4096:2 4096:3 4096:4 4096:5 4096:6 4096:7 4096:8 4096:40962dconv
Convolution:2DConv/dsm:1 8192:2 8192:3 8192:4 8192:5 8192:6 8192:7 8192:8 8192:81922dconv
Convolution:2DConv/dsm:1 2048:2 2048:3 2048:4 2048:5 2048:6 2048:7 2048:8 2048:20482dconv
Convolution:2DConv/dsm:1 1024:2 1024:3 1024:4 1024:5 1024:6 1024:7 1024:8 1024:10242dconv
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/dsm2:-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
#benchmarks='40962dconv 1200mmver moldynverB 1600fft2d 1152fft2d 10lookup rainforest'
#benchmarks='40962dconv'
#benchmarks='10lookup'
-benchmarks='rainforest'
+#benchmarks='rainforest'
+#benchmarks='1152fft2d'
+benchmarks='moldynverC'
+#benchmarks='40962dconv 1200mmver 1152fft2d moldynverA 10lookup rainforest'
LOGDIR=~/research/Robust/src/Benchmarks/Prefetch/runlog
TOPDIR=`pwd`
cd $BMDIR
echo "---------- Running local $BMDIR non-prefetch on 1 machine ---------- "
-# localrun 1
+ localrun 1
# echo "---------- Running single thread remote $BMDIR non-prefetch + non-cache on 2 machines ---------- "
# oneremote 1 1 $NONPREFETCH_NONCACHE
# oneremote 1 1 $PREFETCH
-for count in 8
+for count in 2 4 6 8
do
-#echo "------- Running $count threads $BMDIR non-prefetch + non-cache on $count machines -----"
-#run 1 $count $NONPREFETCH_NONCACHE
-#echo "------- Running $count threads $BMDIR non-prefetch on $count machines -----"
-#run 1 $count $NONPREFETCH
+echo "------- Running $count threads $BMDIR non-prefetch + non-cache on $count machines -----"
+run 1 $count $NONPREFETCH_NONCACHE
+echo "------- Running $count threads $BMDIR non-prefetch on $count machines -----"
+run 1 $count $NONPREFETCH
#echo "------- Running $count threads $BMDIR normal prefetch on $count machines -----"
#run 1 $count $PREFETCH
-#echo "------- Running $count threads $BMDIR manual prefetch on $count machines -----"
-#run 1 $count $MANUAL_PREFETCH
+echo "------- Running $count threads $BMDIR manual prefetch on $count machines -----"
+run 1 $count $MANUAL_PREFETCH
###########
-echo "------- Running $count threads $BMDIR non-prefetch + non-cache on $count machines -----"
-runallstats 1 $count $NONPREFETCH_NONCACHE
-echo "------- Running $count threads $BMDIR non-prefetch on $count machines -----"
-runallstats 1 $count $NONPREFETCH
-echo "------- Running $count threads $BMDIR normal prefetch on $count machines -----"
-runallstats 1 $count $PREFETCH
-echo "------- Running $count threads $BMDIR manual prefetch on $count machines -----"
-runallstats 1 $count $MANUAL_PREFETCH
+#echo "------- Running $count threads $BMDIR non-prefetch + non-cache on $count machines -----"
+#runallstats 1 $count $NONPREFETCH_NONCACHE
+#echo "------- Running $count threads $BMDIR non-prefetch on $count machines -----"
+#runallstats 1 $count $NONPREFETCH
+#echo "------- Running $count threads $BMDIR normal prefetch on $count machines -----"
+#runallstats 1 $count $PREFETCH
+#echo "------- Running $count threads $BMDIR manual prefetch on $count machines -----"
+#runallstats 1 $count $MANUAL_PREFETCH
#############
done
callmicrorun
else
callrun
- #callrunjavasingle
+ callrunjavasingle
fi
done