* SLOW loopback on XP1000/osf
@ 1999-08-21 4:00 redwards4254
1999-08-21 4:00 ` Jack Peacock
1999-10-09 4:00 ` Richard Tomkins
0 siblings, 2 replies; 5+ messages in thread
From: redwards4254 @ 1999-08-21 4:00 UTC (permalink / raw)
Hello,
I was hoping someone could help me figure out why network performance
when sending and receiving on the same machine is so slow. For an ftp to
the same machine I ftp from I get 1.2MByte/sec. MPI_Sends (MPICH) get
about 800k/sec! Argh! If it makes any difference the machines are on a
100BaseT network which works just fine when sending from one machine to
another (ie 10Mbyte/sec).
Can anyone offer any advice? I really don't want to have to hack my MPI
program just so I can run it on a single node at decent speed. The
machines are XP1000s running Digital UNIX V4.0E...
thanks in advance
Russell
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SLOW loopback on XP1000/osf
1999-08-21 4:00 SLOW loopback on XP1000/osf redwards4254
@ 1999-08-21 4:00 ` Jack Peacock
1999-08-23 4:00 ` redwards4254
1999-10-09 4:00 ` Richard Tomkins
1 sibling, 1 reply; 5+ messages in thread
From: Jack Peacock @ 1999-08-21 4:00 UTC (permalink / raw)
<redwards4254@my-deja.com> wrote in message
news:7plcr9$14o$1@nnrp1.deja.com...
> Hello,
>
> I was hoping someone could help me figure out why network performance
> when sending and receiving on the same machine is so slow. For an ftp
to
> the same machine I ftp from I get 1.2MByte/sec. MPI_Sends (MPICH) get
> about 800k/sec! Argh! If it makes any difference the machines are on a
> 100BaseT network which works just fine when sending from one machine
to
> another (ie 10Mbyte/sec).
>
> Can anyone offer any advice? I really don't want to have to hack my
MPI
> program just so I can run it on a single node at decent speed. The
> machines are XP1000s running Digital UNIX V4.0E...
>
> thanks in advance
>
What kind of congestion do you have on the ethernet segment, how many
nodes? Are you using a switch to isolate network segments? You may
have a high collision or error/retry rate.
Jack Peacock
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SLOW loopback on XP1000/osf
1999-08-21 4:00 ` Jack Peacock
@ 1999-08-23 4:00 ` redwards4254
1999-08-23 4:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 5+ messages in thread
From: redwards4254 @ 1999-08-23 4:00 UTC (permalink / raw)
> What kind of congestion do you have on the ethernet segment, how many
> nodes? Are you using a switch to isolate network segments? You may
> have a high collision or error/retry rate.
There are 64 nodes connected to the switch .. but it seems to happen
even when all the other nodes are idle. I would have thought that the
ethernet would be irrelavant since (a) (empirically) node a<->b is nice
and fast it's just node a<->a that sucks and (b) doesn't/shouldn't the
O/S loopback device (lo0) simply pass the packets around in memory?
Hmmm... I was just playing with netstat while running various things and
now a node a<->a ftp is running at ~30MB/s! strange. However a node
a<->a MPI_Send still crawls at 800k/sec, even when I explictely tell MPI
to run both jobs on 127.0.0.1 ... so it looks like this may in fact be a
question for MPICH/p4 people... sorry to have bothered the wrong
newsgroup. (Although if anyone knows much about MPICH feel free to
answer anyway :)
Russell
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SLOW loopback on XP1000/osf
1999-08-23 4:00 ` redwards4254
@ 1999-08-23 4:00 ` Serguei Patchkovskii
0 siblings, 0 replies; 5+ messages in thread
From: Serguei Patchkovskii @ 1999-08-23 4:00 UTC (permalink / raw)
redwards4254@my-deja.com wrote:
: Hmmm... I was just playing with netstat while running various things and
: now a node a<->a ftp is running at ~30MB/s! strange. However a node
: a<->a MPI_Send still crawls at 800k/sec, even when I explictely tell MPI
: to run both jobs on 127.0.0.1 ... so it looks like this may in fact be a
: question for MPICH/p4 people... sorry to have bothered the wrong
: newsgroup. (Although if anyone knows much about MPICH feel free to
: answer anyway :)
XP1k must be a single CPU system, right? And you are using (a) asynchronous MPI
sends/receives OR (b) synchronous sends/receives with a fairly small buffer, right?
For (a) minimum time slice length kills you, as the receiving application does
not get a chance to react to your message until the time slice of the sending
process runs out. If this is the case, you must switch to blocking sends/receives
or yield CPU shortly after sending your data.
For (the more likely) case (b) context switch times are likely the limiting
factor: each send/receive pair requires a context switch if both processes
are competing for the same CPU. (If you are running on separate CPUs (e.g. on
a network) there is no application context switch on either of the nodes.)
You can check for this by running vmstat and looking out for intr/cs and cpu/sy
numbers while your parallel application is running. The only remedy here would
be to send larger chunks of data, e.g. by doing a series of MPI_Pack's followed
by a single MPI_Send in preference to several MPI_Send's.
Cheers,
/Serge.P
--
home page: http://www.cobalt.chem.ucalgary.ca/ps/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: SLOW loopback on XP1000/osf
1999-08-21 4:00 SLOW loopback on XP1000/osf redwards4254
1999-08-21 4:00 ` Jack Peacock
@ 1999-10-09 4:00 ` Richard Tomkins
1 sibling, 0 replies; 5+ messages in thread
From: Richard Tomkins @ 1999-10-09 4:00 UTC (permalink / raw)
I know that all the documentation says self discovery or self configuring
but!
In the SRM console, specifically set the ewa0_mode to what you want the
thing to talk to, be it, 10baseT or 100Mbps. Far too often a glitch happens,
the network stalls and the hardware goes back through an attempt to figure
out the media and then the speed of communication. This can take seconds and
in fact if one reads the manuals, systems that have more than one ethernet
interface, it is recomended that you set each interface up manually. This
avoids alot of wasted boot time doing auto-configuration.
rtt
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1999-10-09 4:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-21 4:00 SLOW loopback on XP1000/osf redwards4254
1999-08-21 4:00 ` Jack Peacock
1999-08-23 4:00 ` redwards4254
1999-08-23 4:00 ` Serguei Patchkovskii
1999-10-09 4:00 ` Richard Tomkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox