lockmeter
[Top] [All Lists]

Re: Lockmetering on uniprocessor kernels?

To: Frank Hofmann - European Solaris CTE-Sustaining Engineering <Frank.Hofmann@xxxxxxx>
Subject: Re: Lockmetering on uniprocessor kernels?
From: Khyron <khyron@xxxxxxxxxx>
Date: Tue, 27 Nov 2001 22:33:55 +0000 (GMT)
Cc: <lockmeter@xxxxxxxxxxx>
In-reply-to: <200111270915.KAA17089@hs-eber02-01.Germany.Sun.COM>
Sender: owner-lockmeter@xxxxxxxxxxx
But couldn't lockmetering still indicate which locks are
being held for how long? Or is there a better way to go about
it on uniproc kernels? Or are uniproc locks that finely tuned
that its irrelevant?

As well, its not technically impossible tho, from your last
message?

If memory serves, you said...

>
> > Is there any stated reason that lockmeters can't/shouldn't
> > be used in uniproc kernels? Is this by design or coincidence?
> > I'm curious.
>
> It makes no sense. The default Linux kernel (which the lockmeter patches
> are against) does not do kernel-level preemption. Hence, all locking ops
> on uniprocessor machines are guaranteed to succeed under Linux.
> So what would you want to measure ?
>
> Bye,
> Frank
>


"Everyone's got a story to tell, and everyone's got some pain.
 And so do you. Do you think you are invisble?
 And everyone's got a story to sell, and everyone is strange.
 And so are you. Did you think you were invincible?"
        - "Invisible", Majik Alex


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