Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Peter Rival <frival@zk3.dec.com>
To: Jay Estabrook <Jay.Estabrook@compaq.com>
Cc: Greg Lindahl <glindahl@hpti.com>, axp-list@redhat.com
Subject: Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held"
Date: Tue, 13 Jun 2000 12:28:42 +0000	[thread overview]
Message-ID: <394628FA.534465D8@zk3.dec.com> (raw)
In-Reply-To: 20000612225904.B734@linux04.mro.dec.com

Jay Estabrook wrote:

> The "grabbed" message simply indicates when a process that was "stuck"
> actually got the lock. The "ticks" indicated are jiffies, of course,
> and on ALPHA there are usually 1024/second, so when a "grabbed"
> message is printed saying it waited for 6732 ticks, that's 6+ seconds.
> That seemed awful long to me when I first saw it, so I asked either
> Linus or Alan about it, and they said it was "normal" or "reasonable",
> so I stopped worrying. Perhaps it's time to ask again, though I'd be
> quite worried if I saw that much time on a 2.4.xx kernel... ;-}
>

Truth be told, that's a _really_ long time.  We start to freak out when we see
locks in Tru64 have a waitsum of >2 seconds _total_ in an hour benchmark run.  In
Tru64, that's considered easy pickin's for perf guys like me, where it's a simple
sign of bad lock design.  But then again, Tru64 has probably in the area of an
order of magnitude (at least) more locks than Linux does, so one lock hogging
that much time is a much clearer sign than the more coarse granularity of Linux.

So what am I saying?  Yes, it is a bad thing from a perf perspective, and only
gets worse as the systems get bigger and faster.  That's why I try to keep on top
of the lockmeter code for Alpha (can be gotten from SGI, works now with a small
patch from me until John integrates it) - so we can make sure we always know what
is going on whenever possible.  (Not helpful in this case, as it's at boot time,
but other than that...)

BTW - Greg, could you send me a couple of lines of the "spinlock stuck" and
"spinlock grabbed" messages?  I'm curious which locks are getting in the way, and
if they're the same ones I see now and again...

 - Pete


  reply	other threads:[~2000-06-13 12:29 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-01 21:36 oops! need help! Jonathan DuBois
2000-06-01 19:41 ` Jeff Sturm
2000-06-02  1:42   ` floppyless install? Jeff DeMaagd
2000-06-02  3:08     ` Way to go, Greg! Larry Snyder
2000-06-02  5:02       ` Greg Lindahl
2000-06-12 21:32       ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl
2000-06-12 21:58         ` Peter Rival
2000-06-12 22:31           ` Greg Lindahl
2000-06-13  2:59             ` Jay Estabrook
2000-06-13 12:28               ` Peter Rival [this message]
2000-06-13 14:49                 ` Jay Estabrook
2000-06-13 18:12                   ` W Bauske
2000-06-13 18:40                     ` Jay Estabrook
2000-06-13 18:50                       ` Greg Lindahl
2000-06-13 22:15                       ` W Bauske
2000-06-14  0:49                         ` Greg Lindahl
2000-06-13 20:55                           ` Jeff Sturm
2000-06-14  3:51                             ` W Bauske
2000-06-14 11:05                             ` Peter Rival
2000-06-14  2:16                           ` W Bauske
2000-06-14 17:20                             ` Greg Lindahl
2000-06-14 18:46                               ` W Bauske
2000-06-22 19:13                             ` Greg Lindahl
2000-06-22 20:28                               ` Peter Rival
2000-06-23 16:02                                 ` Greg Lindahl
2000-06-14 11:24                           ` Peter Rival
2000-06-13 18:40                     ` Peter Rival
2000-06-13 21:58                       ` W Bauske
2000-06-14 11:23                         ` Peter Rival
2000-06-13 20:46                     ` 2.2.16 Alpha, exceptions, de4x5? John Groseclose
2000-06-13 18:29               ` 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Greg Lindahl
2000-06-13 18:41                 ` Peter Rival
2000-06-02 21:47     ` floppyless install? tibor
2000-06-03  3:54       ` Jeff DeMaagd
2000-06-04  0:45 ` oops! need help! Craig P Prescott
2000-06-04  1:53   ` Jeff Sturm
2000-06-04  2:54     ` Larry Snyder
2000-06-04  3:47       ` Ross A Knepper
2000-06-04  5:32       ` Craig P Prescott
2000-06-06 15:32         ` oops! need help! (thanks! -- its working now) Jonathan Dubois
  -- strict thread matches above, loose matches on Subject: below --
2000-06-12 22:26 2.2.16 Alpha: "Fix SMP rescheduling with lock held" Brad Lucier
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox