From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21281 invoked from network); 13 Jun 2000 18:41:15 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 13 Jun 2000 18:41:15 -0000 Received: from ztxmail03.ztx.compaq.com (ztxmail03.ztx.compaq.com [161.114.1.207]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA06302 for ; Tue, 13 Jun 2000 14:41:15 -0400 Received: by ztxmail03.ztx.compaq.com (Postfix, from userid 12345) id E0F8D1B88; Tue, 13 Jun 2000 13:40:44 -0500 (CDT) Received: from oflume.zk3.dec.com (broflume.zk3.dec.com [16.141.0.42]) by ztxmail03.ztx.compaq.com (Postfix) with ESMTP id 960821B67 for ; Tue, 13 Jun 2000 13:40:44 -0500 (CDT) Received: from wavy.zk3.dec.com by oflume.zk3.dec.com (8.8.8/1.1.22.3/03Mar00-0551AM) id OAA0000017338; Tue, 13 Jun 2000 14:40:44 -0400 (EDT) Received: from zk3.dec.com by wavy.zk3.dec.com (8.9.3/1.1.27.5/31Jan00-1243PM) id OAA0001168396; Tue, 13 Jun 2000 14:40:43 -0400 (EDT) Sender: frival@wavy.zk3.dec.com Message-ID: <39468032.F5D3B9BD@zk3.dec.com> Date: Tue, 13 Jun 2000 18:40:50 +0000 From: Peter Rival Organization: Tru64 QMG Performance Engineering X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.15pre15ext3 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held" References: <39455D03.A8B2B601@zk3.dec.com> <000a01bfd4be$01b55900$198bfea9@hptilap.hpti.com> <20000612225904.B734@linux04.mro.dec.com> <394628FA.534465D8@zk3.dec.com> <20000613104909.A1273@linux04.mro.dec.com> <3946797A.56D2FDB3@paralleldata.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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? 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...)