aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-09 18:19:12 -0500
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-09 18:19:12 -0500
commiteb4bf9043ada8d35a7524fabfd6fada986cbe5c8 (patch)
tree477d032348789ccfdd57ecd289b4bd5b5023b4b7
parent169bf0f2fe1ea4b733e45efb544b650f0787e0ca (diff)
Let's not forget the old script...wip-bbb-cache-test
-rwxr-xr-xrun_pmo_exp.sh43
1 files changed, 43 insertions, 0 deletions
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 @@
1#!/bin/bash
2
3# Jupiter has 8K L1, 512K L2, and 2048K L3.
4# in kilobytes
5# WSS="4 8 64 128 256 512 1024 2048 4096"
6
7
8WSS="4 8 16 32 64 128 256 512 1024 2048 3072 4096 8192 12288"
9
10
11WCYCLE="0 1 2 4 16 64 128"
12
13LENGTH=4000
14SAMPLES=5000
15
16PIDS=""
17
18function bgwork {
19 /home/bbb/dev/tasks/memthrash &
20 PIDS="$PIDS $!"
21}
22
23CPUS=24
24
25#for x in `seq 1 $CPUS`
26#do
27# bgwork
28#done
29
30sleep 1
31
32for S in $WSS
33do
34 for W in $WCYCLE
35 do
36 echo "----"
37 date
38 echo "running wss=$S with wcycle=$W..."
39 /home/bbb/dev/liblitmus2010/cache_cost -n -m $CPUS -y 50000 -l $LENGTH -c $SAMPLES -s $S -w $W
40 done
41done
42
43kill $PIDS