just wanted to leave a short note because i ran in an issue after upgrading from 26.1.11 to 26.7.1 on a protectli vp2420.
after upgrading i noticed that the download throuput was roughly half of befor the upgrade.
i also noticed a increased rtt, rttd times during the speedtest.
first i blamed the internet provider of course ;) . as an old it vetran i have learnd that the root cause is always the network (just a joke).
turned out that following settings solved the problem:
net.isr.bindthreads: 1
net.isr.numthreads: 4
net.isr.maxthreads: 4
the original values:
net.isr.bindthreads: 0
net.isr.maxthreads: 1
net.isr.numthreads: 1
if i think about it, the original values dont make much sense for a 4 core system but worked for 26.1.11. However they did not for 26.7.1
keep in mind this is for a protectli vp2420 4 cores.
have a good time
t.
Are those settings in the tunable section ? I don't see them there. i have the same vp2420 as you. Thank you
they are not there per default.
you have to create them.
in the opnsense webgui go to system/settings/tunables
in the right bottom section click the plus button.
an edit tunable window appears.
tunable is the name of the tunable variable
value of course the value
and description what ever you like
t.
There's a section in the documentation for that:
https://docs.opnsense.org/troubleshooting/performance.html
Looks like you could set "maxthreads" to -1 to use however many cores your system has automatically. And you should possibly check "bits".
For context, does this only affect the SFP+ ports (Intel X710) on the VP2420?
Asking because I recall reading somewhere that the 'igc' driver does RSS by default and those tunables would not be needed for the 2.5GbE interfaces. Can confirm that, at least on the V1410 that I own with all i226-V NICs, that is indeed the case. I have 4 RX/TX queues active with the default tunables.
my vp2420 has no sfp+ ports
it has 4 i225-v (revision 3)
it is absolutly possible that some tunable values exist due to former upgrades; it was not a fresh install.
the interesting part is, that the not optimal settings worked under 26.1.11
D'oh! I was thinking of the VP2440. Sorry.