From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,e0674ca109495b74,start X-Google-Attributes: gid111c93,public From: Bernard Van Renterghem Subject: mpi performance consideration Date: 1998/11/16 Message-ID: <3650097D.679D76B2@Bigbrother.pcpm.ucl.ac.be>#1/1 X-Deja-AN: 412349163 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=iso-8859-1 Organization: UCL PCPM Mime-Version: 1.0 Reply-To: vanrent@pcpm.ucl.ac.be Newsgroups: comp.os.linux.alpha Hello all, We have a cluster of 16 LX164 533Mhz on a 100 Mb fd switch. We have bad performance with mpich 1.0.9 or lam 6.1 with both 2.0.35 or 2.1.126 kernel with eth drivers de4x5.c:V0.542 100Mb/s full duplex or tulip.c:v0.83 10/19/97 I include the small program latband.c, tested on two nodes, compiled with gcc version egcs-2.92.17 19981026 and glibc 2.0.7 with 2.0.35 lam6.1 -c2c, we have around 64 �sec. without -c2c, it's 300 �sec or worse, with all the combinaisons of mpi distr, kernel, eth ... If someone have better performance or any idea in order to improve it, please feel free to contact myself. (With OSF 4.0, it's around 30 �sec so the users want to switch to OSF :-| ) Regards, Bernard Van Rent #include "mpi.h" #include #include #define MAXSIZE 1000000 #define NITER_L 10000 #define NITER_B 5 int main(int argc, char *argv[]) { int myrank, numprocs, i, n=1; double start_time, l_time, b_time, a[MAXSIZE]; double truc, sum; MPI_Status status; MPI_Init(&argc, &argv); MPI_Comm_size(MPI_COMM_WORLD, &numprocs); MPI_Comm_rank(MPI_COMM_WORLD, &myrank); if (myrank==0) { printf("Actual number of processors: %1d\n", numprocs); printf("MPI timing resolution %.5E s\n", MPI_Wtick()); } printf("Hello, I am process #%4d\n", myrank); fflush(stdout); start_time = MPI_Wtime(); if (myrank==0) { printf("Starting latency measurements ... "); fflush(stdout); } if (myrank == 0) { sum = 0.0; truc = MPI_Wtime(); for (i=0; i