lockmeter
[Top] [All Lists]

Re: lockmeter on 2.2.x

To: "Claude Johnson" <claude@xxxxxxxxxxxxxxx>, <lockmeter@xxxxxxxxxxx>
Subject: Re: lockmeter on 2.2.x
From: "John Hawkes" <hawkes@xxxxxxxxxxxx>
Date: Fri, 23 Mar 2001 17:45:17 -0800
References: <3ABBF969.AE4728F0@xxxxxxxxx>
Sender: owner-lockmeter@xxxxxxxxxxx
From: "Claude Johnson" <claude@xxxxxxxxxxxxxxx>

> I see that the most recent version is for 2.2.14.

The most recent version of Lockmeter is v1.4.8, which patches the 2.4.2
kernel.  While it is true that
http://oss.sgi.com/projects/lockmeter/download contains a version of
Lockmeter that patches the 2.2.14 kernel, please understand that that
Lockmeter is *very* old and bears little resemblence to the Lockmeters
in 2.4.x.

> Would I be incorrect in saying that attempting to apply
> lockmetering on a UP kernel will fail?

Lockmeter only makes sense in an SMP kernel.  A UP kernel implements
locks by disabling/enabling interrupts, and Lockmeter doesn't instrument
this form of locking.  The "make config" only shows you the Lockmeter
option if you have previously specified that you are building an SMP
kernel.

My rationale for essentially abandoning Lockmeter for 2.2.x is an
assumption that the vast majority of developers who are serious about
analyzing spinlock behavior in SMP kernels will be using a 2.4 (or 2.5)
kernel.  Of course, if anyone wishes to back-port Lockmeter v1.4.8
against a 2.2.x kernel, I'd be happy to put the patch on oss.sgi.com.

John Hawkes
hawkes@xxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>