Usenet comp.sys.dec (1990-2013)
 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: 108+ 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
     [not found]                     ` <52608@sdcc12.ucsd.edu>
1993-08-02 16:24                       ` Summary: Alpha Performance of Disk Drives oberman
1993-08-07 10:13                         ` DEC suport for vaxen Paul Repacholi
1993-07-25  9:21                   ` Summary: Alpha Performance 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>
1993-08-02  8:01                       ` Luke Brennan
1993-08-03 15:33                         ` VMS Robustness Tony Burzio
1993-08-03 17:52                           ` Mark H. Wood
1993-08-04 12:39                             ` Ron Fox
1993-08-03 18:25                           ` Dan Wing
1993-08-03 19:05                             ` Marcus J Ranum
1993-08-03 19:56                               ` Jeff Hayward
1993-08-03 21:43                                 ` Weathering the network storm (Was: VMS Robustness) Mark E. Levy
1993-08-04  3:54                                   ` Jerry Weiss
1993-08-04  5:43                                     ` Carl D. Perkins
1993-08-04  7:36                                       ` Jerry Weiss
1993-08-04 12:48                                         ` Ron Fox
1993-08-04 13:16                                           ` Jerry Weiss
1993-08-04 16:52                                             ` Jack Twilley
1993-08-05 13:40                                               ` Bill Bochnik (Info Systems)
1993-08-05 17:50                                               ` vaxs09
1993-08-06 12:37                                                 ` Alain Martineau
1993-08-07 11:25                                               ` Paul Repacholi
1993-08-07 17:37                                                 ` Jack Twilley
1993-08-07 11:06                                             ` Paul Repacholi
1993-08-04 13:24                                         ` Marcus J. Ranum
1993-08-05 14:03                                           ` Karl Lehenbauer
1993-08-04 15:49                                         ` Clark Merrill
1993-08-04 16:44                                           ` Johnny Billquist
1993-08-07 19:23                                             ` Anders Ostling
1993-08-04 16:53                                         ` Chris Kalisiak
1993-08-04 19:25                                           ` Jerry Weiss
1993-08-04 12:37                                       ` Christopher Lishka
1993-08-04 16:04                                         ` Dan Wing
1993-08-05 13:52                                       ` Karl Lehenbauer
1993-08-06  4:31                                         ` Carl D. Perkins
1993-08-04 12:44                                 ` VMS Robustness Ron Fox
1993-08-04 13:51                                 ` Brian Tillman
1993-08-05  3:03                                 ` system
1993-08-05 15:17                                   ` Clark Merrill
1993-08-05 13:47                               ` Karl Lehenbauer
1993-08-04  0:17                             ` Terry Kennedy, Operations Mgr.
1993-08-04 18:57                               ` John Hascall
1993-08-04 17:38                             ` FTP sites for ALPHA software??? The Artist
1993-08-05  3:08                           ` VMS Robustness mark
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-22 18:44     ` Alvis Harding Jr.
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 23:39       ` How does one profile? (was Re: Summary: Alpha Performance) John Lovell
1993-06-24 15:08   ` Summary: Alpha Performance 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