Description
iperf 3.1.2
CentOS 6.4 x86_64
While testing with iperf3 blockcount (-k) option (similar behavior with bytes (-n) option), I see the following observations
-
Normal mode
Client: iperf3 -p 25000 -c <server_ip> -u -l 1370 -b 3m -k 2000
Server: iperf3 -p 25000 -s -i 1
Client sends ~2000 packets to the server irrespective of the packets lost in the network. Hence, even if server received only 1500 packets due to nw losses, the client stopped sending after transmitting 2000 packets. -
Reverse mode
Client: iperf3 -p 25000 -c <server_ip> -u -l 1370 -b 3m -k 2000 -R
Server: iperf3 -p 25000 -s -i 1
Server sends packets till the client receives ~2000 packets. Hence, if this is a lossy nw such that 25% packets are lost in transmission, then server effectively sends 2500 packets and client receives 2000 packets and only then the test ends.
Please clarify if this is the intended implementation.