Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Oct 2011 20:47:31 +0200
From:      =?ISO-8859-1?Q?Ermal_Lu=E7i?= <eri@freebsd.org>
To:        Gleb Smirnoff <glebius@freebsd.org>
Cc:        nerijus.ambrazas@ktu.lt, bug-followup@freebsd.org, freebsd-pf@freebsd.org
Subject:   Re: kern/114095: [carp] carp+pf delay with high state limit
Message-ID:  <CAPBZQG0yrf969eqCuSKAqpxWZUXgOdYMVBHxq4cr2y7GT0E-xA@mail.gmail.com>
In-Reply-To: <20111017131742.GC51949@glebius.int.ru>
References:  <201110151420.p9FEKulv026435@freefall.freebsd.org> <CAPBZQG0BU3ARwC7XwKjk1qy-1PYETGuLNDkYk3S=XFrXh4VYEQ@mail.gmail.com> <20111017131742.GC51949@glebius.int.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
2011/10/17 Gleb Smirnoff <glebius@freebsd.org>:
> On Mon, Oct 17, 2011 at 02:18:38PM +0200, Ermal Lu?i wrote:
> E> On Sat, Oct 15, 2011 at 4:20 PM, =A0<glebius@freebsd.org> wrote:
> E> > Synopsis: [carp] carp+pf delay with high state limit
> E> >
> E> > State-Changed-From-To: open->closed
> E> > State-Changed-By: glebius
> E> > State-Changed-When: Sat Oct 15 14:20:00 UTC 2011
> E> > State-Changed-Why:
> E> > Not a bug. This is a feature. pfsync(4) suppresses carp(4)
> E> > preemption until new recently booted node downloads full
> E> > table of pf(4) states from its peer.
> E>
> E> This is not true on FreeBSD.
> E> The issue might be from other reasons.
>
> This is a surprise for me that this feature had been removed!
>
> It used to be in stable/6:
>
> http://fxr.watson.org/fxr/ident?v=3DFREEBSD60;i=3Dcarp_suppress_preempt
>
> And I always treated that variable in CARP as shared with pf. Why did
> they removed this feature from pfsync?
>

OpenBSD has it but FreeBSD is SMP capable and global vars without
synchronization do not work well.
To support that you have to add cross-dependencies and synchronization
between the two.

Not only synchronization though even some housekeeping around....
I will probably give a look at this again after 9.0.

> P.S. Since PR is about 6.2-RELEASE, then I have closed it correctly.
>
> --
> Totus tuus, Glebius.
>



--=20
Ermal



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