Project

General

Profile

Todo #14750

Updated by Marcos M about 1 year ago

See @net.pf.states_hashsize@ @net.pf.source_nodes_hashsize@ in pf(4): 
 > Size of hash tables table that store states. source nodes. Should be power of 2.    Default value is 131072. 32768. 

 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.

Back