I’m running OpenWRT on a nanopi R4S with SQM on a 500/70 connection, I’ve read that I need to change some settings so SQM run on the higher CPU, I’m not family with the CMD but the GUI I’m okay.
I’ve tried doing it myself following guids but it’s just to much advanced for me to complete, I’ve contacted the guy who did the guild to change the required settings and he said he would do it via a remote link, but as I don’t know this person I’m unsure to proceed
Guide:
Disable SQM and reboot device
Measure https://www.waveform.com/tools/bufferbloat -> this good if you want link without IP to post here (alternative: https://speed.cloudflare.com)
Now take half of achieved upload bandwidth (megabit equals 1024 kilobits, not 1000) and set download to 0
Splice in half up until latency starts to rise and step back.
Repeat with download (note you have less control here, it may have jitter and stuff as provider's exchange points are overrun by your co-customer traffic)
Observe system load with e.g. htop and choose the script and scheduler to strictly keep all CPU-s under 100%
If you restart or change settings with SQM, it will reset the CPU affinity and you will need to re-apply settings.
Putting the commands in rc.local should work, assuming the IRQ numbers are somewhat static, which they seem to be. You may want to double check the IRQ numbers in /proc/interrupts and then do a reboot and check again to make sure they stay the same.
For 500 Mb/s you should not hit any limits with the default settings, you can try These settings if you want to play around with things.
As already mentioned your cpu affinity settings is getting reset if you do changes to sqm, not the other way around, but if you apply the settings i linked you can just reboot and the affinity is applied again.
I think the issue is that SQM just reveals the consequence of a big little design, where the little cores have lower CPU IDs, at least that is my cursory analysis. Without receive packet steering both shaper instances not only end up on the same CPU but also on a "not so fast" one.
This would be same for similar loads, but sqm tends to be one obvious candidate for that specific load pattern that needs some manual help.
This is what I’m struggling to achieve, when it comes to cmd everything just goes over my head, but with the Web gui im perfectly fine and know my way around.
Maybe you could start by showing your SQM settings, and run Waveform bufferbloat test before and after applying SQM and post links to the result.
Will make it much easier to help you move forward.