pf performance issues ...

Scott Ullrich sullrich at gmail.com
Tue Jun 28 16:29:25 GMT 2005


On 6/28/05, Grooms, Matthew <MGrooms at seton.org> wrote:
[snip]
>      This is a dual 3GHz amd64 box ( UP kernel at the moment ), with 4 gigs of ram and 6x em interfaces. It is mostly a stock kernel with pf,pfsync,carp and altq ( but no altq rules ) support compiled in and ipv6 disabled ( config attached ).

Is this running natively as 64 bit or i386 32bit?
 
>      Am I running into a limit on some kernel tunable? After a few minutes of routing traffic to pf setup, the state table had approx 10000 entries in it. Are there some global pf limits to tweak or should it scale well out of the box? The internet connection is only 7Mbit so I am at a loss. Is there a cache or buffer limit somewhere I should watch? Any ideas?

I believe the default state limit size is 10,000.   Could you be
hitting this number and then noticing the slowdown because your out of
state entries?

Scott


More information about the freebsd-pf mailing list