I recently noticed that on my vyos 1.4 kvm vm with 8 cores one core is few times more loaded with soft irqs comparing to others. Is there a way to troubleshoot the issue? Is it possibble to install sysstat on vyos ?
“sudo top” and press “1” shows which process utilize one core
Not that simple, Viacheslav.
Top does not show visible differences.
But /proc/interrupts shows much higher counter value for cpu7 and virtio-input
# cat /proc/interrupts |grep input
25: 0 0 0 475451 0 0 0 0 PCI-MSI 49153-edge virtio0-input.0
30: 0 0 0 0 0 0 0 **10442092** PCI-MSI 163841-edge virtio5-input.0
33: 0 0 264601 0 0 0 0 0 PCI-MSI 180225-edge virtio6-input.0
36: 0 0 0 0 0 5791657 0 0 PCI-MSI 196609-edge virtio7-input.0
39: 3044733 0 0 0 0 0 0 0 PCI-MSI 212993-edge virtio8-input.0
42: 0 0 0 0 0 0 0 0 PCI-MSI 229377-edge virtio9-input.0
45: 0 0 0 0 0 0 0 0 PCI-MSI 245761-edge virtio10-input.0
48: 0 279869 0 0 0 0 0 0 PCI-MSI 262145-edge virtio11-input.0
CPU load:
things changed after turning on RPS for ethernet interfaces
$ for i in 0 1 2 3 4 5 6 7; do cat /sys/class/net/eth$i/queues/*/rps_cpus; done
00
ff
ff
ff
ff
00
00
ff
Out of the blue, any reason for why it wouldnt be recommended to have (all) the offloading enabled?
Im thinking since by default they are all disabled?
set interfaces ethernet offload <gro | gso | lro | rps | sg | tso>
show interfaces ethernet physical offload