[SOLVED] Wireless connection slow

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
peter998
Level 1
Level 1
Posts: 8
Joined: Sun Aug 11, 2013 6:49 am

[SOLVED] Wireless connection slow

Post by peter998 » Sun Aug 04, 2019 3:54 pm

Hi everyone,

I have a strange problem: My WiFi connection is partwise very slow and sometimes works as expected.

My situation is the following: Sometimes I recognize that my connection is very slow, e.g. streams/videos switch to a low quality. I then simply qualify my current WiFi connection speed with speedtest.net. This provides me at least a rough information about my connection.
In the good cases, I see about 21Mbps download - when my WiFi connection is bad, I get around 2,5 Mbps. Having my notebook exactly on the same spot :x

When my wife runs speedtest, she constantly gets speeds around 21Mbps - no matter what result I get. So I assume that this is not a (temporary) problem of the WiFi setup.

I have also observed the following: I tried to reset my Fritzbox WiFi and e.g. switch to another channel. No change. I tried to disable and reenable my WiFi. No change. However, when I reboot my machine, I can also get to 21Mbps.

From the information provided by my router, I cannot see a difference between the "fast" and the "slow" situation. It always shows me:
2,4 GHz / n / 20 MHz (WLAN-n+b+g)

To be honest, I am a great fan of Linux Mint but out of ideas where to go from here. I have searched trough multiple "wifi slow" posts and through the internet, but I did not succeed with any of these hints. I am simply not experienced enough on what exactly to look or search for... :(

So can anyone please guide me in the right direction on where to look for differences? I assume there must be a difference somewhere in loading the driver or anything I am not aware of :)

Thanks,
Peter


I am running the following setup:

Code: Select all

~$ inxi -Fxz
System:    Host: ... Kernel: 4.15.0-55-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.0.10 
           Distro: Linux Mint 19.1 Tessa base: Ubuntu 18.04 bionic 
Machine:   Type: Portable System: Dell product: XPS L701X v: A06 serial: <filter> 
           Mobo: Dell model: N/A v: A06 serial: <filter> BIOS: Dell v: A06 date: 11/29/2010 
CPU:       Topology: Quad Core model: Intel Core i7 Q 740 bits: 64 type: MT MCP arch: Nehalem rev: 5 L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 27664 
           Speed: 931 MHz min/max: 933/1734 MHz Core speeds (MHz): 1: 1049 2: 950 3: 951 4: 1001 5: 988 6: 1040 7: 959 8: 939 
Network:   Device-1: Intel Centrino Wireless-N 1000 [Condor Peak] driver: iwlwifi v: kernel port: 2000 bus ID: 04:00.0 
           IF: wlp4s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell driver: r8169 v: 2.3LK-NAPI 
           port: 6000 bus ID: 0a:00.0 
           IF: enp10s0 state: down mac: <filter> 
Info:      Processes: 268 Uptime: 11m Memory: 7.72 GiB used: 1.78 GiB (23.1%) Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 
           Shell: bash v: 4.4.20 inxi: 3.0.27

Code: Select all

lshw -C network
  *-network                 
       description: Wireless interface
       product: Centrino Wireless-N 1000 [Condor Peak]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlp4s0
       version: 00
       serial: 00:26:c7:fb:01:3e
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-55-generic firmware=39.31.5.1 build 35138 ip=192.168.178.27 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:40 memory:f0700000-f0701fff
Last edited by peter998 on Sun Sep 01, 2019 11:33 am, edited 1 time in total.

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wireless connection slow

Post by Pjotr » Sun Aug 04, 2019 3:57 pm

What does this command say:

Code: Select all

iwconfig
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

peter998
Level 1
Level 1
Posts: 8
Joined: Sun Aug 11, 2013 6:49 am

Re: Wireless connection slow

Post by peter998 » Sun Aug 04, 2019 4:02 pm

Here the data (during "fast" connection - without knowing if this would change during "slow" connection):

Code: Select all

~$ iwconfig
wlp4s0    IEEE 802.11  ESSID:".."  
          Mode:Managed  Frequency:2.437 GHz  Access Point: 44:4E:6D:01:E0:12   
          Bit Rate=58.5 Mb/s   Tx-Power=14 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=51/70  Signal level=-59 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:18   Missed beacon:0

enp10s0   no wireless extensions.

lo        no wireless extensions.

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wireless connection slow

Post by Pjotr » Sun Aug 04, 2019 4:17 pm

Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

peter998
Level 1
Level 1
Posts: 8
Joined: Sun Aug 11, 2013 6:49 am

Re: Wireless connection slow

Post by peter998 » Sun Aug 04, 2019 4:30 pm

Pjotr wrote:
Sun Aug 04, 2019 4:17 pm
This might help:
https://easylinuxtipsproject.blogspot.c ... html#ID2.1
(item 2.1)
Hi Pjotr,

thank you for your fast answers! I am going to try this as soon as possible (by tomorrow)... :D

Just one question for my understanding: Why can disabling this option help in cases where Wifi is sometimes slow and sometimes fast? From what I understood, it could help for situations where Wifi is permanently slow?
Maybe I am misreading that, however, I will try to set the advised option and see if there is any change.

Thanks,
Peter

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wireless connection slow

Post by Pjotr » Sun Aug 04, 2019 4:32 pm

peter998 wrote:
Sun Aug 04, 2019 4:30 pm
Just one question for my understanding: Why can disabling this option help in cases where Wifi is sometimes slow and sometimes fast? From what I understood, it could help for situations where Wifi is permanently slow?
On the contrary: it typically can cause slowdown when power management kicks in. Not before. :)
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

peter998
Level 1
Level 1
Posts: 8
Joined: Sun Aug 11, 2013 6:49 am

Re: Wireless connection slow

Post by peter998 » Sun Aug 04, 2019 4:46 pm

Pjotr wrote:
Sun Aug 04, 2019 4:32 pm
On the contrary: it typically can cause slowdown when power management kicks in. Not before. :)
I see, that makes really sense, thanks :o

Can I somehow check if power management has kicked in or not or if it is handling my WiFi hardware? Otherwise I need to observe my connection speed for the next days to reliably see if this resolved the issue.

Nevertheless, I am going to provide an update as soon as I have more information.

User avatar
Pjotr
Level 21
Level 21
Posts: 13158
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wireless connection slow

Post by Pjotr » Sun Aug 04, 2019 4:51 pm

peter998 wrote:
Sun Aug 04, 2019 4:46 pm
Can I somehow check if power management has kicked in or not or if it is handling my WiFi hardware? Otherwise I need to observe my connection speed for the next days to reliably see if this resolved the issue.
iwconfig will tell you whether you've successfully disabled power management for your WiFi. It's currently on, so you bet it does kick in now. :mrgreen:
Tip: 10 things to do after installing Linux Mint 19.2 Tina
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

peter998
Level 1
Level 1
Posts: 8
Joined: Sun Aug 11, 2013 6:49 am

Re: Wireless connection slow

Post by peter998 » Sun Sep 01, 2019 11:31 am

Ok, from what I can say now, this issues seems to be resolved. During the last month, I did not see any slowdowns or else :D :D

Thanks for your help, Pjotr. I was originally understanding the mechanisms, how that power management works, wrong. So I checked at the wrong moment / times if that issue has been resolved.

Post Reply

Return to “Wireless”