V7 High CPU Usage on swi5:+, what is this process?
Robert Watson
rwatson at FreeBSD.org
Tue Mar 18 13:04:07 UTC 2008
On Tue, 18 Mar 2008, John Baldwin wrote:
>> '+' is used in a swi name to indicate that the names of the interrupts to
>> put in the thread name are too long, and the code looks like it was written
>> under the assumption that at least one name would fit. It sounds like in
>> this case, none fit. We should fix this code, but in the mean time, what
>> you might consider doing is hacking intr_event_update() in kern_intr.c to
>> print out overflowing names to the console using printf(9) so you can at
>> least see what they are. This is the somewhat suspect bit of code:
>
> The code is not suspect as p_comm is of fixed length. Someone just used too
> long of a name for a swi handler.
I was wondering whether we might not do better to put as much in as we can but
truncate with a '*', so you at least get a fractional swi name. Under what
situations do we use a single ithread for multiple swi's?
Robert N M Watson
Computer Laboratory
University of Cambridge
More information about the freebsd-performance
mailing list