From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,dd545f945904f940 X-Google-Attributes: gid1164f8,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: SLOW loopback on XP1000/osf Date: 1999/08/23 Message-ID: <7pro1c$ddo@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 516192066 References: <7plcr9$14o$1@nnrp1.deja.com> <7pqltu$dam$1@nnrp1.deja.com> Organization: The University of Calgary Newsgroups: comp.sys.dec 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/