From: "W Bauske" <wsb@paralleldata.com>
To: "axp-list@redhat.com" <axp-list@redhat.com>
Subject: Re: 2.2.16 Alpha: "Fix SMP rescheduling with lock held"
Date: Tue, 13 Jun 2000 21:16:50 -0500 [thread overview]
Message-ID: <3946EB12.29E1C4F9@paralleldata.com> (raw)
In-Reply-To: 000201bfd59a$737e4c40$e4844b89@hptilap.hpti.com
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
next prev parent reply other threads:[~2000-06-14 2:16 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 [this message]
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