OPNsense Forum

English Forums => Hardware and Performance => Topic started by: spetrillo on May 28, 2020, 07:39:24 PM

Title: Tunables Section
Post by: spetrillo on May 28, 2020, 07:39:24 PM
Is there anything here that I should be using on a default basis?
Title: Re: Tunables Section
Post by: franco on May 29, 2020, 09:14:31 AM
Can you rephrase your question? I'm not sure what you are asking.


Cheers,
Franco
Title: Re: Tunables Section
Post by: spetrillo on May 29, 2020, 05:54:21 PM
Sorry if I was not clear...

I am merely asking if there are any tunables that make sense to use by default, where I would believe most are used in specialized cases?
Title: Re: Tunables Section
Post by: hushcoden on May 29, 2020, 11:37:15 PM
I'd start with those ones: https://teklager.se/en/knowledge-base/opnsense-performance-optimization/
Title: Re: Tunables Section
Post by: franco on May 30, 2020, 10:59:58 AM
Most on/off defaults are set for specific use cases and should be changed with care.

Buffer size based defaults can be tweaked and a lot of those exist like hushcoden suggested.


Cheers,
Franco
Title: Re: Tunables Section
Post by: spetrillo on June 02, 2020, 07:02:10 PM
I am curious to understand more about the following changes:

hw.igb.rxd="2048"
hw.igb.txd="2048"
net.link.ifqmaxlen="4096"

I am noticing that memory usage went up dramatically when I implemented these. Is this ok? I have Intel i210-AT NICs.
Title: Re: Tunables Section
Post by: hushcoden on June 05, 2020, 09:06:01 PM
You can find some info here: https://calomel.org/freebsd_network_tuning.html