Replies: 3 comments
-
@zergeii note that while the average network throughput is about 180Kbytes/sec (=1.44Mbits/sec per the server log), the client sent 22.5MB in the first second. It means that the system buffers, probably determined by the Window Size, can hold 22.5MB. The client stopped sending after 10 seconds as expected, but since it already sent 25MB, it would take about 140 seconds (25MB/180KB) to send the buffered data. This is probably the reason for what you see. To very that this is the case, try to reduce the window size in the client, using the |
Beta Was this translation helpful? Give feedback.
-
Thanks @davidBar-On. The one big hit at the start of the iperf always happens, does it mean that the client sees that it can send that much data but in reality the pipe allows lesser than that? Also there are times that the data sent is 0.0 kbits/sec. What does it mean? |
Beta Was this translation helpful? Give feedback.
-
@zergeii, did you try setting As I explained, the problem is probably the buffering at the client side which is much larger than what is reasonable for the pipe to the server. Another way to test if this is the case is to set test time to 10 second (the default, Regarding the times of 0.0 kbits/sec. This usually happens in your conditions with low throughput pipe to the server. Because the buffers at the client side are almost full, the client cannot send new packets until enough data was sent to the server. |
Beta Was this translation helpful? Give feedback.
-
NOTE: The iperf3 issue tracker is for registering bugs, enhancement
requests, or submissions of code. It is not a means for asking
questions about building or using iperf3. Those are best directed
towards the iperf3 mailing list at iperf-dev@googlegroups.com or
question sites such as Stack Overflow
(http://www.stackoverflow.com/). A list of frequently-asked questions
regarding iperf3 can be found at http://software.es.net/iperf/faq.html.
Context
Version of iperf3: 3.1.7
Hardware:
(Client) CentOS Machine deployed on Vmware Desktop (4vcpu,4GB ram)
(server) AWS EC2 Linux 2 machine (t2.micro)
Operating system (and distribution, if any): centOS 7
Please note: iperf3 is supported on Linux, FreeBSD, and macOS.
Support may be provided on a best-effort basis to other UNIX-like
platforms. We cannot provide support for building and/or running
iperf3 on Windows, iOS, or Android.
libraries, cross-compiling, etc.): running on a internet overlay prvate network slution
Please fill out one of the "Bug Report" or "Enhancement Request"
sections, as appropriate.
Bug Report
Expected Behavior:
Normal Iperf3 test that will run for ten seconds
Actual Behavior
Iperf3 on the client side will stop up to 9th second
Iperf3 on the server side will continue to process more than 10 seconds up to a certain point in time.
CLIENT SIDE:
SERVER Side:
Steps to Reproduce
Possible Solution
Please submit patches or code changes as a pull request.
Enhancement Request
Current behavior
Desired behavior
Implementation notes
If submitting a proposed implementation of an enhancement request,
please use the pull request mechanism.
Beta Was this translation helpful? Give feedback.
All reactions