Skip to main content
Topic: High latency on Artix (runit) (Read 1424 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

High latency on Artix (runit)

Hello! I have a problem with a very high ping on Linux (Artix; runit). Checked through dual-boot on Windows 10 - everything was OK (time has always been stable up to 50 under big load). On other devices (phones, smart TVs) this is not observed as well.

Here is an example of pings:
Code: [Select]
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=69.9 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=2794 ms -- opened arch wiki
64 bytes from 8.8.8.8: icmp_seq=3 ttl=118 time=1792 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=118 time=779 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=118 time=23.2 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=118 time=31.6 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=118 time=25.0 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=118 time=6765 ms -- did... nothing???
64 bytes from 8.8.8.8: icmp_seq=9 ttl=118 time=5757 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=118 time=4744 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=118 time=3731 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=118 time=2719 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=118 time=1706 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=118 time=716 ms

The same will happen if I ping 192.168.0.1 (aka router)

What I have already tried:
https://itsfoss.com/speed-up-slow-wifi-connection-ubuntu/

What helped for a little bit:
1. Disabling ipv6.
2. Disabling power management.

Additional information:
1. My laptop: Lenovo IdeaPad Gaming 3 15ARH05
2. My WiFi controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
3.
Code: [Select]
$ rfkill list
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: ideapad_bluetooth: Bluetooth
    Soft blocked: yes
    Hard blocked: no
2: hci0: Bluetooth
    Soft blocked: yes
    Hard blocked: no
3: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
4. fast.com
Code: [Select]
Your Internet speed is
8.1
Mbps
Latency
Unloaded
0 ms
Loaded
3.2 s
Upload
Speed
30 Mbps
5. I use wpa_supplicant and connman to connect to the internet.
6.
Code: [Select]
$ uname -r
5.12.14artix1-1
7. crda package installed
8. My router: TP-Link MU-MIMO (TL-WR841N), about 10 meters from me.
9. Fast boot on Windows 10 is disabled.

How can I fix this problem?

Thanks to everyone in advance!

Re: High latency on Artix (runit)

Reply #1
I can only think about too low entropy.
Try to install haveged and haveged-<init> and enable (and start) the service (you might need to reboot).
There might or might not be any difference.
I am probably totally wrong.

Re: High latency on Artix (runit)

Reply #2
Sadly did not help. Problem still remains. I think it could be somethings with drivers...

Re: High latency on Artix (runit)

Reply #3
Can it be because of a faulty firmware or driver?
Have you watched if there are known issues for your network card on linux?

 

Re: High latency on Artix (runit)

Reply #4
I have also faced this kind of issue; everything is perfect in windows, but in Artix, it becomes prolonged after connecting with wifi. But on the other hand, if I connect with LAN there is no problem.

When I use WIFI
I have observed that the pinging this device from another device in same network makes unreliable time delays
Code: [Select]
PING 192.168.1.125 (192.168.1.125) 56(84) bytes of data.
64 bytes from 192.168.1.125: icmp_seq=1 ttl=64 time=305 ms
64 bytes from 192.168.1.125: icmp_seq=2 ttl=64 time=226 ms
64 bytes from 192.168.1.125: icmp_seq=3 ttl=64 time=146 ms
64 bytes from 192.168.1.125: icmp_seq=4 ttl=64 time=65.7 ms
64 bytes from 192.168.1.125: icmp_seq=5 ttl=64 time=294 ms
64 bytes from 192.168.1.125: icmp_seq=6 ttl=64 time=2.28 ms           <<<---- Too less
64 bytes from 192.168.1.125: icmp_seq=7 ttl=64 time=134 ms
64 bytes from 192.168.1.125: icmp_seq=8 ttl=64 time=54.6 ms
64 bytes from 192.168.1.125: icmp_seq=9 ttl=64 time=281 ms            <<<----  Much high
64 bytes from 192.168.1.125: icmp_seq=10 ttl=64 time=202 ms
64 bytes from 192.168.1.125: icmp_seq=11 ttl=64 time=123 ms
64 bytes from 192.168.1.125: icmp_seq=12 ttl=64 time=50.6 ms
^C
--- 192.168.1.125 ping statistics ---
13 packets transmitted, 12 received, 7.69231% packet loss, time 12017ms
rtt min/avg/max/mdev = 2.275/157.054/305.045/99.523 ms

Now when I ping in 8.8.8.8 using wifi on same device
Code: [Select]
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=46.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=48.7 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=118 time=49.3 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=118 time=49.5 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=118 time=46.6 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=118 time=48.7 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=118 time=48.3 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=118 time=48.5 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=118 time=46.4 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=118 time=48.2 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=118 time=48.7 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=118 time=48.5 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=118 time=46.0 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=118 time=48.2 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=118 time=48.4 ms

When I use LAN
Pinging this device from another device in same network no major fluctuation occurs
Code: [Select]
PING 192.168.1.165 (192.168.1.165) 56(84) bytes of data.
64 bytes from 192.168.1.165: icmp_seq=1 ttl=64 time=0.782 ms
64 bytes from 192.168.1.165: icmp_seq=2 ttl=64 time=0.370 ms
64 bytes from 192.168.1.165: icmp_seq=3 ttl=64 time=0.326 ms
64 bytes from 192.168.1.165: icmp_seq=4 ttl=64 time=0.413 ms
64 bytes from 192.168.1.165: icmp_seq=5 ttl=64 time=0.322 ms
64 bytes from 192.168.1.165: icmp_seq=6 ttl=64 time=0.374 ms
64 bytes from 192.168.1.165: icmp_seq=7 ttl=64 time=0.765 ms
64 bytes from 192.168.1.165: icmp_seq=8 ttl=64 time=0.781 ms
64 bytes from 192.168.1.165: icmp_seq=9 ttl=64 time=0.374 ms
64 bytes from 192.168.1.165: icmp_seq=10 ttl=64 time=0.374 ms
64 bytes from 192.168.1.165: icmp_seq=11 ttl=64 time=0.770 ms
64 bytes from 192.168.1.165: icmp_seq=12 ttl=64 time=0.766 ms
64 bytes from 192.168.1.165: icmp_seq=13 ttl=64 time=0.755 ms
64 bytes from 192.168.1.165: icmp_seq=14 ttl=64 time=0.785 ms
^C
--- 192.168.1.165 ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 13183ms
rtt min/avg/max/mdev = 0.322/0.568/0.785/0.204 ms

Now when I ping in 8.8.8.8 using LAN on the same device
Code: [Select]
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=118 time=39.8 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=118 time=40.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=118 time=39.5 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=118 time=40.6 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=118 time=40.0 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=118 time=39.6 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=118 time=40.1 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=118 time=39.7 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=118 time=39.5 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=118 time=39.4 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=118 time=39.9 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=118 time=40.4 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=118 time=39.5 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=118 time=40.3 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=118 time=40.6 ms
64 bytes from 8.8.8.8: icmp_seq=16 ttl=118 time=40.2 ms
64 bytes from 8.8.8.8: icmp_seq=17 ttl=118 time=39.8 ms
^C
--- 8.8.8.8 ping statistics ---
17 packets transmitted, 17 received, 0% packet loss, time 16030ms
rtt min/avg/max/mdev = 39.389/39.930/40.636/0.386 ms

Details of the internal wifi adapter
Code: [Select]
lspci -k
....
....
....
03:00.0 Network controller: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter (rev 32)
Subsystem: Lite-On Communications Inc Device 0807
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
....
....
....


Any solution for fixing this issue??