-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong TP reporting for long delay lines like xDSL uplink #910
Comments
I'm starting to look at this. I have partially reproduced the problem you're seeing. It would help a little bit if you can send me the command-line arguments you are using on the client and server side....I can sort of dig them out of the JSON output but having the actual arguments would be useful. My first guess is the problem is caused by a combination of: 1) the really slow 512kbps link speed and 2) the fairly large default send size used by TCP tests (128KB) and 3) trying to do 3 parallel streams. At that link speed, it takes about 2 seconds for to finish a send (yes it's chopped up into smaller TCP segments), and if you're doing 3 parallel streams there might very well be intervals where iperf3 doesn't actually record the sending or reception of a complete send. If you try something smaller, like (I was going to insert some output here to illustrate my point, but I have to figure out how to get it out of the VM I was testing on, sigh.) Note that iperf3 was originally designed for high-speed networks that are several orders of magnitude faster than the environment that you're testing, and so some adjustment of parameters might be necessary to get useful results. |
The log file shows that the test did not complete successfully. I regularly use iperf3 (with patches) on these kinds of links. I think this patch is relevant to this issue, but it was previously submitted and rejected as redundant. |
This is not our problem. We are missing data during the test. |
Ok then, good luck
…On Tue., 10 Sep. 2019, 19:17 Zbyněk Kocur, ***@***.***> wrote:
The log file shows that the test did not complete successfully.
I regularly use iperf3 (with patches) on these kinds of links. I think this
patch
<acooks@929f88a>
is relevant to this issue, but it was previously submitted and rejected
as redundant <#859>.
This is not our problem. We are missing data during the test.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#910?email_source=notifications&email_token=AADQJN623CM3XPKKD3MV2CLQI5Q4DA5CNFSM4IS4Q2R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6KNXDI#issuecomment-529849229>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADQJN5JOVK7QISKR6OL5HTQI5Q4DANCNFSM4IS4Q2RQ>
.
|
For our test and comparison between several network technologies we use the same parameters for server and client like:
Yes, what you describe will be the cause of this behavior. Is it possible to improve the bit rate calculation so that it can record the bit rate even at these parameters? RTT, CWND and retransmission work. Only the yhroughput has a problem.
TCP window size bellow 128k works. Communication graph with TCP window 64k - works Communication graph with wrong throughput results
|
@zokl: I think really the key here is to change the Hmmm. Now that I'm thinking about it, here are a couple other ideas. Another thing you could try is specifying a larger value for Also you can try (weirdly) reducing the TCP window size, because a burst of packets can get absorbed by the sender buffers on the client side. (This is a funny variant of the buffer bloat problem.) |
Hi Bruce, |
Hello Developers,
I would like to report an issue in measurement of real xDSL line. We try to measure uplink direction (512 kbps) but we obtain result without throughput, however RTT, CWIN and retransmission are colected. Throughput field is always printed, however only the first item has non zero value. All other values are equal to zero.
The example output follows:
iperf_dsl_issue.txt
We used iperf version 3.6 and 3.7. Both of them have the same problem.
The issue could be reproduced by TC with the following syntax:
tc qdisc add dev eth1 root tbf rate 512kbit burst 1540 limit 384k
The text was updated successfully, but these errors were encountered: