Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2013 13:15:04 +0100
From:      =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org>
To:        Kajetan Staszkiewicz <vegeta@tuxpowered.net>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org>
Subject:   Re: [patch] Source entries removing is awfully slow.
Message-ID:  <CAPBZQG3B1-wcmWpUDwsDxLgaQkNHwSRR8ZTeOgs=8ZNRNTJPPA@mail.gmail.com>
In-Reply-To: <CAPBZQG0Jj_c-XvVJNV2S02xcitr%2Bnhs%2BmV=GjJm3YeM6iPUX7g@mail.gmail.com>
References:  <201303081419.17743.vegeta@tuxpowered.net> <CAPBZQG2bb2xzPB2UoPUDx-ifyBdmjac6b8kV76DTPBUzLCDmJw@mail.gmail.com> <201303082151.00895.vegeta@tuxpowered.net> <CAPBZQG0Jj_c-XvVJNV2S02xcitr%2Bnhs%2BmV=GjJm3YeM6iPUX7g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Also do not forget to rebuild pfctl so that statistics are shown correctly.


On Sat, Mar 9, 2013 at 1:14 PM, Ermal Lu=C3=A7i <eri@freebsd.org> wrote:

>
>
>
> On Fri, Mar 8, 2013 at 9:51 PM, Kajetan Staszkiewicz <
> vegeta@tuxpowered.net> wrote:
>
>> Dnia pi=C4=85tek, 8 marca 2013 o 21:11:43 Ermal Lu=C3=A7i napisa=C5=82(a=
):
>> > Is this FreeBSD 9.x or HEAD?
>>
>> I found the problem and developed the patch on 9.1.
>>
>> Can you please test this more 'beautiful' patch.
> Its similar to yours but also delays src state removal to the proper purg=
e
> thread.
>
> Though the src node removal option through pfctl -K does a lot of job to
> cleanup things
> Still need to undertand why it takes so much time for you to loop through
> 500K states.
> The purge thread does that every tick by partitioning it to a few per tim=
e
> slot but still minutes is way loong.
>
> Can you please try to give a top -SH view of the time when this happens
> and a pfctl -vvsa output?
>
>
>
>> --
>> | pozdrawiam / greetings | powered by Debian, CentOS and FreeBSD |
>> |  Kajetan Staszkiewicz  | jabber,email: vegeta()tuxpowered net  |
>> |        Vegeta          | www: http://vegeta.tuxpowered.net     |
>> `------------------------^---------------------------------------'
>>
>
>
>
> --
> Ermal
>



--=20
Ermal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG3B1-wcmWpUDwsDxLgaQkNHwSRR8ZTeOgs=8ZNRNTJPPA>