From 41c41d33c617d60a81254e1f92aa3d0dc0fbeb50 Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Mon, 21 Nov 2011 11:13:01 +0100 Subject: Moving scripts. --- scripts/test-memory.sh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 scripts/test-memory.sh (limited to 'scripts') 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 + -- cgit v1.2.3