[netperf-dev] netperf2 commit notice r577 - in trunk: . doc/examples

raj at netperf.org raj at netperf.org
Mon May 14 15:57:35 PDT 2012


Author: raj
Date: 2012-05-14 15:57:35 -0700 (Mon, 14 May 2012)
New Revision: 577

Modified:
   trunk/Release_Notes
   trunk/doc/examples/post_proc.sh
Log:
make post_proc.sh invoke bash explicitly since things like sourcing the vrules file is not going to work with all shells

Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes	2012-05-12 01:14:07 UTC (rev 576)
+++ trunk/Release_Notes	2012-05-14 22:57:35 UTC (rev 577)
@@ -1,5 +1,12 @@
 These are the Release Notes for post Revision 2.5.0 top-of-trunk netperf:
 
+*) When in demo mode (./configure --enable-demo and a global -D
+   <interval> option netperf will make sure it emits "one last
+   interval result" when the test is terminated.  This should assist
+   when post-processing results through the likes of rrdtool when
+   there is a slow-down in the performance just at the end that would
+   have stretched the interval to beyond the test termination.
+
 *) A fix to have the AF_UNIX tests realize that the value for "take
    the system default" socket buffer size became -1 years ago.  Bug
    found by Eric Dumazet.

Modified: trunk/doc/examples/post_proc.sh
===================================================================
--- trunk/doc/examples/post_proc.sh	2012-05-12 01:14:07 UTC (rev 576)
+++ trunk/doc/examples/post_proc.sh	2012-05-14 22:57:35 UTC (rev 577)
@@ -1,4 +1,4 @@
-
+#!/bin/bash
 # find where to put the vertical lines
 awk -f vrules.awk $1 > vrules
 . ./vrules
@@ -12,7 +12,10 @@
 done
 # echo $VRULES
 
-rm kitsink
+if [ -f kitsink ]
+then
+  rm kitsink
+fi
 
 prefix=${1%.log}
 echo "Prefix is $prefix"
@@ -63,9 +66,9 @@
 # echo "MAX_INTERVAL $MAX_INTERVAL MIN_TIMESTAMP $MIN_TIMESTAMP MAX_TIMESTAMP $MAX_TIMESTAMP"
     LENGTH=`expr $MAX_TIMESTAMP - $MIN_TIMESTAMP`
     WIDTH=$LENGTH
-    if [ $WIDTH -lt 500 ]
+    if [ $WIDTH -lt 800 ]
     then
-	WIDTH=500
+	WIDTH=800
     fi
     SIZE="-w $WIDTH -h 400"
 



More information about the netperf-dev mailing list