Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 13:56:02 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Barney Cordoba <barney_cordoba@yahoo.com>
Cc:        freebsd-net@freebsd.org, Ivan Voras <ivoras@freebsd.org>
Subject:   Re: Advice on a multithreaded netisr  patch?
Message-ID:  <alpine.BSF.2.00.0904071354521.45341@fledge.watson.org>
In-Reply-To: <952316.35609.qm@web63906.mail.re1.yahoo.com>
References:  <952316.35609.qm@web63906.mail.re1.yahoo.com>

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

On Tue, 7 Apr 2009, Barney Cordoba wrote:

>> Have you tried LOCK_PROFILING?  It would quickly tell you if driver locks 
>> were a source of significant contention.  It works quite well...
>
> When I enabled LOCK_PROFILING my side modules, such as if_ibg, stopped 
> working. It seems that the ifnet structure or something changed with that 
> option enabled. Is there a way to sync this without having to integrate 
> everything into a specific kernel build?

LOCK_PROFILING changes the size of lock-related data structures, so requires 
both kernel and full set of modules to be rebuilt with the option.

Robert N M Watson
Computer Laboratory
University of Cambridge



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