diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-09 18:19:12 -0500 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2010-11-09 18:19:12 -0500 |
commit | eb4bf9043ada8d35a7524fabfd6fada986cbe5c8 (patch) | |
tree | 477d032348789ccfdd57ecd289b4bd5b5023b4b7 | |
parent | 169bf0f2fe1ea4b733e45efb544b650f0787e0ca (diff) |
Let's not forget the old script...wip-bbb-cache-test
-rwxr-xr-x | run_pmo_exp.sh | 43 |
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 | |||
8 | WSS="4 8 16 32 64 128 256 512 1024 2048 3072 4096 8192 12288" | ||
9 | |||
10 | |||
11 | WCYCLE="0 1 2 4 16 64 128" | ||
12 | |||
13 | LENGTH=4000 | ||
14 | SAMPLES=5000 | ||
15 | |||
16 | PIDS="" | ||
17 | |||
18 | function bgwork { | ||
19 | /home/bbb/dev/tasks/memthrash & | ||
20 | PIDS="$PIDS $!" | ||
21 | } | ||
22 | |||
23 | CPUS=24 | ||
24 | |||
25 | #for x in `seq 1 $CPUS` | ||
26 | #do | ||
27 | # bgwork | ||
28 | #done | ||
29 | |||
30 | sleep 1 | ||
31 | |||
32 | for S in $WSS | ||
33 | do | ||
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 | ||
41 | done | ||
42 | |||
43 | kill $PIDS | ||