From eb4bf9043ada8d35a7524fabfd6fada986cbe5c8 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Tue, 9 Nov 2010 18:19:12 -0500 Subject: Let's not forget the old script... --- run_pmo_exp.sh | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 run_pmo_exp.sh diff --git a/run_pmo_exp.sh b/run_pmo_exp.sh new file mode 100755 index 0000000..0414eb1 --- /dev/null +++ b/run_pmo_exp.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +# Jupiter has 8K L1, 512K L2, and 2048K L3. +# in kilobytes +# WSS="4 8 64 128 256 512 1024 2048 4096" + + +WSS="4 8 16 32 64 128 256 512 1024 2048 3072 4096 8192 12288" + + +WCYCLE="0 1 2 4 16 64 128" + +LENGTH=4000 +SAMPLES=5000 + +PIDS="" + +function bgwork { + /home/bbb/dev/tasks/memthrash & + PIDS="$PIDS $!" +} + +CPUS=24 + +#for x in `seq 1 $CPUS` +#do +# bgwork +#done + +sleep 1 + +for S in $WSS +do + for W in $WCYCLE + do + echo "----" + date + echo "running wss=$S with wcycle=$W..." + /home/bbb/dev/liblitmus2010/cache_cost -n -m $CPUS -y 50000 -l $LENGTH -c $SAMPLES -s $S -w $W + done +done + +kill $PIDS -- cgit v1.2.2