You are not logged in.

#1 2012-11-13 04:30:46

abusque
Member
From: Montreal, Quebec
Registered: 2012-11-13
Posts: 1

Unstable WiFi Connection Speed - Ralink RT5370

Hi,

I've recently reinstalled Arch after trying out (and disliking) fedora for a while. However, I have also switched from wired to wireless connection, using a ralink usb dongle, chipset RT5370. The problem is I get very unstable speeds. My connection should be at 30mbps down at all time (and it is with the same usb dongle on the same pc when I boot into windows 7), but now it oscillates between 30mbps and 1kbps every few seconds, which makes updating large files with pacman nearly unusable. I tried searching all over the internet to find a solution but to no avail. The issues people seem to experience with my chipset is being unable to connect to their network, while I can connect perfectly, only the speed is unstable. Anyway, here are the results of some relevant commands:

lsusb:

Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 04d9:3015 Holtek Semiconductor, Inc.
Bus 001 Device 004: ID 046d:c068 Logitech, Inc. G500 Laser Mouse
Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

lsmod | grep rt:

rt2800usb              17327  0
rt2x00usb               9012  1 rt2800usb
rt2800lib              47169  1 rt2800usb
rt2x00lib              36280  3 rt2x00usb,rt2800lib,rt2800usb
mac80211              424764  3 rt2x00lib,rt2x00usb,rt2800lib
iTCO_vendor_support     1929  1 iTCO_wdt
cfg80211              176994  2 mac80211,rt2x00lib
crc_ccitt               1363  1 rt2800lib
usbcore               150398  5 rt2x00usb,rt2800usb,ehci_hcd,usbhid,xhci_hcd

dmesg | grep rt2:

[    4.114118] Registered led device: rt2800usb-phy0::radio
[    4.114128] Registered led device: rt2800usb-phy0::assoc
[    4.114137] Registered led device: rt2800usb-phy0::quality
[    4.114147] usbcore: registered new interface driver rt2800usb

ifconfig wlan0:

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.116  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::fad1:11ff:fe19:7634  prefixlen 64  scopeid 0x20<link>
        ether f8:d1:11:19:76:34  txqueuelen 1000  (Ethernet)
        RX packets 140885  bytes 181682191 (173.2 MiB)
        RX errors 0  dropped 3  overruns 0  frame 0
        TX packets 86225  bytes 14715332 (14.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And here's an image from speedtest.net which shows you the kind of drops I'm talking about:

jue43.png

Don't assume the drops happen only on speedtest, I first noticed them when installing the system and downloading large files on pacman. Sometimes it would drop below 1kbps for extended periods of time, up to 15 minutes. I'd get a lot of "Operation too slow. Less than 1024 bytes/sec transferred the last 10 seconds", so I check on speedtest to confirm the results.

I noticed I have both rt2800 and rt2x00 modules running. I don't know if that's normal or if I ought to only have either. I tried blacklisting either, but without success.

Has anyone experienced something like this? If so, how did you solve it?

Offline

#2 2012-11-13 06:15:23

Lord Bo
Member
Registered: 2012-11-11
Posts: 143

Re: Unstable WiFi Connection Speed - Ralink RT5370

Can you somehow reduce the maximum Bitrate you are recieving (This should be possible somehow, I just never was in need to do it, so I can not say how to do it)? Looks to me like Flow Control of the network. But don't count on that, it's just a guess, I don't know where you access Internet (and I never had a problem like that).

Offline

#3 2012-11-13 20:15:19

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,277

Re: Unstable WiFi Connection Speed - Ralink RT5370

It is normal that the rt2800 and rt2x00 modules run at the same time - dont blacklist those.
One reason for network speed going down that much may be bad reception/interference by other devices. You could try changing the channel on the router.
Another thing to try the proprietary ralink module. Have a look here: http://ubuntuforums.org/archive/index.p … 00178.html

Offline

Board footer

Powered by FluxBB