single-threaded mode broken
A means to measure network responsiveness and throughput
Brought to you by:
rjmcmahon
When compiling with threads disabled, an iperf run is severely broken. To test configure with "--disable-threads", run "iperf -c (host) -i 1".
A patch for this has been languishing in the openwrt repo for 7 years:
https://dev.openwrt.org/changeset/14776/packages/net/iperf/patches/001-set-report-next-time-in-single-thread-mode.patch
The patch still applies to iperf 2.0.8, and stil fixes the problem. I've attached it to this bug report, please apply.
Thanks for reporting this and for the diff. We haven't been compile nor testing with single threaded mode. I'll do that soon and incorporate the diff.
Diff applied, tested and committed.