At 9:13 AM -0800 2/6/02, David O'Brien wrote:
>On Wed, Feb 06, 2002 at 01:02:34AM -0500, John Baldwin wrote:
>>  WITNESS can really hurt.  Quite possibly I should turn it off in
>>  GENERIC now (I wouldn't mind if someone else did that.)
>
>I think it should stay.  Especially as we are not getting much usage in
>-CURRENT.  If we turn it off by default, it should come back on 3 mo.
>before 5.0-RELEASE for testing.  (and yes off for the actual release).

I was thinking that maybe it should stay in the GENERIC kernel, along
with some comment that indicates how much of a performance hit will
be seen if it's on.  "This is desirable for in-depth debugging, but
it does mean that system calls will take three times longer than if
the option is off".  It's good to have the extra checking, but we
don't want to scare people away from running current simply because
they think it will take three times longer to get anything done on
current.

(or maybe even comment the option out, but do leave the line there
along with the statement that "we'd appreciate it if people would
run with this option on, even though it will cause a noticeable
slowdown.").

I do think it's important that we (developers) spend more time on
current, but I think the way I'll do it is to compile two kernels,
one with the WITNESS and one without it.  For much of what I do I
can absorb the extra overhead of WITNESS code, but a three-hour
buildworld will throw my entire "buildworld schedule" off, and I
just won't be able to rebuild the system as often.

-- 
Garance Alistair Drosehn            =   [EMAIL PROTECTED]
Senior Systems Programmer           or  [EMAIL PROTECTED]
Rensselaer Polytechnic Institute    or  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to