Slow WiFi after upgrade to Buster

Kernels & Hardware, configuring network, installing services

Slow WiFi after upgrade to Buster

Postby debian_wifi_user » 2019-11-19 09:38

I think this has happened since upgrading to buster though I'm not certain. My WiFi is really slow. On Windows on the same machine it runs *much* faster.

Here is my output of "iw dev wlp5s0 station dump":

Code: Select all
Station xx:xx:xx:xx:xx:xx (on wlp5s0)
        inactive time:  5 ms
        rx bytes:       1410729
        rx packets:     1825
        tx bytes:       67516
        tx packets:     635
        tx retries:     0
        tx failed:      0
        beacon loss:    0
        beacon rx:      435
        rx drop misc:   221
        signal:         -47 dBm
        signal avg:     -47 dBm
        beacon signal avg:      -46 dBm
        tx bitrate:     54.0 MBit/s
        rx bitrate:     2.0 MBit/s
        rx duration:    0 us
        expected throughput:    37.994Mbps
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        no
        MFP:            no
        TDLS peer:      no
        DTIM period:    1
        beacon interval:100
        short preamble: yes
        short slot time:yes
        connected time: 45 seconds

So you see it is only running at 2Mbps. Here is the output of lspci:

Code: Select all
05:00.0 Network controller [0280]: Ralink corp. RT2500 Wireless 802.11bg [1814:0201] (rev 01)


I don't see many issues in the output of "iw event -t". Please can someone help me get to the bottom of this? I have googled it do death and it is driving me mad. I have a feeling that my custom kernel could be causing issues since I don't use the bog standard Debian kernel. I have powersave disabled by the way.
debian_wifi_user
 
Posts: 7
Joined: 2019-11-19 08:47

Re: Slow WiFi after upgrade to Buster

Postby Head_on_a_Stick » 2019-11-23 11:41

debian_wifi_user wrote:my custom kernel could be causing issues

^ This.

How is your connection under the stock Debian kernel?
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Slow WiFi after upgrade to Buster

Postby debian_wifi_user » 2019-11-27 23:17

Thanks for your reply.

I have just booted into the very latest stable Debian Live DVD (USB) and I get slow rates there as well. i.e. 1.2Mbps in practice with "iw station dump" stating tx as 2Mbps.

I have just tried a static WiFi IP address and Google DNS and it is still slow.

I also plugged in my Raspberry Pi USB WiFi dongle and connected using that and it too is really slow.

I also tried using just IPv4 in NetworkManager and no change with that.

Everything seems to be slow except Windows.
debian_wifi_user
 
Posts: 7
Joined: 2019-11-19 08:47

Re: Slow WiFi after upgrade to Buster

Postby debian_wifi_user » 2019-11-27 23:30

One more thing: if I use an Ethernet cable to connect directly to the same WiFi access point, I see the internet speed go really fast (just like WiFi on Windows).
debian_wifi_user
 
Posts: 7
Joined: 2019-11-19 08:47

Re: Slow WiFi after upgrade to Buster

Postby Head_on_a_Stick » 2019-11-28 16:59

Which driver is loaded?
Code: Select all
lspci -k

The ArchWiki notes that some Ralink devices have a wide range of options that can be configured with iwpriv(8) so perhaps try that.
Don't break DebianHow to report bugs

SharpBang GNU/Linux® — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10695
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Slow WiFi after upgrade to Buster

Postby debian_wifi_user » 2019-11-28 21:03

Code: Select all
05:00.0 Network controller: Ralink corp. RT2500 Wireless 802.11bg (rev 01)
        Subsystem: Ralink corp. RT2500 Wireless 802.11bg
        Kernel driver in use: rt2500pci
        Kernel modules: rt2500pci


I will try kubuntu live CD to see if that does better.

No luck with iwpriv:

Code: Select all
iwpriv wlp5s0
wlp5s0    no private ioctls
debian_wifi_user
 
Posts: 7
Joined: 2019-11-19 08:47

Re: Slow WiFi after upgrade to Buster

Postby debian_wifi_user » 2019-11-28 22:51

Kubuntu slow as well. I did notice in the Kubuntu dmesg that I got a lot of these messages

Code: Select all
rt2x00queue_flush_queue: Warning queue 0 failed to flush


Given I have the same slow internet with a totally different WiFi adapter (the Edimax USB one), is it possible this is a BIOS problem? That is the only thing I can think of.
debian_wifi_user
 
Posts: 7
Joined: 2019-11-19 08:47

Re: Slow WiFi after upgrade to Buster

Postby debian_wifi_user » 2019-12-01 12:34

Tried Ubuntu live CD. Slow there as well.
debian_wifi_user
 
Posts: 7
Joined: 2019-11-19 08:47

Re: Slow WiFi after upgrade to Buster

Postby debian_wifi_user » 2019-12-01 20:34

I discovered that *sometimes* my Edimax USB WiFi card goes at full speed (uses rtl8192cu driver). In the case it works at full speed I see this:

tx bitrate: 72.2 MBit/s MCS 7 short GI
rx bitrate: 52.0 MBit/s MCS 5


And then when it works slowly just like the rt2500pci driver (I see it jump down to this bitrate suddenly after just under an hour of being connected):

tx bitrate: 72.2 MBit/s MCS 7 short GI
rx bitrate: 5.5 MBit/s
debian_wifi_user
 
Posts: 7
Joined: 2019-11-19 08:47


Return to System configuration

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable