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
FS#105 - lantiq: high latency on adsl lines using pppo[ae] #6667
Comments
lynxis: on 3.18 it's still slow (20kb/s) on rev47130 |
None: Noticed & posted on the forum about this a while back: https://forum.openwrt.org/viewtopic.php?id=64591 The problem has been around a while :-) |
mkresin: @alexander The upload from LEDE r354 to wan (HTTP, IPv6) is fine with VDSL (ptm):
5.242.880 1,10M/s in 4,6s
Near to the theoretical maximum of my 10 MBit upload. |
nbd: Please test if the issue still exists in the latest version |
andybotting: Seems much better to me on ADSL |
shmully: @andy, what hardware and which revision are you using, because I am still experiencing problems? |
andybotting: I'm using ada6d9f (+ Enable SMP for XRX200 patch) on a TP-Link TD-W8970. My ADSL is slow, so the difference isn't quite so great, but by SSH connection to it from over the wan is now usable. Not great, but usable. |
jgettys: Did the lantiq driver get some bufferbloat debloating love? When I last looked at it maybe 3 years ago, it had 128 packets of buffering in its ring buffering. This can cause really large amounts of latency any time the link saturates. DSL needs something equivalent to the BQL algorithm used on ethernet to keep the ring buffer size no more than necessary for the bandwidth. Unfortunately, it was never feasible for me to go further in and try to fix it. |
andybotting: @samuel, looks like I am experiencing some latency issues connecting in via the WAN. Was had to notice before because my ADSL is slow |
lynxis: @nbd: can you explain what changed or better which commit could do here any improvements? |
nbd: No idea |
None: Is this similar to my experience reported https://forum.openwrt.org/viewtopic.php?id=64591 ? TL;DR - traffic through the router is fine, originating from router to 'internet' is severely rate limited. If so, I have a DGN3500 here and I may be able to ask a local ISP to put it on a test ADSL line....ssh access etc if it would help anyone. Unfortunately I upgraded to VDSL2 so can no longer use my own line for testing with the device. |
lynxis: i've worked on the lantiq kgdboc support. k(g)db over serial is working now. |
blackie: I have found this thread, seems to be related to my problem. The lag on SSH connection (every key pressed in the SSH session has noticeable lag about 500-1000 ms) makes typing very annoying. Guys, please help me to recover full speed access to my router. |
lynxis: patch is prepared to be send to the ML |
blackie: Thank you very much Alexander. |
lynxis: attached patch |
lynxis: The patch has been merged. Waiting one week until I want to merge it into stable. |
lynxis:
based on the thread
[LEDE-DEV] [OpenWrt-Devel] latency on PPPoA ADSL Annex A on using Lantiq
http://lists.infradead.org/pipermail/lede-dev/2016-August/002138.html
When using ssh onto the box via adsl, there is a high latency.
The last 3.18 version of lede works. Known good:
Known broken versions:
mkresin also has a patch for lantiq+4.0, which also has a high latency.
blogic mentioned linux commit 7424ce65065852bdf7a040bf2490da4a8fc4b464 [atm] switch vcc_sendmsg() to copy_from_iter() could be the issue.
Also an interesting side-effect. setup a uhttpd on the device and serve a file to the internet is very slow (using 4mb file random data). it only uploads 5kb/s
The text was updated successfully, but these errors were encountered: