Re: but withoutI WITNESS and INVARIANTS ?

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Fri, 14 May 2004 14:01:57 -0700
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 
> 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
Received on Fri May 14 2004 - 12:02:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:54 UTC