AnsweredAssumed Answered

iperf -r does not work

Question asked by Aaronwu Employee on Sep 7, 2011
Latest reply on Oct 12, 2011 by Aaronwu

Gilles Ganault (FRANCE)

 

Message:

102129

Hello
On uClinux 2010, I wanted to try iperf (2.0.4 from 7 Apr 2008) to  check how well the dm9000 Ethernet port worked.
When using the "-r" ("reverse") option so that the uClinux client  would send data to the workstation, and then reverse and start receiving  data, it doesn't work:
=========== workstation# iperf -s -m
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.0.3 port 5001 connected with 192.168.0.9 port  38232
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-30.0 sec   134 MBytes  37.5 Mbits/sec
[  4] MSS size 1448 bytes (MTU 1500 bytes, ethernet)
------------------------------------------------------------
Client connecting to 192.168.0.9, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  4] local 192.168.0.3 port 36731 connected with 192.168.0.9 port  5001
=========== appliance# iperf -c workstation -t 30 -i 1 -r
...
[ ID] Interval       Transfer     Bandwidth
[  6] 27.0-28.0 sec  4.47 MBytes  37.5 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  6] 28.0-29.0 sec  4.48 MBytes  37.6 Mbits/sec
Waiting for server threads to complete. Interrupt again to force  quit.
[ ID] Interval       Transfer     Bandwidth
[  6] 29.0-30.0 sec  4.47 MBytes  37.5 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  6]  0.0-30.0 sec    134 MBytes  37.5 Mbits/sec
root:~>
===========
Apparently, the iperf client on uClinux is unable to start  receiving data from the workstation.
Has someone experienced this too?
Thank you.

Outcomes