"connect failed: Connection refused" Reported with Option '-P 8 -d'
A means to measure network responsiveness and throughput
Brought to you by:
rjmcmahon
Recently I am working on Iperf to collect performance data on X86 platform and ARMv8 platform. When I use option '-P xx -d' to run dualtest with multiple client threads, I get error message'connect failed: Connection refused'.
I guess it is caused by exitting of the listener or server in the client side. So I tried starting a server in demon mode before launching command 'iperf -c host_ip -P xx -d'. The error message disappears after that. But I think the original usage doesn't need start iperf server on both side of the testing machine. Is my understanding correct?
BTW, the error message can be found on both X86 and ARMv8. I also tried version 2.0.5 and 2.0.9. Both of them have this issue.
There seems to be some bugs in this area of the code. I'll be testing and debugging it within the next two weeks. Hopefully I'll have these issues understood and fixed by then.
Bob