[Assorted-commits] SF.net SVN: assorted: [402] numa-bench/trunk/src/malloc.bash
Brought to you by:
yangzhang
From: <yan...@us...> - 2008-02-13 07:58:35
|
Revision: 402 http://assorted.svn.sourceforge.net/assorted/?rev=402&view=rev Author: yangzhang Date: 2008-02-12 23:58:40 -0800 (Tue, 12 Feb 2008) Log Message: ----------- added malloc runner (out of date with malloc.cc) Added Paths: ----------- numa-bench/trunk/src/malloc.bash Added: numa-bench/trunk/src/malloc.bash =================================================================== --- numa-bench/trunk/src/malloc.bash (rev 0) +++ numa-bench/trunk/src/malloc.bash 2008-02-13 07:58:40 UTC (rev 402) @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +set -o errexit -o nounset + +function run { + ./malloc 16 $* +} + +#echo '--- 100MB * 1, seq ---' +#run 100000000 1 0 +# +#echo '--- 1GB * 1, seq ---' +#run 1000000000 1 0 +# +#echo '--- 100MB * 10, seq ---' +#run 100000000 10 0 + +echo '--- 100MB * 1, rand ---' +run 100000000 1 1 Property changes on: numa-bench/trunk/src/malloc.bash ___________________________________________________________________ Name: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |