From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28898 invoked from network); 11 Mar 1998 18:21:56 -0000 Received: from bob.usuf2.usuhs.mil (131.158.3.183) by mail2.redhat.com with SMTP; 11 Mar 1998 18:21:56 -0000 Received: by bob.usuf2.usuhs.mil; (5.65/1.1.8.2/28Apr95-0137AM) id AA01169; Wed, 11 Mar 1998 13:21:35 -0500 Sender: bob@bob.usuf2.usuhs.mil Message-Id: <3506D62F.371E@bob.usuf2.usuhs.mil> Date: Wed, 11 Mar 1998 13:21:35 -0500 From: Robert Williams Organization: Uniformed Services University X-Mailer: Mozilla 3.01Gold (X11; U; OSF1 V3.2 alpha) Mime-Version: 1.0 To: gamess-users@majordomo.umd.edu Cc: axp-list@redhat.com Subject: Re: GU: Re: dgemm benchmarks for axp Linux and Dec Unix References: <350470E5.373B@bob.usuf2.usuhs.mil> <35069841.7EB2@bob.usuf2.usuhs.mil> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Robert Williams wrote: > > Robert Williams wrote: > > > > Quick comparison of three different dgemm... > > I would like to retract these comparisons. > ...Some preliminary > fixes have changed the results downward in a very > disconcerting way. The numbers posted previously do appear to be good within the significance imposed by the roundoff problem. The slowdown I refer to above appears to have been caused by some unpredictable paging caused by a newer (beta) version of the assembler dgemm. The Fortran "time()" call is inadequate for these tests. Matrix size must be large to make a significantly long test, but paging becomes a problem. I would like to continue to use the Fortran benchmark code if possible, since the context that most of us may be using a fast dgemm in will probably (?) be Fortran. Does anyone have a good idea about how to time the dgemm call? Here's what the original looks like: S0 = DBLE ( TIME ( ) ) S1 = DBLE ( TIME ( ) ) CALL DGEMM( TRANSA, TRANSB, M, N, K, ALPHA, A, LDA, B, LDB, $ BETA, C, LDC ) S2 = DBLE ( TIME ( ) ) TIMES= ( S2 - S1 ) - ( S1 - S0 ) RNOP = DBLE(2*M)*DBLE(N)*DBLE(K) IF( TIMES.LE.0.0D0 )THEN RESLTS( IMVAL, INVAL ) = 0.0D0 ELSE RESLTS( IMVAL, INVAL ) = RNOP/( 1.0D6*TIMES) etc... -- Bob Williams, http://bob.usuf2.usuhs.mil/