From: "Bob (Robert) McMahon" <rmcmahon@broadcom.com>
To: "'toke@toke.dk'" <toke@toke.dk>
Cc: "'make-wifi-fast@lists.bufferbloat.net'"
<make-wifi-fast@lists.bufferbloat.net>
Subject: Re: [Make-wifi-fast] iperf enhancements in 2.0.8
Date: Wed, 21 Oct 2015 00:06:08 +0000 [thread overview]
Message-ID: <CCF12E84D46F914D86B3F9C1BC40E7991E5C8F2A@SJEXCHMB05.corp.ad.broadcom.com> (raw)
In-Reply-To: <CCF12E84D46F914D86B3F9C1BC40E7991E5BC147@SJEXCHMB05.corp.ad.broadcom.com>
Hi Toke,
I made a few changes to your proposal in order to preserve backwards compatibility as well as used clock_gettime() vs gettimeofday() when available.
Diff set is:
http://sourceforge.net/p/iperf2/code/ci/aa548905fc61300da0bd1705a4ed8366e9ddf084/
One can get the millisecond timestamps in the CSV two ways
1) use the -e option (for enhanced reporting)
2) use a value of less than 0.5 seconds for -i which enables enhanced reports without requiring -e (previous iperf verisons don't support faster than 0.5 sec so it's assumed a user setting it faster will also want enhanced reports)
For a 2.0.9 release, I plan to add all the new stats to CSV reporting as well as improve the udp packet accounting. Sub grouping (shewart's and cusum control charts) and inline mean shift detection support is also under consideration.
https://en.wikipedia.org/wiki/Mean_shift
Please do let me know if there are other things that could be useful. Making wi-fi fast and getting rid of bloat is a good thing for the networking industry to accomplish :)
Thanks,
Bob
-----Original Message-----
From: Bob (Robert) McMahon
Sent: Friday, October 16, 2015 9:03 AM
To: toke@toke.dk
Cc: make-wifi-fast@lists.bufferbloat.net
Subject: RE: [Make-wifi-fast] iperf enhancements in 2.0.8
Sure, will do. I'll apply the below diff, test it, and then commit. Thanks for the diff.
Bob
-----Original Message-----
From: toke@toke.dk [mailto:toke@toke.dk]
Sent: Friday, October 16, 2015 1:53 AM
To: Bob (Robert) McMahon
Cc: make-wifi-fast@lists.bufferbloat.net
Subject: Re: [Make-wifi-fast] iperf enhancements in 2.0.8
"Bob (Robert) McMahon" <rmcmahon@broadcom.com> writes:
> Just an FYI for those who might be interested. We added RTT and CWND
> samples in iperf 2.0.8 for the TCP transmitter (iperf client) as well
> as UDP mean/min/max/stdev in the iperf server (assumes the clocks are
> synched.) Also, much faster sampling is supported. These may be
> helpful to those trying to improve wi-fi performance. To get the
> output one needs to use the –e option. Also, RTT/CWND is linux only.
> Apple is evaluating the change set and *may* ship it with future
> phones and Mac OS X systems.
Hi Bob
Any chance of getting the below patch into Iperf? Or in general, getting sub-second resolution on the timestamps output in CSV mode? Would make it easier to integrate Iperf into Flent tests (where the timestamps are used to match the output with other simultaneous test tools).
-Toke
--- a/src/ReportCSV.c 2007-08-29 23:57:27.000000000 +0200
+++ b/src/ReportCSV.c 2012-10-17 15:54:46.516986280 +0200
@@ -149,9 +149,8 @@
}
void CSV_timestamp( char *timestamp, int length ) {
- time_t times;
- struct tm *timest;
- times = time( NULL );
- timest = localtime( × );
- strftime( timestamp, length,"%Y%m%d%H%M%S", timest );
+ struct timeval tv;
+ gettimeofday(&tv, NULL);
+ snprintf(timestamp, length, "%lu.%06lu",
+ (unsigned long)tv.tv_sec, (unsigned long)tv.tv_usec);
}
next prev parent reply other threads:[~2015-10-21 0:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-16 4:19 Bob (Robert) McMahon
2015-10-16 8:52 ` Toke Høiland-Jørgensen
2015-10-16 16:03 ` Bob (Robert) McMahon
2015-10-21 0:06 ` Bob (Robert) McMahon [this message]
2015-10-21 11:37 ` Toke Høiland-Jørgensen
2015-10-21 22:19 ` Bob (Robert) McMahon
2015-10-26 16:15 ` Toke Høiland-Jørgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/make-wifi-fast.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CCF12E84D46F914D86B3F9C1BC40E7991E5C8F2A@SJEXCHMB05.corp.ad.broadcom.com \
--to=rmcmahon@broadcom.com \
--cc=make-wifi-fast@lists.bufferbloat.net \
--cc=toke@toke.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox