diff options
author | Tim Besard <tim.besard@gmail.com> | 2011-11-21 11:13:01 +0100 |
---|---|---|
committer | Tim Besard <tim.besard@gmail.com> | 2011-11-21 11:13:01 +0100 |
commit | 41c41d33c617d60a81254e1f92aa3d0dc0fbeb50 (patch) | |
tree | a4f88c2c5e78b3e38c17453de329859147e37bd3 /scripts | |
parent | a6b79ac2ee91f247808116ba4dcea0b60bd8c8c1 (diff) |
Moving scripts.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test-memory.sh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/scripts/test-memory.sh b/scripts/test-memory.sh new file mode 100755 index 0000000..011e155 --- /dev/null +++ b/scripts/test-memory.sh @@ -0,0 +1,38 @@ +#!/bin/bash + +pgm=./chase + +b=(8k 16k 24k 32k 48k 64k 96k 128k 192k 256k 384k 512k 768k 1m 1536k 2m 3m 4m 6m 8m 12m 16m) +c=5 + +date +uname -a +echo +$pgm -o hdr +for page_size in 4k 8k 16k +do + for threads in 1 2 + do + for refs in 1 2 4 + do + for offset in 0 1 + do + for access in random "forward 1" + do + for ((i=0; $i < ${#b[*]}; i++)) + do + for ((j=0; $j < $c; j++)) + do + $pgm -p $page_size -t $threads -r $refs -n add $offset -a $access -c ${b[$i]} -s 1.0 -o csv + done + done + done + done + done + done +done +echo +cat /proc/cpuinfo +cat /proc/meminfo +date + |