From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: SLOW loopback on XP1000/osf
Date: 1999/08/23 [thread overview]
Message-ID: <7pro1c$ddo@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 7pqltu$dam$1@nnrp1.deja.com
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/
next prev parent reply other threads:[~1999-08-23 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
1999-10-09 4:00 ` Richard Tomkins
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