Project

General

Profile

Actions

Correction #12861

closed

pfSense hardware tuning guide references obsolete interface loader variable & buffer limits

Added by David Burns over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Hardware
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:

Description

Some quick feedback on the online doc https://docs.netgate.com/pfsense/en/latest/hardware/tune.html

1. There is a reference to hw.igb.num_queues="1". As I understand it this sysctl was removed from FreeBSD 12 due to driver changes (so reference needs to be corrected for pfSense+ 21.x docs onwards)
NB for igb interfaces the former sysctl hw.igb driver tunables are now located under hw.em

2. There are several suggestions to increase kern.ipc.nmbclusters to 1000000 with advice
That number can be again be doubled or more as needed, but be careful not to exceed available kernel memory. On 64 bit systems with multiple GB of RAM, set it to 1 million (1000000).
Maybe include information on the size of a nmbcluster (2kB)? Although FreeBSD does not pre-allocate the buffer memory - a more conservative tuning suggestion may be to use no more than 25-50% of available memory to avoid possible memory exhaustion from DoS attacks?

Actions

Also available in: Atom PDF