Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 May 2006 23:32:44 +0300 (EEST)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: RELENG_4 -> 5 -> 6: significant performance regression
Message-ID:  <20060512232806.Q35558@atlantis.atlantis.dp.ua>
In-Reply-To: <20060502181118.M92256@fledge.watson.org>
References:  <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060502181118.M92256@fledge.watson.org>

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

Hello!

On Tue, 2 May 2006, Robert Watson wrote:
>> options 	INVARIANTS
>> options 	INVARIANT_SUPPORT
>
> In FreeBSD 5.x and FreeBSD 6.x, the INVARIANTS option has been significantly 
> expanded to test a much larger set of invariants, and also incorporate kernel 
> use-after-free checking, which involves memory scrubbing.  This is great for 
> catching bugs, but it will have a significant performance impact, especially 
> for kernel-intensive loads.

  So maybe it's time to add, say,

options      INVARIANTS_EXTENDED

for these new and expensive checks, and leave only basic and cheap (yet
effective for bug hunting) asserts enabled when only

options      INVARIANTS

is defined?

> Robert N M Watson

Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE



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