From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: "Bob \(Robert\) McMahon" <rmcmahon@broadcom.com>
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: Fri, 16 Oct 2015 10:52:48 +0200 [thread overview]
Message-ID: <87wpunyz33.fsf@toke.dk> (raw)
In-Reply-To: <CCF12E84D46F914D86B3F9C1BC40E7991E5BB067@SJEXCHMB05.corp.ad.broadcom.com> (Bob McMahon's message of "Fri, 16 Oct 2015 04:19:56 +0000")
"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-16 8:52 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 [this message]
2015-10-16 16:03 ` Bob (Robert) McMahon
2015-10-21 0:06 ` Bob (Robert) McMahon
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=87wpunyz33.fsf@toke.dk \
--to=toke@toke.dk \
--cc=make-wifi-fast@lists.bufferbloat.net \
--cc=rmcmahon@broadcom.com \
/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