The best OpenWrt settings for the Xiaomi 4A Gigabit Router?

What are the most performance-optimized, long-term stable settings for this device, and which plugins should be installed?

What kind of performance?
Routing
Wifi
SQM

What use case ?

I'm a regular home user with a fiber optic line. My 200 Mbps download and 30 Mbps upload device doesn't support two-way SQM, so I can only open SQM on the upload side. I'm asking for the most stable and trouble-free internet experience. So, I want to configure the modem once and set it up so it won't be interfered with again.

Change wifi SSID, set encryption, channel (or auto) and country.

Done.

You don't own a modem.

See the above.

I don't understand what you're saying. I own a router. I'm only asking for the most stable settings. I'm asking for the entire system. I didn't ask for just Wi-Fi.

You received an answer for the entire system.

I am asking you which other container should I install after installing the m2 adblock etc. packages for the most stable system.

No you didn't.

You asked about most stable use, and it contradicts additional packages, esp adblockers, since they eat RAM and can cause OOMs.

So I'm asking how can I use it most stable?

And you got your answer, three times now, set up wifi, and walk away.

So I install another package?

No, the opposite.

1 Like

Take this test
https://www.waveform.com/tools/bufferbloat
Save result links, like keep tabs open
First - go to firewall and repeat tests at two other offload levels.
IF they yield better bandwidth and latency than default setting - thats it - bottleneck is SoC speed and leave with offloads.

IF not switch back to no offload

Now SQM - set only upload speed, half of acheived bandwidth of upload and zero for download - then halve the reminder until upload latency starts to rise and make a step back
(typically 90-05% of bandwidth will be optimal, you can blindly apply this)
IF again you feel CPU is at fault use codel in place of cake and remeasure these steps.

If you feel adventurous:
some day in future qosmate (not package) will permit usage along soft offload.
also you can try making a new br-wan over wan port, then you can do soft offload between br-lan and br-wan while sqm on the physical interface, may not suffice for bi-directional 250Mbps qos

Thank you very much, I will do the partition you mentioned in a moment. If you use it like this, will there be an increase in VS ping? When Qosmate arrives, will I be able to run two-way sqm on this device?

this way right now

Is the qosmate release date known? How do we install it?

3 Likes

If you dont measure base you do not get a measure of improvement.

1 Like

As you said, I divided the network and it worked first, but after 5 minutes the same situation happened again.

You were kind of told otherwise. Re-read the thread, presend measurements to validate numbers you enter. 3000000 is too much for 90% of 30Mbps and you have to leave other field empty. Otherwise with the high download bandwidth you will just over load your CPU.

Are my interface settings correct?