aircrack-ng / rtl8814au

Realtek rtl8814au driver
Other
425 stars 130 forks source link

Network freeze every few seconds #52

Closed eric-saintetienne closed 3 years ago

eric-saintetienne commented 3 years ago

The network freezes for a few second or two every 10 to 60 seconds, the delay between the freezes seems random.

It's really annoying when editing files remotely as the keystroke has no effect for a few seconds.

This is what I've tried:

Details:

Any idea what causes these sudden network lags? Or how I could get rid of them?

eric-saintetienne commented 3 years ago

I've attached 5 minutes of pinging the wifi gateway, highlighting when the network freezes: ping-output-rtl8814au.txt

I don't want to spoil the fun, but it's usually a 3s to 4s freeze every 10-15s:

  1 PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
  2 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.99 ms
  3 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.95 ms
  4 64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.96 ms
  5 64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=1.92 ms
  6 64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=2976 ms    <=== HERE
  7 64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=1915 ms    <=== HERE
  8 64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=891 ms     <=== HERE
  9 64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=1.13 ms
 10 64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=1.97 ms
 11 64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=1.94 ms
...

During this test, the system was really quiet (99.9% idle!):

top - 19:40:05 up 5 days, 11:01,  9 users,  load average: 0.01, 0.07, 0.14
Tasks: 266 total,   1 running, 265 sleeping,   0 stopped,   0 zombie
%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  31900.4 total,  12963.8 free,   2632.9 used,  16303.7 buff/cache
MiB Swap:   4096.0 total,   4096.0 free,      0.0 used.  28394.8 avail Mem 
...

And I've also attached 5 minutes of the same ping when using another USB Wifi adapter (TP-LINK TL-WN823N, which doesn't exhibit any network lag): ping-output-using-other-adapter.txt with this rtl8192cu (2.4GHz) the latency is better than with the rtl8814au at 5GHz!

eric-saintetienne commented 3 years ago

Well I feel embarrassed: after a reboot the ping to the wifi gateway became normal (still high latency at 2ms though) and the network lag were completely gone. I had an uptime of about 2 weeks, working everyday 8h work on the machine. If it reappears I'll know what to do!

So if it happens to you, it's time to reboot!

pmuaddib commented 3 years ago

I'm having the same issue, reboot didn't help. On W10 same adapter works fine, have no idea why it's happening