Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2000 09:39:43 -0700 (PDT)
From:      John Baldwin <jhb@freebsd.org>
To:        Chuck Paterson <cp@bsdi.com>
Cc:        smp@freebsd.org, Bob Bishop <rb@gid.co.uk>
Subject:   Re: Options with SMPng
Message-ID:  <200010091639.JAA03990@john.baldwin.cx>
In-Reply-To: <200010091340.HAA06839@berserker.bsdi.com>

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

On 09-Oct-00 Chuck Paterson wrote:
>       I think we ought to dump the KTR_EXTEND stuff. This makes
> the kernel run soo slow that it isn't really usable. Without
> KTR_EXTEND the penalty is minor.

Hmm, well, combined with my ktr-verbose hack, KTR_EXTEND's ability
to print out a useful string directly has proved useful for tracking
down bugs with interrupts disabled, or when, for example, PCI interrupts
are firing too fast for any work to be done because the source wasn't
being quieted on the alpha.

> John Baldwin wrote on: Sun, 08 Oct 2000 23:07:52 PDT
> }
> }(if you want the KTR tracing stuff:)
> }options         KTR
> }options         KTR_EXTEND
> }options         KTR_COMPILE=0x3fffff
> }options         KTR_MASK=(KTR_INTR|KTR_PROC)
> }options         KTR_ENTRIES=1024  # or some other power of 2
> }
> }KTR is only useful during panics when you can dump the trace
> }buffer, or if you are doiing remote kgdb, or ddb on a running
> }kernel.
> }
> }-- 

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




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