#!/bin/sh
# run PostMark, a file system benchmark
# http://www.netapp.com/tech_library/3022.html

for iosize in 1024 2048 4096 8192
do
    for num in 1000 20000
    do
        for tran in 50000 100000
        do
            cmds="set number $num
set read $iosize
set write $iosize
set transactions $tran
set size 10000 20000
set location /space/tmp
show
run
quit"

	    echo '----------------------------------------------'
	    echo "$cmds" | ./postmark
        done
    done
done

exit 0
