[Assorted-commits] SF.net SVN: assorted: [412] numa-bench/trunk/src/malloc.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-14 05:07:52
|
Revision: 412 http://assorted.svn.sourceforge.net/assorted/?rev=412&view=rev Author: yangzhang Date: 2008-02-13 21:07:52 -0800 (Wed, 13 Feb 2008) Log Message: ----------- thickened the test driver Modified Paths: -------------- numa-bench/trunk/src/malloc.bash Modified: numa-bench/trunk/src/malloc.bash =================================================================== --- numa-bench/trunk/src/malloc.bash 2008-02-14 03:48:18 UTC (rev 411) +++ numa-bench/trunk/src/malloc.bash 2008-02-14 05:07:52 UTC (rev 412) @@ -5,7 +5,9 @@ make -s malloc function run { - ./malloc "$@" + for i in {1..3} + do ./malloc "$@" + done } KB=000 MB=000000 GB=000000000 @@ -22,15 +24,16 @@ run 16 1000$MB 1 0 0 1 0 0 0 run 16 100$MB 1 1 0 1 0 0 0 -echo par -run 16 10$MB 1 0 1 1 0 1 0 -run 16 10$MB 1 1 1 1 0 1 0 -run 16 10$MB 1 0 1 1 1 1 0 -run 16 10$MB 1 1 1 1 1 1 0 +for n in 1 4 8 12 16 ; do + echo par + run $n 10$MB 1 0 1 1 0 1 0 + run $n 10$MB 1 1 1 1 0 1 0 + run $n 10$MB 1 0 1 1 1 1 0 + run $n 10$MB 1 1 1 1 1 1 0 -echo cross -run 16 10$MB 1 0 1 1 0 0 1 -run 16 10$MB 1 1 1 1 0 0 1 -run 16 10$MB 1 0 1 1 0 1 1 -run 16 10$MB 1 1 1 1 0 1 1 - + echo cross + run $n 10$MB 1 0 1 1 0 0 1 + run $n 10$MB 1 1 1 1 0 0 1 + run $n 10$MB 1 0 1 1 0 1 1 + run $n 10$MB 1 1 1 1 0 1 1 +done This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |