Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: marc@sde.hp.com (Marc Sabatella)
Subject: Re: Summary: Alpha Performance
Date: 24 Jun 1993 21:26:02 GMT	[thread overview]
Message-ID: <20d65a$qrk@hpfcbig.sde.hp.com> (raw)
In-Reply-To: 20d2e7$845@sol.TIS.COM

Marcus J Ranum (mjr@tis.com) wrote:

> 	Compiler optimization is a different game from what I call
> "benchmark-oriented optimization."  I suspect that most of the folks
> who work on optimizers use some kind of benchmark against which to
> measure the effectiveness of their optimizations. But that's just a
> way of seeing how much the optimization helped. There's a world of
> difference (IMHO) between an optimization that makes (say) string
> copying run 2% faster and an optimization that makes the MATRIX
> benchmark 300% faster.

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.
That's it.  This seems to me to be an inherently useful optimization - at
least, for programmers who were not already careful about such things - and
should pretty standard fare for any vectorizing compiler, I would think.

> SPEC blew it because they didn't blow the
> whistle on this game, and now they have lost any credibility
> they might have had.

I fault the SPEC committee for including a benchmark can be so easily
circumvented by such a naturally useful optimization technique.

--
Marc Sabatella
marc@fc.sde.hp.com
--
All opinions expressed herein are my personal ones
and do not necessarily reflect those of HP or anyone else.


  reply	other threads:[~1993-06-24 21:26 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 [this message]
1993-06-24 21:42             ` John D. McCalpin
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