All network connection takes about 6 seconds

I’m using Manjaro Plasma. My network connection suddenly became slow today.

Every network connection takes about 6 seconds delay. I tried the latest Manjaro live usb and still there was problem.

I have already tried other OS or distros such as Windows 10, Ubuntu 21.10, Arch Linux and there are no issues.
My desktop with wired lan and a laptop with wifi has the same issue. But it is not a my router’s problem. Other machines especially iPhone has no issue and other distros on the same machine(desktop) has the issue.

It seems not the network driver issue because Manjaro and Arch Linux using same r8169 driver.

when I typing ping google.com every steps takes about 6 seconds. But ping 8.8.8.8 is fast.
So I guess it maybe a DNS issue but I dont’ have any idea of that.

Hi @hardboiled65, and welcome!

That does, indeed, sound like DNS. Perhaps a DNS server problem somewhere. Please provide the output of:

traceroute 8.8.8.8

And

traceroute google.com
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  _gateway (192.168.123.254)  0.381 ms  0.443 ms  0.463 ms
 2  192.168.219.1 (192.168.219.1)  1.528 ms  1.515 ms  1.573 ms
 3  * * *
 4  1.208.14.69 (1.208.14.69)  7.877 ms 1.213.13.45 (1.213.13.45)  8.705 ms  8.524 ms
 5  1.208.14.69 (1.208.14.69)  8.609 ms  8.701 ms 1.213.13.41 (1.213.13.41)  8.485 ms
 6  1.208.106.177 (1.208.106.177)  15.831 ms 1.208.106.185 (1.208.106.185)  15.200 ms 1.208.145.157 (1.208.145.157)  13.655 ms
 7  1.208.148.141 (1.208.148.141)  8.829 ms  8.808 ms *
 8  1.208.149.1 (1.208.149.1)  9.039 ms 1.208.148.1 (1.208.148.1)  12.753 ms  12.073 ms
 9  1.208.107.78 (1.208.107.78)  46.330 ms  46.359 ms 203.252.13.22 (203.252.13.22)  46.333 ms
10  1.208.106.106 (1.208.106.106)  54.745 ms 1.208.106.210 (1.208.106.210)  54.672 ms 1.208.106.106 (1.208.106.106)  54.664 ms
11  74.125.118.154 (74.125.118.154)  68.584 ms 72.14.215.29 (72.14.215.29)  76.275 ms 74.125.118.154 (74.125.118.154)  67.892 ms
12  * * *
13  dns.google (8.8.8.8)  70.096 ms  69.450 ms  77.980 ms

and

traceroute to google.com (172.217.175.14), 30 hops max, 60 byte packets
 1  _gateway (192.168.123.254)  0.389 ms  0.375 ms  0.694 ms
 2  192.168.219.1 (192.168.219.1)  1.684 ms  1.622 ms  1.598 ms
 3  * * *
 4  1.213.13.45 (1.213.13.45)  10.547 ms 10.20.10.121 (10.20.10.121)  10.366 ms 1.213.13.41 (1.213.13.41)  10.279 ms
 5  1.208.14.69 (1.208.14.69)  10.322 ms  10.386 ms 1.213.13.41 (1.213.13.41)  10.351 ms
 6  1.208.151.149 (1.208.151.149)  16.422 ms 1.213.106.29 (1.213.106.29)  14.737 ms 1.213.144.17 (1.213.144.17)  12.583 ms
 7  * 1.213.112.137 (1.213.112.137)  10.060 ms *
 8  1.213.151.1 (1.213.151.1)  9.954 ms 1.213.115.13 (1.213.115.13)  9.309 ms 1.213.115.65 (1.213.115.65)  26.755 ms
 9  ysnaba7-s10-0-7-25-c.rt.bora.net (203.233.12.118)  49.139 ms  49.117 ms 203.233.12.106 (203.233.12.106)  44.133 ms
10  1.208.106.106 (1.208.106.106)  53.282 ms 1.208.150.182 (1.208.150.182)  44.835 ms 1.208.148.206 (1.208.148.206)  53.242 ms
11  72.14.215.29 (72.14.215.29)  65.814 ms  65.795 ms 74.125.118.154 (74.125.118.154)  67.882 ms
12  * * *
13  108.170.241.97 (108.170.241.97)  73.706 ms 74.125.252.88 (74.125.252.88)  64.630 ms 108.170.241.33 (108.170.241.33)  75.127 ms
14  108.170.241.80 (108.170.241.80)  67.355 ms 108.170.241.79 (108.170.241.79)  67.333 ms 108.170.241.112 (108.170.241.112)  66.747 ms
15  216.239.35.151 (216.239.35.151)  79.195 ms 209.85.250.133 (209.85.250.133)  77.792 ms 172.253.64.172 (172.253.64.172)  75.023 ms
16  172.253.50.221 (172.253.50.221)  72.102 ms  70.042 ms 209.85.244.197 (209.85.244.197)  72.801 ms
17  72.14.235.146 (72.14.235.146)  66.682 ms 216.239.49.194 (216.239.49.194)  74.888 ms  66.560 ms
18  64.233.175.105 (64.233.175.105)  65.444 ms  65.411 ms 142.250.213.15 (142.250.213.15)  65.389 ms
19  209.85.249.240 (209.85.249.240)  75.758 ms 209.85.246.82 (209.85.246.82)  70.830 ms 209.85.249.240 (209.85.249.240)  68.693 ms
20  108.170.242.161 (108.170.242.161)  66.593 ms 108.170.242.193 (108.170.242.193)  70.887 ms  70.788 ms
21  72.14.233.35 (72.14.233.35)  65.384 ms  66.588 ms 108.170.227.93 (108.170.227.93)  79.944 ms
22  nrt20s18-in-f14.1e100.net (172.217.175.14)  65.268 ms  65.805 ms  66.491 ms

It seems my ISP issue. When I try on laptop with cellular hotspot which is different ISP, there’s no issue.
But I don’t know why it affects only Manjaro distro…

Try setting your DNS server to 8.8.8.8. Or 1.1.1.1, or 8.8.4.4 and test with that.

I already using 1.1.1.1 and 8.8.8.8 on my router. And the NetworkManager automatically set my system also 1.1.1.1 and 8.8.8.8

Please post the output of:

cat /etc/resolv.conf

It says the file generated by NetworkManager.

# Generated by NetworkManager
search UNICORN
nameserver 1.1.1.1
nameserver 8.8.8.8

I see yes, an it has the correct DNS servers.

If you want to try and take NetworkManager out of the picture, see Networking - Manjaro, specifically the Use resolvconf part of it.

Except that, I have absolutely no idea further. That it’s somehow NetworkManager that’s causing this is all I can think of.

Hope you manage!

Edit:

I’ve just thought of something else to try and troubleshoot, I don’t know what this will help, if at all, but please post the output of:

dig google.com | tail -n 5

As well as:

dig @8.8.8.8 google.com | tail -n 5

I’m on Manjaro XFCE edition live booting. And still the problem.
All the problem occurs on Manjaro distros. I’m tired of this. I’ll stop to using Manjaro.

Well now.

Your choice.

Edit:

Another option would be to change kernels and see what, if any, difference that makes. But if you’re not staying, then I’m not continuing troubleshooting.

This might be interesting:

Also this:

And this:

Sorry but I removed Manjaro and install Arch linux. Live booting was fine, but I installed NetworkManager and boot to arch and activate it, same problems there.
I already tried change the kernel but not fixed.
It was not a Manjaro only problem…
What shoul I do next?

Ask in Arch forum for further advice.