Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Checking for kernel lock contention in OEL 5.5

Dude!Aug 28 2010 — edited Aug 28 2010
Is there a lockstat utility for Enterprise Linux 5? Or how could I check for kernel lock contention?

I found a lockstat rpm for RHEL and Centos 4 at http://packages.sw.be/lockstat/, but I could not find it in the distribution of version 5?
The rpm package installs, but the command "lockstat on" shows /proc/lockmeter: No such file or directory

I found an interesting document named "Linux Kernel Lock Profiling with LockStat" at:
http://dolavim.us/blog/2007/11/06/linux-kernel-lock-profiling-with-lockstat/

The document outlines the use of /proc/lock_stat, which is a text file - not using a "lockstat" utility.
From what I understand, I have to rebuild the kernel with "CONFIG_LOCK_STAT=y", or wait for kernel 2.6.24 to be released?

Do I have to build a custom kernel to check for lock contention, or are there perhaps other options?

Thanks!

Edited by: Markus Waldorf on Aug 28, 2010 8:55 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2010
Added on Aug 28 2010
0 comments
988 views