esnet/iperf

Mismatch between sent and received data size

Open

#382 opened on Mar 10, 2016

View on GitHub
 (5 comments) (2 reactions) (0 assignees)C (4,946 stars) (1,083 forks)batch import
Help Wantedbugbug:test-data

Description

I'm running iPerf 3.1.2 on 2 Ubuntu 14.04 machines.

If I run "iperf3 -c xx.xx.xx.xx -n 1M" because I only want to send around 1MB of data, on the receiver end, only around 350KB is received.

When I use wireshark to capture the packets, I can see that after around 350KB of data is received, the receiver (i.e., iperf server) sends a TCP RST to the sender and refuses to accept more data.

Is there some reason that iPerf behave this way? (maybe I missed something)

Contributor guide