[netperf-dev] netperf2 commit notice r98 - in trunk: . src
raj at netperf.org
raj at netperf.org
Thu Feb 15 15:21:52 PST 2007
Author: raj
Date: 2007-02-15 15:21:47 -0800 (Thu, 15 Feb 2007)
New Revision: 98
Modified:
trunk/AUTHORS
trunk/README.aix
trunk/Release_Notes
trunk/src/nettest_bsd.c
Log:
still a few more things before release
Modified: trunk/AUTHORS
===================================================================
--- trunk/AUTHORS 2007-02-15 00:22:33 UTC (rev 97)
+++ trunk/AUTHORS 2007-02-15 23:21:47 UTC (rev 98)
@@ -191,4 +191,7 @@
Fixes for buffer filling.
Gisle Vanem
-Fixes for Windows compilation under MingW/gcc.
\ No newline at end of file
+Fixes for Windows compilation under MingW/gcc.
+
+Scott Weitzenkamp
+Patches to enable demo mode in the UDP_STREAM test
\ No newline at end of file
Modified: trunk/README.aix
===================================================================
--- trunk/README.aix 2007-02-15 00:22:33 UTC (rev 97)
+++ trunk/README.aix 2007-02-15 23:21:47 UTC (rev 98)
@@ -3,11 +3,20 @@
While it _should_ not be necessary in the release bits, the rc bits
for netperf 2.4.0 required:
- configure may need:
+ configure _may_ need:
CFLAGS="-qcpluscmt -lperfstat"
until such time as Rick Jones can figure-out or be told how to
automagically add those using the configure script (hint hint :)
-The release bits should be OK without the above.
\ No newline at end of file
+The release bits should be OK without the above. Depending on the
+name used to invoke the compiler, the -qmumble option may be implicit.
+
+AIX include files have a VERY unfortuneate set of #define's in them
+for phrases network oriented programs are QUITE likely to have in
+their source - "rem_addr" and "rem_size" A "cousin" of the Netperf
+Contributing Editor reports this interferes with --enable-dlpi
+compilation and that it was also a problem for MySQL compiltion.
+While we await IBM's APAR with bated breath, netperf has been kludged
+to workaround this bug in IBM's include files.
Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes 2007-02-15 00:22:33 UTC (rev 97)
+++ trunk/Release_Notes 2007-02-15 23:21:47 UTC (rev 98)
@@ -2,6 +2,9 @@
Things changed in this release:
+*) The UDP_STREAM test includes --enable-demo support, courtesy of
+ patches from Scott Weitzenkamp.
+
*) The nettest_dns.* files have been removed from the release and the
repository. Those wishing to perform DNS server tests should
migrate to netperf4 which has better support for DNS test.
Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c 2007-02-15 00:22:33 UTC (rev 97)
+++ trunk/src/nettest_bsd.c 2007-02-15 23:21:47 UTC (rev 98)
@@ -5824,6 +5824,10 @@
remote_cpu_rate = udp_stream_response->cpu_rate;
}
+#ifdef WANT_DEMO
+ DEMO_STREAM_SETUP(lss_size,rsr_size)
+#endif
+
/* We "connect" up to the remote post to allow is to use the send */
/* call instead of the sendto call. Presumeably, this is a little */
/* simpler, and a little more efficient. I think that it also means */
@@ -5864,7 +5868,13 @@
#ifdef WANT_INTERVALS
INTERVALS_INIT();
#endif /* WANT_INTERVALS */
-
+
+#ifdef WANT_DEMO
+ if (demo_mode) {
+ HIST_timestamp(demo_one_ptr);
+ }
+#endif
+
/* Send datagrams like there was no tomorrow. at somepoint it might */
/* be nice to set this up so that a quantity of bytes could be sent, */
/* but we still need some sort of end of test trigger on the receive */
@@ -5933,6 +5943,10 @@
}
#endif /* WANT_HISTOGRAM */
+#ifdef WANT_DEMO
+ DEMO_STREAM_INTERVAL(send_size)
+#endif
+
#ifdef WANT_INTERVALS
INTERVALS_WAIT();
#endif /* WANT_INTERVALS */
More information about the netperf-dev
mailing list