Date: Sat, 18 Jul 2009 13:04:18 GMT From: Zhao Shuai <zhaoshuai@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 166226 for review Message-ID: <200907181304.n6ID4Idk063998@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=166226 Change 166226 by zhaoshuai@zhaoshuai on 2009/07/18 13:03:22 adjust some parameters Affected files ... .. //depot/projects/soc2009/fifo/fifo_test/performance/runme.sh#4 edit Differences ... ==== //depot/projects/soc2009/fifo/fifo_test/performance/runme.sh#4 (text+ko) ==== @@ -7,7 +7,7 @@ fi echo -ne "\t" -for num_msg in 1 10 100 1000 10000 100000 +for num_msg in 100 1000 5000 10000 100000 do echo -ne "${num_msg}\t" done @@ -16,15 +16,15 @@ for msg_size in 64 128 256 512 1024 2048 4096 do echo -ne "${msg_size}B\t" - for num_msg in 1 10 100 1000 10000 100000 + for num_msg in 100 1000 5000 10000 100000 do sum=0 - for ((i = 0; i < 10; i++)) + for ((i = 0; i < 100; i++)) do time=`./benchmark $msg_size $num_msg` sum=$(($time + $sum)) done - avarage_time=$(($sum / 10)) + avarage_time=$(($sum / 100)) echo -ne "${avarage_time}us\t" done echo ""
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907181304.n6ID4Idk063998>