[netperf-dev] netperf2 commit notice r556 - in trunk: . doc/examples src
raj at netperf.org
raj at netperf.org
Tue Apr 3 11:12:51 PDT 2012
Author: raj
Date: 2012-04-03 11:12:51 -0700 (Tue, 03 Apr 2012)
New Revision: 556
Modified:
trunk/AUTHORS
trunk/Release_Notes
trunk/doc/examples/bloat.sh
trunk/src/nettest_unix.c
Log:
teach the nettest_unix tests that negative one is the value that means take the system default socket buffer sizes rather than zero
Modified: trunk/AUTHORS
===================================================================
--- trunk/AUTHORS 2012-04-03 17:51:16 UTC (rev 555)
+++ trunk/AUTHORS 2012-04-03 18:12:51 UTC (rev 556)
@@ -279,4 +279,6 @@
Shachar Raindel - a patch to bring the "get linux to emit ENOBUFS"
functionality from classic netperf tests to the omni tests.
-Chema Gonzalez - fixes for some assorted warnings.
\ No newline at end of file
+Chema Gonzalez - fixes for some assorted warnings.
+
+Dave Taht - changes for symbolic handling of TOS values
\ No newline at end of file
Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes 2012-04-03 17:51:16 UTC (rev 555)
+++ trunk/Release_Notes 2012-04-03 18:12:51 UTC (rev 556)
@@ -1,5 +1,12 @@
These are the Release Notes for post Revision 2.5.0 top-of-trunk netperf:
+*) 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.
+
+*) Include a patch from Dave Taht to enable symbolic manipulation of
+ IP_TOS values.
+
*) Include a patch from Sachar Raindel to enable the omni tests to get
ENOBUFS under Linux when the socket buffer is larger than the tx
queue of the egress interface. This will help preclude netperf's
Modified: trunk/doc/examples/bloat.sh
===================================================================
--- trunk/doc/examples/bloat.sh 2012-04-03 17:51:16 UTC (rev 555)
+++ trunk/doc/examples/bloat.sh 2012-04-03 18:12:51 UTC (rev 556)
@@ -51,8 +51,8 @@
# now fill it
awk -v rrdtool=$RRDTOOL '($1 == "Interim"){printf("%s update netperf_rr.rrd %.3f:%f\n",rrdtool,$10,$3)}' netperf_rr.out | sh
-# now graph it. if you change the runtimes you should probably change
-# the width of the chart via the -w option
+# now graph it. we want to make sure the chart is at least 800 pixels
+# wide, and has enough pixels for every data point
WIDTH=$LENGTH
if [ $WIDTH -lt 800 ]
@@ -72,4 +72,5 @@
CDEF:latency=1.0,trans,/ \
LINE2:latency#00FF0080:Latency \
VRULE:${STREAM_START}#FF0000:"TCP_STREAM start" \
- VRULE:${STREAM_STOP}#000000:"TCP_STREAM stop"
+ VRULE:${STREAM_STOP}#000000:"TCP_STREAM stop" \
+ --x-grid SECOND:10:SECOND:60:SECOND:60:0:%X
Modified: trunk/src/nettest_unix.c
===================================================================
--- trunk/src/nettest_unix.c 2012-04-03 17:51:16 UTC (rev 555)
+++ trunk/src/nettest_unix.c 2012-04-03 18:12:51 UTC (rev 556)
@@ -121,8 +121,8 @@
{
rss_size = 0;
rsr_size = 0;
- lss_size_req = 0;
- lsr_size_req = 0;
+ lss_size_req = -1;
+ lsr_size_req = -1;
lss_size = 0;
lsr_size = 0;
req_size = 1;
More information about the netperf-dev
mailing list