From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f57db,8a5deba25babf30b X-Google-Attributes: gidf57db,public X-Google-Thread: 114b0c,bf98da65c7d90c8a X-Google-Attributes: gid114b0c,public X-Google-Thread: fee84,bf98da65c7d90c8a X-Google-Attributes: gidfee84,public X-Google-Thread: 1094ba,bf98da65c7d90c8a X-Google-Attributes: gid1094ba,public X-Google-Thread: 1164f8,bf98da65c7d90c8a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-06-30 12:08:49 PST Xref: gmd.de comp.sys.dec:8508 comp.unix.osf.osf1:569 comp.lang.fortran:6762 comp.sys.hp:20121 comp.benchmarks:2307 Newsgroups: comp.sys.dec,comp.unix.osf.osf1,comp.lang.fortran,comp.sys.hp,comp.benchmarks Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!darwin.sura.net!sgiblab!sgigate!odin!mash.wpd.sgi.com!mash From: mash@mash.wpd.sgi.com (John R. Mashey) Subject: Re: Summary: Alpha Performance Message-ID: Sender: news@odin.corp.sgi.com (Net News) Nntp-Posting-Host: mash.wpd.sgi.com Organization: Silicon Graphics, Inc. References: <24JUN199310084315@author.gsfc.nasa.gov> <20clhd$qls@sol.TIS.COM> <1993Jun24.144119.1@uwovax.uwo.ca> <20d2e7$845@sol.TIS.COM> <1993Jun30.173343.24734@ornl.gov> Date: Wed, 30 Jun 1993 18:45:20 GMT In article <1993Jun30.173343.24734@ornl.gov>, de5@ORNL.GOV (Dave Sill) writes: |> Sure, they made a mistake when they included matrix300. In hindsight, it was a |> *big* mistake. Clearly, though, that wasn't obvious at the time, or it |> wouldn't have been included. We all worried that it was a little too simple, but we *liked* the fact that the vanilla version bashed caches, and we liked having 10 benchmarks rather than 9. I think I've explained in the past how difficult it was to get benchmarks that: a) Were realistic, i.e., at the very minimum kernels of real apps, preferably real apps. b) Were distributable without licensing problems, i.e., not necessarily public domain (GNU C isn't public domain, but copyleft), but in general distributable in source form without extra license fees. c) Were reasonably portable. d) Ran long enough to be interesting and minimize timing randomness. e) Were checkable, either by having identical results, or for some FP codes, identical within reasonable tolerances. Some otherwise wonderful benchmarks got killed by this requirement. For example, timberwolf is a mostly integer program that does ECAD chip layout using simulated annealing. It's usefully large, ported easily to all platfroms, and is *useful* on all the platfroms. We loved it, except that on 12 platforms, it produced 3 distinct answers, with slightly different iteration counts. (The "answer" is a chip layout, and all 3 solutions were feasible, and useful, and about the same size.) We think this came from doing an occasional FP comparison, and then making a yes/no decision upon the result, and we never could cosntruct a version without this property. ARGH! Anyway, in retrospect, if we'd realized how fast the KAP technology was coming to broader markets, we'd have dropped matrix300 out; it definitely was the least favorite benchmark. (From Marcus Ranum): |> >a suprise because I'm sure the folks who did KAP were spending |> >99% of their time testing it against MATRIX. |> I think that last statement is unfair, if not libelous. Even worse, it's simply wrong. |> >... 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'd trust Norton Utilities "sysinfo" |> >results as much as SPEC. One more time: SPEC always told people to look at all the benchmarks, and took great pains and cost to make sure that the numbers were reported; there was not cheating going on with KAP, which had been in the works well before SPEC came out. Consider the following 3 cases: 1) Global optimizers start erasing pieces of Dhrystone 1.1 via dead-code elimination. 2) KAP drastically increases matrix300 performance. 3) People use magic flags to cause special-case inlining of strcpy in dhrystone, including guaranteed alignment of strings, and other tricks, to increase Dhrystone performance by 30-40%. 4) As in 3), but using new ANSI inlining. 5) People have compiler search for "DONGARRA" in input, then replace the *AXPY routines with special hand-coded stuff to drastically boost LINPACK. In my opinion, 1) and 2) and 4) are what often happens: natural improvements in compiler technology make an existing benchmark less useful, and the benchmark either gets dropped, or changed, as is appropriate. In my opinion, 5) is outright cheating, and 3) is pretty close. I distinguish between 3) and 4) as 4) is an instance of a general mechanism; however, either one causes the statistics of that particular benchmark to get even further away from any real programs I've ever seen. By the way, it isn't just compiler advances that cause benchmarks to get useless, hardware advances do it also - consider the recent dsicussions of the effects of caches and memory hierarchy. Anyway, expect that even with people honestly working very hard to get good benchmarks, there will always be such surprises.... -- -john mashey DISCLAIMER: UUCP: mash@sgi.com DDD: 415-390-3090 FAX: 415-967-8496 USPS: Silicon Graphics 7U-005, 2011 N. Shoreline Blvd, Mountain View, CA 94039-7311