Advice on a multithreaded netisr patch?

Robert Watson rwatson at FreeBSD.org
Tue Apr 7 05:56:04 PDT 2009


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


More information about the freebsd-net mailing list