[Assorted-commits] SF.net SVN: assorted: [633] numa-bench/trunk/src/chew-tile.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-03-17 22:04:55
|
Revision: 633 http://assorted.svn.sourceforge.net/assorted/?rev=633&view=rev Author: yangzhang Date: 2008-03-17 15:04:55 -0700 (Mon, 17 Mar 2008) Log Message: ----------- added chew-tile Added Paths: ----------- numa-bench/trunk/src/chew-tile.bash Copied: numa-bench/trunk/src/chew-tile.bash (from rev 624, numa-bench/trunk/src/chew.bash) =================================================================== --- numa-bench/trunk/src/chew-tile.bash (rev 0) +++ numa-bench/trunk/src/chew-tile.bash 2008-03-17 22:04:55 UTC (rev 633) @@ -0,0 +1,71 @@ +#!/usr/bin/env bash + +set -o errexit -o nounset + +reps=1 + +#make -s chew-dbg +make -s out/chew + +run() { + for ((i = 0; i < reps; i++)) + do tile-monitor --batch-mode --pci --upload out/chew chew --run - chew "$@" - + done +} + +K=000 M=000000 G=000000000 +KB=000 MB=000000 GB=000000000 + +# ncpus size opcount nreps shuffle par pin local write cross rrnodes nnodes ncpus + +if true ; then + +#echo writes +#run 64 100$MB 10$M 1 0 0 1 1 1 0 1 4 64 +#run 64 100$MB 500$K 1 1 0 1 1 1 0 1 4 64 +#run 64 100$MB 10$M 1 0 0 1 0 1 0 1 4 64 +#run 64 100$MB 500$K 1 1 0 1 0 1 0 1 4 64 +# +#echo reads +#run 64 100$MB 500$K 1 0 0 1 0 0 0 1 4 64 +#run 64 100$MB 500$K 1 1 0 1 0 0 0 1 4 64 + +#for n in 1 16 32 48 64 ; do +for n in 4 8 12 20 24 28 36 40 44 52 56 60 ; do + echo par +# ncpus size opcount nreps shuffle par pin local write cross rrnodes nnodes ncpus + run $n $((1$GB/n)) 500$K 1 0 1 1 0 0 0 1 4 64 + run $n $((1$GB/n)) 500$K 1 1 1 1 0 0 0 1 4 64 + run $n $((1$GB/n)) 500$K 1 0 1 1 1 0 0 1 4 64 + run $n $((1$GB/n)) 500$K 1 1 1 1 1 0 0 1 4 64 + run $n $((1$GB/n)) 500$K 1 0 1 1 0 1 0 1 4 64 + run $n $((1$GB/n)) 500$K 1 1 1 1 0 1 0 1 4 64 + run $n $((1$GB/n)) 500$K 1 0 1 1 1 1 0 1 4 64 + run $n $((1$GB/n)) 500$K 1 1 1 1 1 1 0 1 4 64 + + #echo cross + #run $n 1000$MB 1$M 1 0 1 1 0 0 1 1 1 64 + #run $n 1000$MB 1$M 1 1 1 1 0 0 1 1 1 64 + #run $n 1000$MB 1$M 1 0 1 1 0 1 1 1 1 64 + #run $n 1000$MB 1$M 1 1 1 1 0 1 1 1 1 64 +done + +else + +#run 1 1000$MB 10$M 1 1 1 1 0 1 0 1 4 16 +#run 2 1000$MB 10$M 1 1 1 1 0 1 0 1 4 16 +#run 3 1000$MB 10$M 1 1 1 1 0 1 0 1 4 16 +#run 4 1000$MB 10$M 1 1 1 1 0 1 0 1 4 16 +#run 8 1000$MB 10$M 1 1 1 1 0 1 0 1 4 16 +#run 12 1000$MB 10$M 1 1 1 1 0 1 0 1 4 16 +#run 16 1000$MB 10$M 1 1 1 1 0 1 0 1 4 16 + +run 1 1000$MB 10$M 1 1 1 1 0 0 0 1 4 16 +#run 2 1000$MB 10$M 1 1 1 1 0 0 0 1 4 16 +#run 3 1000$MB 10$M 1 1 1 1 0 0 0 1 4 16 +#run 4 1000$MB 10$M 1 1 1 1 0 0 0 1 4 16 +run 8 1000$MB 10$M 1 1 1 1 0 0 0 1 4 16 +run 12 1000$MB 10$M 1 1 1 1 0 0 0 1 4 16 +run 16 1000$MB 10$M 1 1 1 1 0 0 0 1 4 16 + +fi This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |