Issue #3298
strategies to improve strongswan performance per single SA
Description
hello,
Im searching for the ways to improve performance System interrupts and load balancing between multiple cores/threads.
so far this command seems lower CPU by ~5%. - tuned-adm profile network-throughput,
tried to improve the RPS: by command:
echo "fff" | tee /sys/class/net/p1p1/queues/rx-{0..11}/rps_cpus
echo "fff" | tee /sys/class/net/p1p2/queues/rx-{0..11}/rps_cpus
echo "fff" | tee /sys/class/net/p2p1/queues/rx-{0..11}/rps_cpus
echo "fff" | tee /sys/class/net/p2p2/queues/rx-{0..11}/rps_cpus
after this the load started not loadbalancing between cores, but the process itself started to jump beetween all cores.
Any more suggestions ?
Thanks
Related issues
History
#1 Updated by Edvinas Kaikaris about 1 year ago
also, by "improving" rps, the system interrupts almost doubled.
#2 Updated by Edvinas Kaikaris about 1 year ago
Edvinas Kaikaris wrote:
also, by "improving" rps, the system interrupts almost doubled.
I'm planning to try increase default queue counf from 12 to 64.
sudo ethtool -L p1p1 combined 64
sudo ethtool -L p1p2 combined 64
sudo ethtool -L p2p1 combined 64
sudo ethtool -L p2p2 combined 64
and to try to swtich off the
TSO and GSO features.
Maybe you have any other recommendations ?
ethtool -K [] tso off
ethtool -K [] gso off
#3 Updated by Tobias Brunner 5 months ago
- Related to Issue #3122: Strongswan software iterupts added