Low Wifi performance on Netgear R6220 and Netgear WNDR3700 after upgrade to 23.05.0

I'm having an issue with slow Wifi (2.4 is really bad but both 2.4 and 5 on 23.05.0 are both very slow compared to 22.03.5). I upgraded all of my routers from 22.03.5 to 23.05.0 on the same day. My fault for not extensively testing a couple of them first but it looks like I'm going to have to downgrade until the issues are resolved. It doesn't appear to be specific to a particular device as the same issue is happening on 2 different models (Netgear R6220/MediaTek MT7621 ver:1 eco:3 and Netgear WNDR3700 v2/Atheros AR7161 rev 2). Will downgrade one now and verify if issue remains.

EDIT: Dowgraded one of them back to 22.03.5 and speeds are back to normal.

@tknauer - this thread is about x86, not the routers you've discussed. Would you like me to move your post into a new thread?

Ah, sorry about that. I saw a couple of threads about the Wifi Performance on 23.05.0 and this one looked most appropriate. Sure, you can move it to wherever it is most appropriate. Thanks! P.S. I did just downgrade to 22.03.5 and confirmed the problem doesn't exist there.

It's not really possible to discuss this, without:
a) the exact wireless configuration (might differ, some settings can have a performance impact, so you may be comparing apples with oranges)
b) comparing the measurements (e.g. iperf3) for both cases

In general, the WNDR3700 is showing its age, both in terms of CPU/ wireless speed (and yes, over time there will be some -limited- regression observable) and in terms of the hardware aging.

The r6220 should be better in this regard.

I'm using this device as an AP(23.05) and see no difference of wifi speed from 22.03. So it may be hardware or wifi configuration related.

I have a wndr3700v5 which is almost the same as the single core r6220, but with 16MB flash. (Not at all like previous wndr3700s)

No problems here either. 23.05.0 in production usage with adblock (nothing too fancy, just big OISD)

1 Like

@tknauer could be related to DSA implementation in new 23.05.0 version.
In a single core device should be no difference, but in a multicore device could be problems in performance.

Take a look here Distribute DSA across 2 different cores MR8300 SNAPSHOT

DSA was already implemented in 22.03 for mt76 (R6220), and is not for ath79 (3700).

1 Like

This time DSA is not guilty!! :rofl:

2 Likes

Adding more info per request. It also appears that this is only a 2.4G issue. I am not seeing a problem on 5G. I upgraded the R6220 back up to 23.05.0 and did some testing between the two versions.

Images used:
openwrt-22.03.5-ramips-mt7621-netgear_r6220-squashfs-sysupgrade.bin
openwrt-23.05.0-ramips-mt7621-netgear_r6220-squashfs-sysupgrade.bin

/etc/config/wireless on v22.03.5:

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option band '2g'
        option htmode 'HT20'
        option cell_density '0'
        option channel '5'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option key 'MyPSK'
        option encryption 'psk-mixed'
        option ssid 'MySSID'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
        option channel '44'
        option band '5g'
        option htmode 'VHT80'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option key 'MyPSK'
        option ssid 'MySSID-5G'
        option encryption 'psk-mixed'

wireless config after upgrade to 23.05.0:

config wifi-device 'radio0'
	option type 'mac80211'
	option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
	option band '2g'
	option htmode 'HT20'
	option cell_density '0'
	option channel '5'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option key 'MyPSK'
	option encryption 'psk-mixed'
	option ssid 'MySSID'

config wifi-device 'radio1'
	option type 'mac80211'
	option path '1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
	option channel '44'
	option band '5g'
	option htmode 'VHT80'
	option cell_density '0'

config wifi-iface 'default_radio1'
	option device 'radio1'
	option network 'lan'
	option mode 'ap'
	option key 'MyPSK'
	option ssid 'MySSID-5G'
	option encryption 'psk-mixed'

Only see one minor difference between the two:

