-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MT7981: MT7915_TX_RING_SIZE > 300 affects performance #902
Comments
Confirmed on MT7915E as well. Interesting discovery. |
I got a speed check. It really improved. |
I still wonder why we need so large buffers for TX. Perhaps it affects all wifi5 (and higher) devices that this driver handle. There is one commit with quite interesting description: dbea515 On the other hand I wonder how about performance when multiple clients are connected, maybe here we need larger ring sizes. From previous commits it looks like increasing ring size fixes performance, on heavy load. |
FWIW, it does seem that the MT7986 is unaffected by this same issue: Device: GL.iNet GL-MT6000 MT7915_TX_RING_SIZE = 2048
AP --> STA
|
@romanovj I'll see if I can confirm |
@rany2 Were you able to test after removal of the |
@Fail-Safe I forgot to update the issue but it does indeed reduce the retry count on an 802.11ac Android device (it went from several thousand retries in the first second to 1-2 which is reasonable). I dropped it on my tree but it is worth noting that I didn't have this issue everywhere (for example, with Intel AX201 as client this issue doesn't appear). |
that's shouldn't be like this, right? Should I open another issue? |
Perf diff 2048 vs 256 MT7915_TX_RING_SIZE with iperf3 on device. More traffic -> more cpu usage -> less idle calls.
how to find function 0x0000000000000098 in mt76? should I build module with -O0? |
Two devices with MT7981 with the same drivers 05-17-2024,
without WED,
160Mhz AX,
AP <-> STA,
iperf3 on devices. single stream
MT7915_TX_RING_SIZE = 2048
STA ---> AP
AP ----> STA
MT7915_TX_RING_SIZE = 256
STA ---> AP
AP ----> STA
The text was updated successfully, but these errors were encountered: