iperf -r does not work

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.
  • Similar operations between two ubuntu X86  PCs returns the same result:

    iperf -s -m
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 85.3 KByte (default)
    ------------------------------------------------------------
    [  4] local 10.99.29.99 port 5001 connected with 10.99.22.118 port 34793
    [ ID] Interval       Transfer     Bandwidth
    [  4]  0.0-10.0 sec    113 MBytes  94.1 Mbits/sec
    [  4] MSS size 1448 bytes (MTU 1500 bytes, ethernet)

    Croot@aaron-desktop:/home/aaron/temp# iperf -c 10.99.29.99 -t 10 -i 1  -r
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 85.3 KByte (default)
    ------------------------------------------------------------
    ------------------------------------------------------------
    Client connecting to 10.99.29.99, TCP port 5001
    TCP window size:   138 KByte (default)
    ------------------------------------------------------------
    [  5] local 10.99.22.118 port 34793 connected with 10.99.29.99 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [  5]  0.0- 1.0 sec  11.4 MBytes  95.9 Mbits/sec
    [  5]  1.0- 2.0 sec  11.3 MBytes  94.9 Mbits/sec
    [  5]  2.0- 3.0 sec  11.4 MBytes  95.4 Mbits/sec
    [  5]  3.0- 4.0 sec  11.2 MBytes  93.8 Mbits/sec
    [  5]  4.0- 5.0 sec  11.2 MBytes  93.8 Mbits/sec
    [  5]  5.0- 6.0 sec  11.2 MBytes  94.3 Mbits/sec
    [  5]  6.0- 7.0 sec  11.2 MBytes  93.8 Mbits/sec
    [  5]  7.0- 8.0 sec  11.4 MBytes  95.4 Mbits/sec
    [  5]  8.0- 9.0 sec  11.2 MBytes  93.8 Mbits/sec
    Waiting for server threads to complete. Interrupt again to force quit.
    [  5]  9.0-10.0 sec  11.2 MBytes  93.8 Mbits/sec
    [  5]  0.0-10.0 sec    113 MBytes  94.4 Mbits/sec

  • 0
    •  Analog Employees 
    on Apr 29, 2019 10:36 AM
    This question has been closed by the EZ team and is assumed answered.