FIXED: Help Needed - How to diagnose intermittant slow WIFI

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
royg
Level 1
Level 1
Posts: 17
Joined: Sun Jan 15, 2017 4:11 am
Location: Australia

FIXED: Help Needed - How to diagnose intermittant slow WIFI

Post by royg » Thu Jun 27, 2019 11:08 pm

Greetings,

I have an ASUS UX430UNR laptop running Linux Mint 19.1 MATE. I've been using Linux Mint as my daily driver since purchasing this laptop in mid 2018. Recently, I started encountering WIFI "slow downs", which occur intermittently some 20 minutes or so (or sometimes hours) after booting or re-booting the laptop. None of the five other Linux Mint powered computers on my LAN are experiencing the same WIFI slowdowns, so I'm assuming that it is not a router (an ASUS RT-AC88U) related problem.

Specifically, file transfers on the LAN between Linux Mint devices typically download at ~ 67 MB/sec. Broadband download speeds are typically ~20 Mb/Sec (which is just below the plan speed for the broadband service). After the laptop has been running for some time the WIFI link becomes very slow - typically under ~0.5Mb/Sec for both LAN and broadband connections. Disconnecting and reconnecting the WIFI device in Lan Manager does not fix the problem. Rebooting the laptop fixes the problem and gives me normal LAN and Broadband speeds - until it decides to fail next time.

I've looked at the output of dmesg when the fault is occurring, but don't see any errors related to the WIFI system.

I've checked the output of ifconfig for the wifi device when the fault is occurring, and there are no RX or TX errors.

I've checked the output of lspci (grep'ing for "wireless" devices, and the following info is reported for hardware and kernel driver:
  • Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
  • Kernel driver in use: iwlwifi
The problem first started occurring in the first week of June 2019. Prior to that the WIFI performance had been acceptable, with no performance slowdowns.

As a way of working out whether the problem was related to Linux Mint or was a hardware fault, I tried two other distros to see if the problem still existed. Ubuntu 19.04 MATE reproduced exactly the same error, as did Manjaro MATE 18.04. Based on the results of testing those other two distros, I thought that I'd worked out that it was a hardware problem .......... until I realised that the two other distros were using the same (or similar versions) of the iwlwifi kernal driver. So, now I'm back to not knowing whether it is a software, configuration, or a hardware problem.

So, can anyone provide me with some logical fault finding steps that will help to identify the cause of this problem ?

Many thanks,

Roy Gilby
Last edited by royg on Fri Jul 05, 2019 9:34 pm, edited 1 time in total.

User avatar
Pierre
Level 19
Level 19
Posts: 9179
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by Pierre » Fri Jun 28, 2019 12:03 am

Hi Roy,

Open Terminal and run these:

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && chmod +x wireless-info && ./wireless-info

Code: Select all

cat wireless-info.txt | nc termbin.com 9999
Post URL from Terminal, back here, on your reply.

NB: you may need to be connected to an Ethernet connection.

Post back, the result of this Terminal command:

Code: Select all

inxi -Fxz
as well.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
royg
Level 1
Level 1
Posts: 17
Joined: Sun Jan 15, 2017 4:11 am
Location: Australia

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by royg » Fri Jun 28, 2019 12:29 am

Pierre,

See info below, as requested.

Many thanks,

RoyG


https://termbin.com/6beo


