You are not logged in.

#1 2020-11-24 14:20:09

TheSheepGuy
Member
Registered: 2020-04-13
Posts: 47

WiFi slow only on some networks using NetworkManager

When I connect to my router using NetworkManager, I get speeds around 35 KiB/s. If I start up my Windows 10 laptop, start a hotspot, and connect to my laptop (which itself is connected to the same router), I get expected speeds of around 600-1000 KiB/s. I've tried setting my DNS server to Cloudflare's 1.1.1.1 instead of the automatic one, so that is not the issue.

I've been using this WiFi USB stick for so long that I cannot remember the proper model, but it's identified as Ralink 802.11 n and uses the rt2800usb firmware.

It's not terrible, but a bit power consuming; I'd prefer not to have my laptop run all the time. I'm not too sure if there's any output of commands I can post, but if there's something I can do to provide more information I'd be very happy to do so.

Last edited by TheSheepGuy (2020-11-24 14:39:46)

Offline

#2 2020-11-24 15:09:43

seth
Member
Registered: 2012-09-03
Posts: 50,924

Re: WiFi slow only on some networks using NetworkManager

Cut out NM, connect manually (or w/ netctl/wifi-menu), see whether the problem remains and compare startion dumps between the good and bad connection.

Also check the system journal to see whether and what NM might be doing (ie. if you get re-connects which slow the effective transmit rate down)

https://wiki.archlinux.org/index.php/Ne … _interface
https://www.archlinux.org/packages/core/any/netctl/

Offline

#3 2020-11-24 15:42:21

TheSheepGuy
Member
Registered: 2020-04-13
Posts: 47

Re: WiFi slow only on some networks using NetworkManager

Using netctl I'm getting speeds which seem to be ever so slightly faster, averaging around 60-80 KiB/s? But that might just be a random change in the speed. If I use the laptop connection I get the normal fast speeds again.

Offline

#4 2020-11-24 16:07:01

seth
Member
Registered: 2012-09-03
Posts: 50,924

Re: WiFi slow only on some networks using NetworkManager

seth almost wrote:

compare station dumps between the good and bad connection.

Did you stop the NM service before connecting w/ netctl?

Offline

#5 2020-11-24 16:24:40

TheSheepGuy
Member
Registered: 2020-04-13
Posts: 47

Re: WiFi slow only on some networks using NetworkManager

seth almost wrote:

compare station dumps between the good and bad connection.

I didn't see this for some reason. Here's the router connection.

Station 3c:81:d8:9b:19:99 (on wlp2s0f0u2)
	inactive time:	34 ms
	rx bytes:	213814
	rx packets:	644
	tx bytes:	46792
	tx packets:	303
	tx retries:	1176
	tx failed:	297
	beacon loss:	1
	beacon rx:	170
	rx drop misc:	10
	signal:  	-47 dBm
	signal avg:	-46 dBm
	beacon signal avg:	-47 dBm
	tx bitrate:	6.5 MBit/s MCS 0
	tx duration:	0 us
	rx bitrate:	5.5 MBit/s
	rx duration:	0 us
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	1
	beacon interval:100
	short preamble:	yes
	short slot time:yes
	connected time:	20 seconds
	associated at [boottime]:	3359.999s
	associated at:	1606234826078 ms
	current time:	1606234845369 ms

And the laptop connection.

Station 92:5b:ad:2a:95:63 (on wlp2s0f0u2)
	inactive time:	84 ms
	rx bytes:	112806602
	rx packets:	85802
	tx bytes:	3698858
	tx packets:	40200
	tx retries:	26665
	tx failed:	2506
	beacon loss:	1
	beacon rx:	5452
	rx drop misc:	67
	signal:  	-43 dBm
	signal avg:	-42 dBm
	beacon signal avg:	-42 dBm
	tx bitrate:	52.0 MBit/s MCS 5
	tx duration:	0 us
	rx bitrate:	26.0 MBit/s MCS 3
	rx duration:	0 us
	expected throughput:	26.733Mbps
	authorized:	yes
	authenticated:	yes
	associated:	yes
	preamble:	long
	WMM/WME:	yes
	MFP:		no
	TDLS peer:	no
	DTIM period:	1
	beacon interval:100
	short preamble:	yes
	short slot time:yes
	connected time:	585 seconds
	associated at [boottime]:	2665.176s
	associated at:	1606234131254 ms
	current time:	1606234715593 ms

Note that I used the laptop connection for a while longer than the other, hence the longer connected time.

seth wrote:

Did you stop the NM service before connecting w/ netctl?

Yes, I did.

Offline

#6 2020-11-24 23:46:42

seth
Member
Registered: 2012-09-03
Posts: 50,924

Re: WiFi slow only on some networks using NetworkManager

Similar enough signal strength, but

tx packets:	303
tx retries:	1176
tx failed:	297

With the router almost all transmits failed, despite 3.9 retries per package

rx packets:	644
rx drop misc:	10

1.55%


tx packets:	40200
tx retries:	26665
tx failed:	2506

With the notebook only 6.2% of the transmits failed on 0.66 retries per package


rx packets:	85802
rx drop misc:	67

0.08%

If you check the connection, https://wiki.archlinux.org/index.php/Ne … cess_point
Do you use the same protocols/channels?

What if you pass "rt2800usb.nohwcrypt=1" to the kernel?

Offline

Board footer

Powered by FluxBB