LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2023, 08:57 PM   #1
santvasu
LQ Newbie
 
Registered: Apr 2023
Posts: 3

Rep: Reputation: 0
variable ping time from my home router to 2 ubuntu boxes


Hello All

i have a home router (192.168.1.1) and 2 ubuntu boxes (192.168.1.135, HostA), (192.168.1.252, HostB)

When i ping from HostA(135) to HostB(252), the timings are consistent.
$ ping -c 10 192.168.1.252 (from 192.168.1.135)
rtt min/avg/max/mdev = 2.906/6.337/25.024/6.255 ms

When i ping from HostB(252) to HostA(135), the timings are highly variable.
$ ping -c 10 192.168.1.135 (from 192.168.1.252)
rtt min/avg/max/mdev = 4.195/1927.896/3961.778/1401.682 ms, pipe 4

i also pinged the machines from home router (192.168.1.1)
192.168.1.1 to Host A --> High variability
--- (HostA) 192.168.1.135 ping statistics ---
10 packets transmitted, 8 packets received, 20% packet loss
round-trip min/avg/max = 405.044/2463.074/4520.020 ms

192.168.1.1 to Host B --> Consistent
--- 192.168.1.252 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 1.820/2.804/6.582 ms


Machines details:
Host A (135) : intel-NUC (i7-11th Gen, 32GB RAM, Ubuntu 22.04.2 LTS)
Connected via Wi-Fi (5Ghz) to home router.
Host B (252) : lenovo-ideapad (i3-3rd Gen, 8GB RAM, Ubuntu 20.04.6 LTS)
Connected via Wi-Fi (2.4 Ghz) to home router.

Both hosts were rebooted fresh and both reading were taken multiple times.

Any pointers/suggestions will be highly appreciated.
thanks in advance
santhosh

Last edited by santvasu; 04-13-2023 at 09:00 PM.
 
Old 04-13-2023, 09:25 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,005

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Ping is kind of a bad tool to test timing I'd think. Use a upload and download of some file to see maybe.

Might look at arp -a to see if the reason for packets lost might be due to trying to find it. I'd think that in general when you have wild issues you have connection/connector/cable problems. Even things like nearby motors/lights.

Wifi is the worst I'd think. Get a wifi scanner on your computer or phone to see what all is on those frequencies.

Guess distance on 5G?

Could be an issue with a power setting or other advanced setting in router.

Last edited by jefro; 04-13-2023 at 09:30 PM.
 
1 members found this post helpful.
Old 04-14-2023, 04:41 AM   #3
santvasu
LQ Newbie
 
Registered: Apr 2023
Posts: 3

Original Poster
Rep: Reputation: 0
@jefro
Thank you for your suggestions, which prompted me to try 2.4GHz wifi.

When the system was connected to 5GHz wireless, the following oops messages were generated.(Attached:lq-2023-04-14-13-38-21.png)
And the ssh was very sluggish.. (scp gave 1.6MB/s for 457MB file )

Tried switching to 2.4GHz wireless. Now the ssh is not sluggish, scp gave 2.5MB/s for 457MB file
The kernel oops messages dont apprear.

And the ping times are better/somewhat consistent.

$ ping -c 10 192.168.1.135 (from 192.168.1.252)
--- 192.168.1.135 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9012ms
rtt min/avg/max/mdev = 3.363/42.095/161.836/49.865 ms

192.168.1.1 to Host A --> much better.
--- 192.168.1.135 ping statistics ---
10 packets transmitted, 10 packets received, 0% packet loss
round-trip min/avg/max = 2.841/21.471/85.200 ms


Machines details:
Host A (135) : intel-NUC (i7-11th Gen, 32GB RAM, Ubuntu 22.04.2 LTS)
Now Connected via Wi-Fi (2.4Ghz) to home router.
Host B (252) : lenovo-ideapad (i3-3rd Gen, 8GB RAM, Ubuntu 20.04.6 LTS)
Connected via Wi-Fi (2.4 Ghz) to home router.

The connection between the kernel oops msgs and the network latency... yet to sort out.
https://sleeplessbeastie.eu/2022/04/...terrupt-storm/


thanks and regards
santhosh
Attached Thumbnails
Click image for larger version

Name:	lq-2023-04-14-13-38-21.png
Views:	6
Size:	238.2 KB
ID:	40808  
 
Old 04-14-2023, 04:18 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,005

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
nic driver?
 
Old 04-14-2023, 11:33 PM   #5
santvasu
LQ Newbie
 
Registered: Apr 2023
Posts: 3

Original Poster
Rep: Reputation: 0
@jefro

$ lspci
00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)

$ lshw -class network

driver=iwlwifi driverversion=5.19.0-38-generic firmware=72.daa05125


Frankly speaking, i am not very sure of the reason why the ssh sluggishness (and ping latency reduced), after switching fromm 5GHz to 2.4GHz.
Also the connection between interrupt storm (

$ cat /proc/interrupts (snd_hda_intel is shown as the reason for kernel oops)
CPU0 CPU1 CPU2 CPU3 CPU4 CPU5 CPU6 CPU7
16: 0 176118 0 0 582742 0 0 0 IR-IO-APIC 16-fasteoi snd_hda_intel:card0

its a weird correlation..

thank you for the follow-ups

best regards
santhosh

Last edited by santvasu; 04-14-2023 at 11:35 PM.
 
Old 04-15-2023, 12:14 AM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,005

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
iwconfig might be of some use to tell power / quality?
 
  


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
I cannot ping with command 'ping IP' address but can ping with 'ping IP -I eth0' sanketmlad Linux - Networking 2 07-15-2011 05:32 AM
ping connection to router OK, but no ping between boxes in LAN mac1234mac Linux - Networking 2 05-26-2010 11:29 AM
Router cannot ping clients, but clients can ping router. Synt4x_3rr0r Linux - Networking 5 05-14-2009 11:55 AM
3 Ubuntu boxes with Samba - One finds all XP shares - Two UltraSparc64 boxes do not mwx Linux - Server 1 01-28-2009 06:03 AM
Linux router, my boxes can ping outside, but no web mallard Linux - Networking 7 07-14-2006 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:26 PM.

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