Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2007 17:13:56 +0100
From:      Tom Evans <>
To:        Kevin Kramer <>
Subject:   Re: 7-Current: turn off debugging (kqread?)
Message-ID:  <1183133636.1511.66.camel@localhost>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2007-06-29 at 09:34 -0500, Kevin Kramer wrote:
> I know that debugging is turned on everywhere on 7-Current and I've read=20
> UPDATING. But what I can't find is how to turn off debugging. I've tried=20
> removing all debugging from the kernel, but it won't build. I can't find=20
> any userland debugging notes to turn it off.
> It is taking literally 5 minutes to login to my host and the same amount=20
> of time to run top. Processes get stuck in kqread. Maybe this is not a=20
> 7-Current debugging problem, but I need some guidance on where to go or=20
> what to look for.
> Any help appreciated.

In your kernel config, remove these lines if they exist:

options         INVARIANTS              # Enable calls of extra sanity
options         INVARIANT_SUPPORT       # Extra sanity checks of
internal structures, required by INVARIANTS
options         WITNESS                 # Enable checks to detect
deadlocks and cycles
options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks
for speed

You can leave the "options {K,D,G}DB" lines, they incur virtually now
performance costs.

You would get more help (possibly) if you tried posting on current@

Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

Version: GnuPG v1.4.7 (FreeBSD)



Want to link to this message? Use this URL: <>