RELENG_4 -> 5 -> 6: significant performance regression

Dmitry Pryanishnikov dmitry at
Fri May 12 20:32:52 UTC 2006


On Tue, 2 May 2006, Robert Watson wrote:
>> options 	INVARIANTS
> 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,


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 at
nic-hdl: LYNX-RIPE

More information about the freebsd-stable mailing list