Skip to content
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

Closed
openwrt-bot opened this issue Aug 20, 2016 · 18 comments
Closed

FS#105 - lantiq: high latency on adsl lines using pppo[ae] #6667

openwrt-bot opened this issue Aug 20, 2016 · 18 comments
Labels

Comments

@openwrt-bot
Copy link

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

@openwrt-bot
Copy link
Author

lynxis:

on 3.18 it's still slow (20kb/s) on rev47130

@openwrt-bot
Copy link
Author

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 :-)

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

nbd:

Please test if the issue still exists in the latest version

@openwrt-bot
Copy link
Author

andybotting:

Seems much better to me on ADSL

@openwrt-bot
Copy link
Author

shmully:

@andy, what hardware and which revision are you using, because I am still experiencing problems?

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

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

@openwrt-bot
Copy link
Author

lynxis:

@nbd: can you explain what changed or better which commit could do here any improvements?

@openwrt-bot
Copy link
Author

nbd:

No idea

@openwrt-bot
Copy link
Author

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.

@openwrt-bot
Copy link
Author

lynxis:

i've worked on the lantiq kgdboc support. k(g)db over serial is working now.
next task: fix ftrace on lantiq. #153

@openwrt-bot
Copy link
Author

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.
Even loading more complex luci web pages over https like firewall configuration page is very slow and loading takes many seconds (cca 1 configuration line per second).
Let's encrypt acme service is unable to verify my domain because of timeouts.

Guys, please help me to recover full speed access to my router.

@openwrt-bot
Copy link
Author

lynxis:

patch is prepared to be send to the ML

@openwrt-bot
Copy link
Author

blackie:

Thank you very much Alexander.
Looking forward to a new release which includes the fix.

@openwrt-bot
Copy link
Author

lynxis:

attached patch

@openwrt-bot
Copy link
Author

lynxis:

The patch has been merged. Waiting one week until I want to merge it into stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant