OPNsense Forum

English Forums => Hardware and Performance => Topic started by: vicking on October 22, 2024, 05:32:40 PM

Title: Performance guide question
Post by: vicking on October 22, 2024, 05:32:40 PM
Hi all,

For my system I followed this guide;

https://docs.opnsense.org/troubleshooting/performance.html

But there is one thing of which I am not sure what value to use.

net.inet.rss.bits = X
This one is dependent on the amount of cores you have. By default the amount of bits here represent the amount of cores x 2 in binary. This is done on purpose to provide load-balancing, though there is no current implementation for this so we recommend setting this value to the amount of bits representing the number of CPU cores. This means we use the following values:

for 4-core systems, use '2'
for 8-core systems, use '3'
for 16-core systems, use '4'
Etc.

I have a 6 core Intel 9500T and don't know if I should use 2 or 3 now.

Any ideas? Thanks!
Title: Re: Performance guide question
Post by: abulafia on October 23, 2024, 12:04:29 AM
Use 2. Four cores is plenty enough.
Title: Re: Performance guide question
Post by: fadern on October 23, 2024, 10:34:13 PM
What to set for a 2 core system?
Title: Re: Performance guide question
Post by: abulafia on October 28, 2024, 11:32:11 AM
Quote from: fadern on October 23, 2024, 10:34:13 PM
What to set for a 2 core system?
1, obviously :-) (2^1=2)
Title: Re: Performance guide question
Post by: fadern on October 28, 2024, 02:03:58 PM
And if you are lazy like me..
https://calculat.io/en/number/dec-to-bin/2
Use the bit position...