Yes, I disabled it and download speed went back up.
Interesting, when I did SQM throughput tests some time ago (either with TOS4 or TOS5) enabling packet steering (for both CPUs) actually increased the bidirectionally reliable shaper rate from ~500/500 to 550/550 Mbps, but that was on a much older kernel and… I guess I need to repeat these tests again…
After reading this thread I wonder if there is any reason at all to expose the packet steering option for any Turris product. Is it anything more than a gotcha waiting to bite anyone foolish enough to turn it on?
In the past it gave an additional 10% in a pretty demanding test, so the question is what happened in between…
However regarding your question, reforis does not expose this, you have to log in via ssh or luci to activate paket steering, so this will not surprise people that did not manually enable it in the first place…
Turris OS 6.4.2, same problem, fresh installation. Internet line 1Gbit. But I was able to get around 720Mbit download max. First core 100%, second ±0%.
I tried to enable Packet Steering - no effect.
I tried to play with irqbalance. But I was not able write to smp_affinity
echo 1 > /proc/irq/48/smp_affinity
ash: write error: I/O error
Then I tried to change Network queues to use all cores by using this command:
echo 3 > /sys/class/net/eth0/queues/rx-0/rps_cpus
echo 3 > /sys/class/net/eth1/queues/rx-0/rps_cpus
echo 3 > /sys/class/net/eth2/queues/rx-0/rps_cpus
And suddenly I was able to download at max of my line speed. Both cores were working…
Question is, what does it brake? Potentional security issues? Shall I keep this setting?
This is what packetsteering is supposed to do, distribute softIRQ processing across CPUs, however, the default script does exclude the CPU handling the NIC’s hard interrupt, which on a dual core router does not help all that much…
Indeed it’s better. Nice.
Hi, to help all others, could you summarize what changes from default you had to apply? Thanks!
On TOS 6.5.2 still one core is used by default, but the speed now goes as high as 890 Mbit/s.
This workaround still gives full speed:
I’m using the latest TOS 6.5.2
And i have a 1.5/1 gbs internet connection (using turris sfp+)
Packet steering gives me a light speed advantage (no SQM)
I can get up to cca 1580 Mbps download and 1080 Mbps upload from the device
and cca 920 Mbps for download and upload from a LAN connect device behind NAT
the CPU is used mostly by the speed test apps on the device
from the LAN with NAT
And still ok on 7.0 RC