[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Slow LAN on daughter's network using ssh



[resend with ASCII headers to please Debian mail servers]

Quoting Tom Browder (2019-10-19 18:07:51)
> At home I use ssh from my iPad to my local Debian Buster laptop with 
> no noticeable delay most of the time.
> 
> However, at my daughter’s house the same connection is SLOW.
> 
> On both LAN’s ssh access to servers on the WLAN is no problem.
> 
> Does anyone have a suggestion for fixing that?
> 
> She uses ATT’s DSL router for her LAN and I use Cox’s standard router 
> for mine. I have tried a reboot of her router and service is a bit 
> better, but it rapidly deteriorates.
> 
> Both our systems have separate 2.4 and 5 GHz networks. I use both at 
> home but but I am only using 5 GHz at her house.

Sounds like bufferbloat: https://en.wikipedia.org/wiki/Bufferbloat

More details here: 
https://www.bufferbloat.net/projects/bloat/wiki/What_can_I_do_about_Bufferbloat/

You can replace/add a gateway which uses CoDel algorithm for network 
queues.  Systemd enables this by default, but Debian systemd has that 
default reverted, so if you run Debian on that gateway router you can 
install package procps and add the following in file 
"/etc/sysctl.d/local-bufferbloat.conf":

  net.core.default_qdisc=fq_codel

If you don't have control over the gatewat router and don't want to add 
another layer of routing, then you cannot solve this.  But as a 
workaround for better coping with ssh through a bufferbloated network 
you can use mosh both at the server end and on your client systems.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: