LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2020, 07:01 AM   #1
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Rep: Reputation: 133Reputation: 133
SSH typing delay - Slackware Current


I've got 2 new dell laptops running Slackware current generally using ssh to connect to my servers running Slackware 14.1 and everything is fine.

However this morning I connected "to" one the Slackware current laptops and upon logging in I noticed that there's a distinct delay in typing. It's not much, but noticeable.

SSH to a machine other other than one running Slackware Current is fine.

SSH (from) Laptop 1 - running Slackware Current (to) Laptop 2 - running Slackware Current - results in the same typing delay

Any Ideas?
 
Old 01-30-2020, 11:22 AM   #2
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
These systems are all on the same network subnet? I work remotely and commonly witness latency issues because of the distances. I never see latency issues on the home network where everything is on the same subnet and is local.

Edit: My memory is vague, but I remember weird latency issues with mc some years ago. I don't remember the root cause. I'm throwing out fuzzy guesses, but perhaps something to do with DNS or IPv6 or something like that. Perhaps something similar here. The latency is caused by some kind of lookup.

Have your tried SSH with lots of verbosity?

Last edited by upnort; 01-30-2020 at 11:41 AM.
 
Old 01-30-2020, 11:31 AM   #3
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 535

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
I have noticed this on my x270 lenovo ssh'ing into a Ryzen 5 box I built. After entering the session on the Ryzen box there is latency. I tried changing a bunch of SSHd options but nothing helped. It's not crippling just annoying..
 
Old 01-30-2020, 12:08 PM   #4
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by upnort View Post
These systems are all on the same network subnet?
Yea, they are and it's only when connected "to" slack-current

Quote:
After entering the session on the Ryzen box there is latency. I tried changing a bunch of SSHd options but nothing helped. It's not crippling just annoying..
Exactly... Very annoying
 
Old 01-30-2020, 01:03 PM   #5
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by upnort View Post
The latency is caused by some kind of lookup.

Have your tried SSH with lots of verbosity?
Yea compared the results between two connections from the same machine

1 - to a Slackware 14.1 box

1 - to a slack-current laptop

Other than expected differences (SSH version numbers, etc) there weren't any differences
 
Old 01-30-2020, 04:37 PM   #6
mishehu
Member
 
Registered: Aug 2014
Location: USA
Distribution: Slackware (where ::1 is), Centos, Debian
Posts: 106

Rep: Reputation: 158Reputation: 158
The only time I experience any delay on any of my systems that are on the same LAN segment is when one or both are wireless. The wired ones are without any delay at all. I am running -current, but I don't recall ever having delay within my LAN on wired-only connections. And even that delay that I have to/from wifi - it's typically < 100 ms.
 
Old 01-30-2020, 07:32 PM   #7
tramtrist
Member
 
Registered: Jul 2018
Location: Cincinnati USA
Distribution: Slackware
Posts: 535

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Can confirm my setup is wireless to wireless...
 
Old 01-30-2020, 07:35 PM   #8
mishehu
Member
 
Registered: Aug 2014
Location: USA
Distribution: Slackware (where ::1 is), Centos, Debian
Posts: 106

Rep: Reputation: 158Reputation: 158
How much latency would you say there is?
 
Old 01-30-2020, 07:44 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I have a wireless to wireless and have never seen any noticeable latency except for sometimes when I'm coming in from the internet. I have several different types of methods for ssh, all wireless (I don't currently have anything wired on my network. I have a 14.2 wireless machine, a -current wireless machine, Windows 10 running Ubuntu using Windows Subsystem for Linux wireless, and my Android phone using JuiceSSH both wireless and mobile data (my server is internet facing and I can ssh into it). I frequently use my Windows 10 laptop and Android phone to ssh into my 14.2 and -current machines. I'll also use my 14.2 machine to ssh into my -current machine, but I rarely use -current to ssh into anything else as it is mainly an htpc that is hooked up to my tv and I have kodi start up automatically and just use a remote to interact with kodi. It doesn't have a keyboard hooked up normally.
 
Old 01-31-2020, 01:41 AM   #10
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Testing
 
Old 01-31-2020, 02:30 AM   #11
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
This does appear to be related to wireless under Slackware Current

Wireless -Current / Wireless -Current
From -Current to -Current = Delayed typing

Wireless NON-Current / Wireless -Current
From NON-Current to -Current = Delayed typing
From -Current to NON-Current = No issue
From NON-Current to NON-Current = No issue

Wired NON-Current / Wireless -Current
From NON-Current to -Current = Delayed typing
From -Current to NON-Current = No issue
From NON-Current to NON-Current = No issue

Wired NON-Current / Wired -Current
From NON-Current to -Current = No issue
From -Current to NON-Current = No issue
From NON-Current to NON-Current = No issue

Wireless NON-Current / Wired -Current
From NON-Current to -Current = No issue
From -Current to NON-Current = No issue
From NON-Current to NON-Current = No issue

Wired -Current / Wired -Current
From -Current to -Current = No issue
 
Old 01-31-2020, 02:35 AM   #12
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by mishehu View Post
How much latency would you say there is?
It depends on how fast you type. If you hen peck you might not notice it.
It's enough to get on your nerves, but not enough to prevent you from getting anything accomplished
 
Old 01-31-2020, 03:10 AM   #13
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
I may have found the fix (or at least a patch) to the issue by turning "off" the power saving feature on my wireless adapter

If you're using Networkmanager create a file named "wifi-powersave-off.conf" under /etc/NetworkManager/conf.d/

open the file and add:

Code:
# File to be place under /etc/NetworkManager/conf.d
[connection]
# Values are 0 (use default), 1 (ignore/don't touch), 2 (disable) or 3 (enable).
wifi.powersave = 2
Save the changes and restart Networkmanager

Code:
/etc/rc.d/rc.networkmanager restart
So it's looking good, but if anyone could confirm it would be helpful
 
1 members found this post helpful.
Old 01-31-2020, 02:44 PM   #14
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161Reputation: 1161
Ah, the infamous wifi powersave. Good find!
 
Old 01-31-2020, 03:20 PM   #15
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Original Poster
Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by upnort View Post
Ah, the infamous wifi powersave. Good find!
Thanks, I'm just wishing I didn't waste 3 days chasing my tail tearing my SSH config apart

Because of the other systems, it didn't dawn on me it could be wireless related until it was mentioned as a possibility.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Typing unstable, text jumps, typing delay xubuntu18.04 dell Inspiron Billkram01@gmail.com Linux - Newbie 15 05-26-2019 11:38 AM
typing software or website to practise typing. bscho Linux - Software 5 10-25-2013 04:51 PM
typing Faster Typing Tutor Maurice Arthur Ubuntu 3 12-14-2011 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration