login
Header Space

 
 

Lock contention

May 16, 2008 - 1:15am
Submitted by Anonymous on May 16, 2008 - 1:15am.
Linux

Hi all,

Anybody know how to measure lock contention in Linux? I know Solaris has lockstat command. Do we have similar tools?

Thank,

Compile with

May 16, 2008 - 9:20am
Anonymous (not verified)

Compile with CONFIG_LOCK_STAT and look Documentation/lockstat.txt

Thanks. It is for kernel

May 16, 2008 - 12:51pm
Anonymous (not verified)

Thanks. It is for kernel only? I'd like to to measure a user-level program written with Pthreads.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary