Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mccalpin@perelandra.cms.udel.edu (John D. McCalpin)
Subject: Re: Summary: Alpha Performance
Date: Thu, 24 Jun 1993 21:42:31 GMT	[thread overview]
Message-ID: <C95Ayv.B7n@news.udel.edu> (raw)
In-Reply-To: 20d65a$qrk@hpfcbig.sde.hp.com

In article <20d65a$qrk@hpfcbig.sde.hp.com> marc@sde.hp.com (Marc Sabatella) writes:
>
>Not necessarily.  As I recall, the one and only optimization you have to
>perform on matrix300 to make it run faster (and I don't think I'm giving out
>any HP trade secrets here) is recognize the two dimensional array is being
>traversed in row major rather than column major order, and rewrite the loop
>accordingly, which dramatically improves locality and hence cache performance.

It is not quite that easy, since the code was written in such a perverse
manner.  First you have to inline SAXPY, then inline SGEMV, to get a
formulation of SGEMM (Matrix Multiply) that is written in terms of
a reasonably simple triply nested loop.  Then you have to rewrite the
loop.   If it had been written the way God intended, then most of this
funny business would have been unnecessary from the start.
-- 
--
John D. McCalpin                        mccalpin@perelandra.cms.udel.edu
Assistant Professor                     mccalpin@brahms.udel.edu
College of Marine Studies, U. Del.      John.McCalpin@mvs.udel.edu


  reply	other threads:[~1993-06-24 21:42 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-21 14:36 Summary: Alpha Performance Glen Reesor
1993-06-21 21:45 ` Richard M. Venable
1993-06-22 14:35 ` Dileep Bhandarkar
1993-06-22 16:15   ` Glen Reesor
1993-06-22 18:02     ` John D. McCalpin
1993-06-22 19:02       ` Glen Reesor
1993-06-23  4:17         ` Ozan S. Yigit
1993-06-23  4:39           ` Doug Siebert
1993-06-23  9:08           ` Jos van Eijndhoven
1993-06-23 19:54           ` John DiMarco
1993-06-24  2:21             ` Vareck Bostrom
1993-06-24  7:31               ` Jos van Eijndhoven
1993-06-24  8:07                 ` Casper H.S. Dik
1993-06-24 11:46                   ` jesse neri
1993-07-24 12:16                 ` Rob J. Nauta
1993-07-24 17:20                   ` Steve Chapin
1993-07-26 22:17                     ` Summary: Alpha Performance [really, SPEC#/MHz] John R. Mashey
1993-07-28 16:16                       ` Paul Rockwell
     [not found]                         ` <CAwIKv.KFM@odin.corp.sgi.com>
     [not found]                           ` <238teh$k1o@usenet.pa.dec.com>
     [not found]                             ` <CAy7CK.IMy@odin.corp.sgi.com>
1993-08-03 14:45                               ` Summary: Alpha Performance Brent Sterner
1993-07-25  9:21                   ` Jussi Eloranta
1993-07-28  1:55                     ` David Willmore
1993-07-26 14:03                   ` Jeffrey L. Sue
     [not found]                     ` <1993Jul30.153910.11071@Rapnet.Sanders.Lockheed.Com>
     [not found]                       ` <1993Aug2.180113.1@tango.cchs.su.edu.au>
1993-08-03 15:33                         ` VMS Robustness Tony Burzio
1993-07-26 18:59                   ` Summary: Alpha Performance Greg Franks
1993-07-26 19:33                     ` Jussi Eloranta
1993-06-24  3:04           ` Ozan S. Yigit
1993-06-24 10:56           ` James Bonfield
1993-06-25  6:02           ` David Burren [Athos]
1993-06-23 22:06         ` Graphics Users
1993-06-22 19:58       ` furio ercolessi
1993-06-23 15:11     ` Patrick F. McGehearty
1993-06-23 21:30       ` Glen Reesor
1993-06-24  2:13         ` John Grabowski
1993-06-24  8:00           ` Jos van Eijndhoven
1993-06-27 12:54         ` Paul Repacholi
1993-06-24 15:08   ` Bob Koehler
1993-06-24 16:40     ` Glen Reesor
1993-07-02 21:05       ` Dileep Bhandarkar
1993-06-24 16:42     ` Marcus J Ranum
1993-06-24 18:41       ` Brent Sterner
1993-06-24 19:02         ` Douglas W. O'Neal
1993-06-24 20:22         ` Marcus J Ranum
1993-06-24 21:26           ` Marc Sabatella
1993-06-24 21:42             ` John D. McCalpin [this message]
1993-06-24 21:35           ` John D. McCalpin
1993-06-24 23:52           ` Rick Jones
1993-06-30 17:33           ` Dave Sill
1993-06-30 18:12             ` J. D. McDonald
1993-06-30 18:48               ` Chris Kalisiak
1993-06-30 19:07               ` Dave Sill
1993-07-02 20:17               ` Dileep Bhandarkar
1993-07-03  6:22                 ` todd j. derr
1993-06-30 18:45             ` John R. Mashey
1993-06-30 22:08               ` furio ercolessi
1993-07-01 16:40                 ` Arvind Aggarwal 
1993-07-01  2:25               ` Matrix Multiply and KAP (Was: Re: Summary: Alpha Performance) Larry Meadows
1993-06-24 18:54       ` Summary: Alpha Performance Dave Bernard
1993-06-25  0:56         ` Marcus J Ranum
1993-06-25 12:36           ` ENOUGH (was Re: Summary: Alpha Performance) Gregory T. Byrd
1993-06-25 22:07             ` Mike Reaser
1993-06-25 23:17             ` ENOUGH Ralph Finch
1993-06-25 23:26             ` fourstones results on the DEC 3000/500 and DEC 3000/500X Gail L. Grant
1993-06-28 20:45           ` Summary: Alpha Performance Marc Sabatella
1993-06-24 17:10     ` Guy Dawson
     [not found] ` <1993Jun22.144348.26782@ryn.mro4.dec.c <SOLID.93Jun23100608@piglet.piglet.otago.ac.nz>
1993-06-24  8:08   ` Pete KAISER
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