From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,148db191ef7ef08a X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,148db191ef7ef08a X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,10f70e989313f8fc X-Google-Attributes: gid102b75,public From: John Henning Subject: Re: Why the CPQ AlphaServer DS20 Flies on FP (was Re: HP PA-8500 fp performance: Ugh!) Date: 1999/01/16 Message-ID: <36A0BFBF.F50DCA28@zko.dec.com>#1/1 X-Deja-AN: 433363097 Content-Transfer-Encoding: 7bit References: <369E4B0C.A3A3D85E@moene.indiv.nluug.nl> <77o21h$3pl@news1.newsguy.com> <369FB09B.9B8D094A@zko.dec.com> <36A002BD.2BEC@wizard.com> Content-Type: text/plain; charset=us-ascii Organization: Digital Equipment Corporation Mime-Version: 1.0 Newsgroups: comp.arch,comp.sys.dec,comp.sys.intel H.W. Stockman wrote: > > John Henning wrote: > > > [...] > > - Optimizations must improve performance for a class of programs > > where the class of programs must be larger than a single SPEC > > benchmark or SPEC benchmark suite. > > Good rule. How is it enforced? In rough order of priority: 1. By technical conscience of the benchmarker and vendor. I have in the past reminded compiler developers, and they have reminded me, that we must view the benchmarks in the context of their attempts to represent real world programs. 2. By peer review by other technical engineers at other vendors. "What exactly does that switch DO?" we ask each other. We insist on a written description, with sufficient detail so that we can understand it, prior to the posting of a result. 3. By evolution of the suite. We tend to have a strong predisposition against keeping a benchmark more than 2 "rounds" - that is, if a benchmark was in both CPU92 and CPU95, you are unlikely to see it retained in CPU99. The evolution of the suite tends to cause the "benchmark specials" to become useless and/or even negatives, as they waste the time that might be more productively spent on general optimizations. 4. By the concept of base. Peak shows you what can be achieved if you are willing to profile your code, understand what it does to a machine, and adjust how it is compiled. If you are not willing to do that, base is a better guideline to the performance that you should expect. By having a variety of programs in the suite, the switch "-Omaximum" is forced to consider both small, cache-resident codes and large, memory-sweepers; both huge-basic-block crunchers and branchy codes that can't run 5 instrunctions in a row without heading off in another direction; both little loops that ought to be identified for unrolling and big loops that ought not; etc. - John Henning Member of the SPEC CPU Subcommittee