Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 11:25:23 -0500
From:      "Grooms, Matthew" <MGrooms@seton.org>
To:        <freebsd-pf@freebsd.org>
Cc:        rwatson@freebsd.org, IS-Network <Netadmin@seton.org>
Subject:   pf performance issues ...
Message-ID:  <28FCC7CB4CF6EA43AF83BCA2096E97D013E572@AUSEX2VS1.seton.org>

next in thread | raw e-mail | index | archive | help
     I am seeing some pretty severe performance issues with pf+pfsync on =
FreeBSD 5.4-REMEASE and would like to get some advice on tuning for a =
largish environment. I have had some traffic moving across these =
firewalls for a few weeks without issue but had not pointed our default =
route to it until this morning.
=20
     Although processor utilitzation was very low ( 2-5% ), throughput =
on the firewall was very very poor. TCP connections were in some cases =
taking 15-30 seconds to setup and in other cases never did. We had to =
revert our default route to an older firewall to keep operations going.
=20
     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 ).
=20
     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?
=20
Thanks in advance,
=20
Matthew Grooms



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28FCC7CB4CF6EA43AF83BCA2096E97D013E572>