Hi,

I previously posted about a problem I was seeing when using TEE in a
heavy-duty Shorewall router. If anyone ever comes up with a sluggish
network with ping loss and the likes, check your FW's processes and
look for ksoftirqd. You should see one for every CPU core. If CPU
usage per process is high, and if you also experience sporadic ping
loss to the FW then check /proc/interrupts.
Search for the eth*/enp* device/s with the highest interrupts.
Then check the card info with lspci -vv. Look for MSI and MSI-X. If
you see "Enable-" then enable CONFIG_PCI_MSI in your kernel source and
rebuild it.
If you don't see MSI or MSI-X then buy a new NIC.
If you have a lot of packets going through the router then get a NIC
with MSI-X support.

Change your busiest NIC, reboot the kernel and your lspci should show
you something like this:

  Capabilities: [70] MSI-X: Enable+ Count=10 Masked-

I don't know what "Count" means here, but I guess that the higher, the better.

Thanks,

Vieri


_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to