Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held"
Date: Tue, 13 Jun 2000 16:58:11 -0500	[thread overview]
Message-ID: <3946AE73.3CC38F4@paralleldata.com> (raw)
In-Reply-To: 39468032.F5D3B9BD@zk3.dec.com

Peter Rival wrote:
> 
> W Bauske wrote:
> 
> > Jay Estabrook wrote:
> > >
> > > That's important - that you see them primarily during boot, rather
> > > than often during normal operation. That's indicative of boot tasks
> > > that simply take a long time and happen to need to hold a lock during
> > > that time. I'd be much more concerned if these happened frequently
> > > during normal operation.
> > >
> >
> > They happen alot on my UP2K's in production.
> >
> > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2032 ticks
> > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm
> > at fffffc000034fb78(1) read_write.c:43
> > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 2033 ticks
> > select.c:43 spinlock stuck in pvmd3 at fffffc000035f630(0) owner zm32mig_s_pvm
> > at fffffc000034fb78(1) read_write.c:43
> > select.c:43 spinlock grabbed in pvmd3 at fffffc000035f630(0) 1949 ticks
> > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm
> > at fffffc000034fb78(0) read_write.c:43
> > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2024 ticks
> > sched.c:30 spinlock stuck in pvmd3 at fffffc000032cea4(1) owner zm32mig_s_pvm at
> > fffffc000034fb78(0) read_write.c:43
> > sched.c:30 spinlock grabbed in pvmd3 at fffffc000032cea4(1) 1943 ticks
> > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(1) owner zm32mig_s_pvm
> > at fffffc000034fb78(0) read_write.c:43
> > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(1) 2062 ticks
> > socket.c:43 spinlock stuck in pvmd3 at fffffc00003c4368(0) owner zm32mig_s_pvm
> > at fffffc000034fb78(1) read_write.c:43
> > socket.c:43 spinlock grabbed in pvmd3 at fffffc00003c4368(0) 2267 ticks
> >
> 
> Which release was this?  I'm trying to collect a hit list of locks to go take a
> look at, and from first glance, it appears this is another lock_kernel() call.
> Interesting thing is, it's being held in what appears to be llseek(), and tried for
> in something I can't find (socket.c:43 is still in the comments, at least in 2.2 as
> is select.c:43...).  Seeing as this file:line# pair is generated from the gcc
> __FILE__ and __LINE__ macros, I'm not sure what's wrong there - Jay?
> 

T\x14his is kernel 2.2.15pre17 with a couple minor patches, nfsv3, and
ide DMA patches. llseek makes no sense. pvmd shouldn't write to disk.
It is more likely socket calls only, both local and remote. PVM uses
a UNIX type socket to talk to local processes I believe and an INET
socket to talk to the world.

If Greg can reproduce similar messages, then I'll let him work with you
all to sort it out. My point in posting was just to confirm this was
not a boot time only problem.

> BTW, it appears that this is happening when the pvmd3 process is reading
> (apparently large amounts of) data from a socket and writing it to the file, or
> perhaps the inverse.  This could _perhaps_ be improved by writing the data out
> faster, rather than batching it up in cache.  It's only a guess, but it might help
> if your disk is fast enough.  *shrug*
> 
>  - Pete  (still muttering about the !@#$*$@#^ kernel lock...)

Large is relative. I'm sending around 16MB of data every 10-50
secs. Total input dataset is around 300-400GB for this run. The
systems each use quite fast disk. hdparm shows them at 15+MB/sec.
There is practically no disk I/O in this code on worker nodes except
for the end when they save their results.


Wes


  reply	other threads:[~2000-06-13 21:58 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
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 [this message]
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