Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Robert Williams <bob@bob.usuf2.usuhs.mil>
To: gamess-users@majordomo.umd.edu
Cc: axp-list@redhat.com
Subject: Re: GU: Re: dgemm benchmarks for axp Linux and Dec Unix
Date: Wed, 11 Mar 1998 13:21:35 -0500	[thread overview]
Message-ID: <3506D62F.371E@bob.usuf2.usuhs.mil> (raw)
In-Reply-To: 35069841.7EB2@bob.usuf2.usuhs.mil

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/


  reply	other threads:[~1998-03-11 18:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-09 22:44 dgemm benchmarks for axp Linux and Dec Unix Robert Williams
1998-03-11 13:57 ` Robert Williams
1998-03-11 18:21   ` Robert Williams [this message]
1998-03-11 19:22     ` GU: " Richard Henderson
1998-03-13 20:00       ` Robert Williams
1998-03-16 19:09         ` Claus Denk
1998-03-16 19:04           ` Robert Williams
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