No ... the commands are fine - the irq's are invalid or not relevant - but that's OK, since you aren't actually running them - but somehow, adding two lines of incorrect code that doesn't even run ... "seems to be working"
Just to give some context on what's possible, I can easily get 800+ Mbps through my squid proxy on my RPi4 while running my custom HFSC shaper. Just regular routing and SQM should be no problem once you spread the load over the CPUs.
Yes. See above I edited my comment to include info on moving the USB interrupt. Most likely the eth0 interrupt is split between send and receive which is why 2 of them
It might be due to the way I entered the commands - the Wi-Fi timer was above the irq commands.
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
wifi up && sleep $((15*60)) && wifi down
echo 2 > /proc/irq/31/smp_affinity
echo 4 > /proc/irq/39/smp_affinity
echo 8 > /proc/irq/32/smp_affinity
exit 0
I've changed it to this.
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
echo 2 > /proc/irq/31/smp_affinity
echo 4 > /proc/irq/39/smp_affinity
echo 8 > /proc/irq/32/smp_affinity
wifi up && sleep $((15*60)) && wifi down
exit 0
I'm now waiting for my router to reboot again. It seems to be very slow to reboot at the moment. It it waiting for the wifi timer to expire before executing the command?