Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 May 2004 14:01:57 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Roman Kurakin <rik@cronyx.ru>
Cc:        freebsd-current@freebsd.org
Subject:   Re: but withoutI WITNESS and INVARIANTS ?
Message-ID:  <20040514210157.GA96254@xor.obsecurity.org>
In-Reply-To: <40A4CCB1.8010700@cronyx.ru>
References:  <40A3F1D5.5010209@bellsouth.net> <20040514155152.4d6dee6b@it.buh.cameradicommercio.ro> <40A4CCB1.8010700@cronyx.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 14, 2004 at 05:42:09PM +0400, Roman Kurakin wrote:

> The possibility that by disabling this debug stuff you will get some=20
> instability is
> very very .... very low :-)
> By turning them off you will get improved performance.
> By the way they are dissabled by default on every release.

Not so low..it changes the timings of operations, which can expose
race conditions.  One of my SMP machines locks up every couple of
days(nothing on console, does not respond to DDB) when WITNESS and
INVARIANTS are disabled, or when they are enabled but WITNESS_SKIPSPIN
is enabled.  Since I turned off WITNESS_SKIPSPIN a few weeks ago the
system has been stable (although very slow).

:-(

Kris
--gKMricLos+KVdGMg
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFApTPFWry0BWjoQKURAr+OAJ9iIohCra89IQ8VAUiXTfKVTc1O1QCfe+cw
hfIw4ke0R8Mto/EeU3CQVe4=
=2ap8
-----END PGP SIGNATURE-----

--gKMricLos+KVdGMg--



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