6.3-PRERELEASE desktop system periodically freezes momentarily

Kris Kennaway kris at FreeBSD.org
Thu Jan 10 12:27:27 PST 2008


Toomas Aas wrote:
> Kris Kennaway wrote:
> 
>> OK.  Can you obtain a lock profiling dump? 
> 
> I'm trying, but not succeeding so far. I added the following to the 
> kernel config:
> 
> options         MUTEX_PROFILING
> options         MPROF_BUFFERS="1536"
> options         MPROF_HASH_SIZE="1543"
> 
> And set debug.mutex.prof.enable=1
> 
> However, kgmon says that profiling is not enabled in the kernel. Am I 
> missing something essential or barking under completely wrong tree?
> 
> 
> 
> 

Yes :)  kgmon has nothing to do with mutex profiling, so remove the MPROF_*.

sysctl debug.mutex.prof.enable=1
... trigger hang ...
sysctl debug.mutex.prof.enable=0

and send me the output of

sysctl debug.mutex.prof.stats

Kris


More information about the freebsd-stable mailing list