$ diff wireless-2*
4c4
< 	option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
---
> 	option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'

Here is a set of speed tests from 22.03.5:

After upgrading to 23.05.0 here is a set of speed tests.

Note the first test within a few minutes after the upgrade appeared to be fairly normal but the following tests show the issue. All of the tests were performed over about a 5 minute period but it seems the problem remains no matter how long the router is up.

Here's a before and after test on 5G, no problems here:

And no problems on Ethernet ports:

Linux client on 22.03.5 2.4G:

Linux client on 23.05.0 2.4G:

Sorry for the Google Drive links. I tried to upload the images but this forum seems to only allow one image per post. Let me know if more information is needed.

This loosely reminds me something I read in another thread ...
Quick and dirty solution would be to erase the wifi config and rebuild it.

All your tests were performed online? So they involved also routing and internet traffic.
Perform tests from LAN to wifi, I'm using huge file transfers for example. No routing, no internet.

I noticed you mentioned you're using the R6220 yourself and see no issues. You've tested 2.4G? What does your wireless config look like? Regarding were all my tests over the internet, no I also noticed streaming video from my Raspberry Pis that were connected to the router almost impossible, or anything other network functions between local devices.

config wifi-device 'radio0'
	option type 'mac80211'
	option path '1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
	option band '2g'
	option htmode 'HT40'
	option txpower '17'
	option country 'FR'
	option cell_density '0'
	option channel '11'
	option noscan '1'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid 'somessid'
	option encryption 'psk2'
	option key 'somepassword'

I'm poorly using 2.4Ghz, just to transfer some files to a vintage laptop. All other devices are using 5GHz.

Yeah, my 5G works fine, it's just the 2.4G that is the issue. Unfortunately Raspberry Pi Zeros only support 2.4G. It looks like your "path" is the same as my path in the 23.05.0 version. Your also HT40 instead of HT20, but HT20 works in 22.03.5 so I would think it should work in 23.05.0. Hmmm.... Could you do some transfer tests on your 2.4G connection?

The new pci driver resulted in new pci port number. anyways this is probably not the issue since it was fixed.

1 Like

That is interesting in that the port does have a 2 instead of a 1 after the upgrade. I would think if the port was wrong it wouldn't work at all but your link makes it sound like it might work, just not correctly. Hmmmm, I might upgrade the device again and change the port back to the pci path with a "1" and see what happens. Of course badulesia's path has the "2" and is claiming his is working fine. Although I am sure the config reflects whatever the kernel assigned. I'll wait to hear back if he can verify his 2.4 is working correctly.

I remember such thing when I tried 5.15 snapshot back to this spring. I think I restarted the configuration from scratch.

I remember I flashed a snapshot shortly before that fix. I think it stopped working on one of the radios and 5g became 2g or something like that. I had to create a new wifi and luci thought I had 3 radios until I reset everything and redid my config and everything was ol. (Not 100% sure I remember correctly but you get the gist of it)

Thought it was weird, then I saw that fix and flashed a new snapshot and it’s been working fine since.

1 Like

Now I'm questioning my sanity. :slight_smile: I upgraded this particular device for a third time and it "seems" to be working much better (so far). I don't think I did anything any differently from the previous two times. I have two of these R6220 devices, one of them I left downgraded to 22.03.5 and the other one I've been playing with is on 23.05.0. You see the screenshots from the tests earlier today that show things come to a screeching halt on 2.4G. Right now I'm not seeing that significant of a problem. The 23.05.0 router is still a little slower but not significantly.

I installed iperf on both routers and my Linux laptop and tested speeds in both directions connected to both routers on 2.4 and the performance isn't cripplingly slow like it was earlier (and over the last week after upgrading). I'm getting around 20Mbps which isn't great but it's better than 0.5Mbps.

I will let it run and continue to monitor.

1 Like

I don't understand why but everything still seems to be running fine. I'll give it another day and if everything stays the way it is I'll mark it solved.

1 Like