From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30677 invoked from network); 16 Nov 1998 11:03:37 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 16 Nov 1998 11:03:37 -0000 Received: from Bigbrother.pcpm.ucl.ac.be (bvr@bigbrother.pcpm.ucl.ac.be [130.104.63.26]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id GAA18224 for ; Mon, 16 Nov 1998 06:02:56 -0500 Received: (from bvr@localhost) by Bigbrother.pcpm.ucl.ac.be (8.8.7/8.8.7) id MAA25259; Mon, 16 Nov 1998 12:02:39 +0100 Message-ID: X-Mailer: XFMail 1.3 [p0] on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Mon, 16 Nov 1998 12:02:38 +0100 (MET) X-Face: "fcgcq{|PHo@%m.hN|*\mM>k+tKrZv6a&i!z9<,~FYQD\k[8K/5>jPWHXTazhDt$o39~W`! }:lu\jdfUv1E;>b;\D37?dLZf6\>A:pD>-Hmg1h_tf:_l;+^cD`4;@P'JElD~62+biNJ%k)nt,|z|' c}[H\5;V1+LOQF!uC*CZi}-woXY,+#P]f(~WOjsDt]4wv6- Organization: PCPM UCL Sender: bvr@Bigbrother.pcpm.ucl.ac.be From: Bernard Van Renterghem To: axp-list@redhat.com Subject: mpi performance consideration 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