From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19826 invoked from network); 14 Jun 2000 02:16:39 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 14 Jun 2000 02:16:39 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id WAA26197 for ; Tue, 13 Jun 2000 22:16:38 -0400 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 13 Jun 2000 21:23:18 -0500 Received: by paralleldata.com from paralleldata.com (24.15.240.182::mail daemon; unverified,SLMail V2.5); Tue, 13 Jun 2000 21:23:13 -0500 Sender: "Wsb" Message-ID: <3946EB12.29E1C4F9@paralleldata.com> Date: Tue, 13 Jun 2000 21:16:50 -0500 From: "W Bauske" Organization: PDS Inc. X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i686) 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: <000201bfd59a$737e4c40$e4844b89@hptilap.hpti.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Greg Lindahl wrote: > > > I take it these > > messages indicate the hang is around 2 seconds, which makes sense > > given I send 16MB over 100Mb Enet, > > That depends on the detail. Are you running PVM in daemon mode or using > direct routing? Even if you were sending 16 MB in a single blocking send, it > should not hold the kernel lock while you're doing it. If so, it would be a > generic kernel bug... > It would depend on exactly what those messages are trying to say. I would expect pvmd to go into a hard read() loop of some sort collecting bytes of the data until it gets the complete chunk transferred. At least, that's how I write sockets code when passing data. The reason being select() will return readable on a single byte of data so it's basically no better than just sitting on a read(). Nothing stopping one from using select() but it doesn't buy you much unless you want to interleave read()'ing multiple data streams. How the kernel locks work I don't know but I assume there is a data structure somewhere that is effected by the socket I/O that access to must be serialized to keep things sane. > strace is a very good utility (if it's functioning on alphas these days) to > figure out what kinds of system calls you're making. > Haven't tried strace lately. Wes