Open HuaZ opened 2 months ago
What about a different channel? Is it the same with 40Mhz?
Hi @HuaZ
Some questions:
What numbers are you seeing for latency and how are you testing latency?
You do realize that you are using the most modern version of the firmware with a version of the driver that is basically the very oldest version?
What RasPi hardware are you using?
I see you are using a 32 bit version of the RasPi OS (Raspian at that time possibly) which may indicate a very old RasPi device. I have seen cases with very modern usb wifi adapters where the RasPi simply could not keep up with the adapter... CPU limitation.
What about a different channel? Is it the same with 40Mhz?
thanks, "192.168.50.1 is the gateway IP address which base on the Route Netgear RX80.
Hi @morrownr thanks
Hi @HuaZ
Some questions:
What numbers are you seeing for latency and how are you testing latency?
To ping the gateway ip address 192.168.50.1, the below is the result , one is 2.5ms, the next is 328 ms. I use my laptop(windows11 and intel AX211) to ping the same IP address. the times are <3ms.
pi@raspberrypi:~ $ ping 192.168.50.1
PING 192.168.50.1 (192.168.50.1) 56(84) bytes of data.
64 bytes from 192.168.50.1: icmp_seq=1 ttl=64 time=2.50 ms
64 bytes from 192.168.50.1: icmp_seq=2 ttl=64 time=328 ms
64 bytes from 192.168.50.1: icmp_seq=3 ttl=64 time=2.43 ms
64 bytes from 192.168.50.1: icmp_seq=4 ttl=64 time=375 ms
64 bytes from 192.168.50.1: icmp_seq=5 ttl=64 time=5.05 ms
64 bytes from 192.168.50.1: icmp_seq=6 ttl=64 time=319 ms
64 bytes from 192.168.50.1: icmp_seq=7 ttl=64 time=2.39 ms
64 bytes from 192.168.50.1: icmp_seq=8 ttl=64 time=365 ms
64 bytes from 192.168.50.1: icmp_seq=9 ttl=64 time=2.94 ms
64 bytes from 192.168.50.1: icmp_seq=10 ttl=64 time=311 ms
64 bytes from 192.168.50.1: icmp_seq=11 ttl=64 time=2.05 ms
64 bytes from 192.168.50.1: icmp_seq=12 ttl=64 time=357 ms
You do realize that you are using the most modern version of the firmware with a version of the driver that is basically the very oldest version?
Yes, I followed the solution for a similar issue as described in the following link to upgrade the firmware, but it doesn't seem to have achieved the desired effect. https://forums.debian.net/viewtopic.php?t=153490
What RasPi hardware are you using? RasPI4 model B
I see you are using a 32 bit version of the RasPi OS (Raspian at that time possibly) which may indicate a very old RasPi device. I have seen cases with very modern usb wifi adapters where the RasPi simply could not keep up with the adapter... CPU limitation.
yes, it is armhf version. dpkg --print-architecture armhf
I also tried to disable the power-saving mode of the chip, but it doesn't seem to have any effect. Are there any other troubleshooting methods you can suggest, or any recommended versions of the driver and firmware? thanks
Update: Although the ping time is unstable, there doesn't seem to be any issues with the actual traffic.
@HuaZ
If this becomes a problem, check back in with a report. Keep in mind that various things beyond the control of the driver can cause ping issues.
@HuaZ
I ran across the following quoted from a user of a mt7922 card:
Throughput jitters on MT7922 cards. You might try to disable power management for that card by adding the line options mt7921e disable_aspm=Y
to the file /etc/modprobe.d/mt7921.conf
. This setting flattened out the valleys in my throughput
graphs.
Let us know what you find out.
@HuaZ I'm experiencing a similar issue on my CF-953AX connected to a Pi4B. I've just switched from an USB3 port to an USB2 one. Currently, the latencies are stable.
@HuaZ
Some things to try:
Disabling scatter-gather could help for USB3. If you do not know how, let me know. I'm in a hurry right now.
Making sure you are not trying to use more power than the Pi can provide in its usb subsystem. You would need to provide a list of things that are plugged into usb ports if you want an opinion as to whether this could be a problem.
USB3 is not mankind's greatest invention. It can be problematic and RasPi has not helped by using a poor hub chipset and not providing spec power.
Checklist
uname
Linux raspberrypi 5.19.17-v7l #1 SMP Wed Sep 20 12:06:15 CST 2023 armv7l GNU/Linux
lsusb
Bus 001 Device 003: ID 3574:6211
rfkill
0: phy0: Wireless LAN Soft blocked: no Hard blocked: no
dkms
iw
What happened?
I used COMFAST Model:CF-952AX with MT7921u driver on the Raspberry Pi 4B
which works, but with really high latencies。 I have also tried some older firmware versions, and the situation is the same.
Any suggestions? thanks a lot.