Actions
Todo #14750
closed
MM
MM
Automatically configure PF states hash table size
Todo #14750:
Automatically configure PF states hash table size
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
23.09
Release Notes:
Default
Description
See net.pf.states_hashsize in pf(4):
Size of hash tables that store states. Should be power of 2. Default value is 131072.
States are locked per hashrow, so if there are a lot of them in the same row they contend on the same lock (and that’s also the lock needed when exporting state information to userspace). One or two states per row is ideal.
Actions