royg@ASUS-UX430UNR:~/Downloads$ cat wireless-info.txt | nc termbin.com 9999
https://termbin.com/6beo
royg@ASUS-UX430UNR:~/Downloads$ inxi -Fxz
System:
Host: ASUS-UX430UNR Kernel: 4.15.0-54-generic x86_64 bits: 64
compiler: gcc v: 7.4.0 Desktop: MATE 1.20.1 Distro: Linux Mint 19.1 Tessa
base: Ubuntu 18.04 bionic
Machine:
Type: Laptop System: ASUSTeK product: UX430UNR v: 1.0 serial: <filter>
Mobo: ASUSTeK model: UX430UNR v: 1.0 serial: <filter>
UEFI [Legacy]: American Megatrends v: UX430UNR.305 date: 03/19/2018
Battery:
ID-1: BAT0 charge: 36.8 Wh condition: 36.8/48.9 Wh (75%)
model: ASUSTeK ASUS Battery status: Not charging
CPU:
Topology: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP
arch: Kaby Lake rev: A L2 cache: 8192 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31872
Speed: 900 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 901 2: 900
3: 900 4: 900 5: 900 6: 900 7: 900 8: 900
Graphics:
Device-1: Intel UHD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel
bus ID: 00:02.0
Device-2: NVIDIA GP108M [GeForce MX150] vendor: ASUSTeK driver: nouveau
v: kernel bus ID: 01:00.0
Display: x11 server: X.Org 1.19.6 driver: modesetting,nouveau
unloaded: fbdev,vesa tty: N/A
OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2)
v: 4.5 Mesa 18.2.8 direct render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK
driver: snd_hda_intel v: kernel bus ID: 00:1f.3
Sound Server: ALSA v: k4.15.0-54-generic
Network:
Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: e000
bus ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives:
Local Storage: total: 476.94 GiB used: 117.86 GiB (24.7%)
ID-1: /dev/sda vendor: SanDisk model: SD8SN8U512G1002 size: 476.94 GiB
temp: 36 C
Partition:
ID-1: / size: 28.71 GiB used: 8.01 GiB (27.9%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 423.27 GiB used: 109.85 GiB (26.0%) fs: ext4
dev: /dev/sda3
ID-3: swap-1 size: 16.60 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors:
System Temperatures: cpu: 44.0 C mobo: N/A gpu: nouveau temp: 36 C
Fan Speeds (RPM): N/A
Info:
Processes: 228 Uptime: 1h 14m Memory: 15.53 GiB used: 1.44 GiB (9.3%)
Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.19
inxi: 3.0.27
royg@ASUS-UX430UNR:~/Downloads$

User avatar
royg
Level 1
Level 1
Posts: 17
Joined: Sun Jan 15, 2017 4:11 am
Location: Australia

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by royg » Fri Jun 28, 2019 3:52 am

Ok - Just some additional information ....

Item 1:

In an earlier post, I said that the only way of clearing the WIFI problem was to re-boot the laptop.

Turns out that the above statement is not entirely correct!

I just worked out that if, instead of disconnecting and reconnecting the WIFI connection in NetworkManager (which doesn't fix the problem), you can make the problem go away for a while if you Disable WIFI, and then Enable WIFI, and then re-connect to the WIFI Network in NetworkManager.

Item 2:

I normally only use the 5 Ghz WIFI access point on my ASUS router, and that is where the WIFI slow down problems on this ASUS Laptop have been occurring.

This afternoon, I connected instead to the 2.4 Ghz access point on the same ASUS router, and so far the WIFI slow down problems have NOT recurred on the 2.4 Ghz WIFI (in about 1 hour's testing so far. More testing will prove the situation for sure. I normally use the 5 Ghz WIFI for all of my networked devices, and none of the other devices have this slow down problem, so I'm assuming that the router's 5 Ghz WIFI is not at fault.

I don't know if that info will provide anyone with any additional diagnosis information --- but there it is.


Many thanks,

RoyG

User avatar
Pierre
Level 19
Level 19
Posts: 9179
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by Pierre » Fri Jun 28, 2019 5:06 am

that higher freq may be part of the issue,
& your machine does have the later kernel version, as well.

so, you probably also need newer firmware:

Code: Select all

cd /tmp
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.169.1_all.deb
sudo dpkg -i linux*.deb
and see if that also helps out.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
royg
Level 1
Level 1
Posts: 17
Joined: Sun Jan 15, 2017 4:11 am
Location: Australia

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by royg » Fri Jun 28, 2019 6:21 am

Pierre,

Can you please check the path and file name for that file you want me to download (http://security.ubuntu.com/ubuntu/pool/ ... .1_all.deb) as I'm getting a 404 "file not found" error on that file name in that directory.

Thanks,

RoyG

JeremyB
Level 20
Level 20
Posts: 11047
Joined: Fri Feb 21, 2014 8:17 am

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by JeremyB » Fri Jun 28, 2019 6:27 am

I would prevent Network Manager from enabling wifi power management with

Code: Select all

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*
Then enable aggressive TX in the iwlwifi module

Code: Select all

echo "options iwlwifi 11n_disable=8" | sudo tee /etc/modprobe.d/iwl-opts.conf
Reboot

User avatar
Pierre
Level 19
Level 19
Posts: 9179
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by Pierre » Fri Jun 28, 2019 6:34 am

Code: Select all

cd /tmp
wget http://security.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.180_all.deb
sudo dpkg -i linux*.deb
but, I'm still unsure, if that will actually resolve the issue .. .
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.

User avatar
royg
Level 1
Level 1
Posts: 17
Joined: Sun Jan 15, 2017 4:11 am
Location: Australia

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by royg » Fri Jun 28, 2019 7:00 am

Pierre,

I've downloaded and installed linux-firmware_1.180_all.deb; rebooted, and changed back to the 5 Ghz WIFI to start testing. I'll post an update on Saturday after a few hours testing.

Many thanks,

RoyG

User avatar
royg
Level 1
Level 1
Posts: 17
Joined: Sun Jan 15, 2017 4:11 am
Location: Australia

Re: Help Needed - How to diagnose intermittant slow WIFI

Post by royg » Sat Jun 29, 2019 2:18 am

Pierre,

After a day's testing, I believe that the new linux firmware has improved, but not eliminated the problem with the intermittent WIFI slowdown. It is much better than before with only 1 WIFI slow down event in 10 hours testing. Prior to changing to the new firmware, I would typically have experienced eight to ten WIFI slow down events in the same period.

So, is there anything else we can do, or is this the best outcome I can expect with this ASUS hardware ?

RoyG

Post Reply

Return to “Wireless”