From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,bf98da65c7d90c8a X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,bf98da65c7d90c8a X-Google-Attributes: gid1164f8,public X-Google-Thread: 1094ba,bf98da65c7d90c8a X-Google-Attributes: gid1094ba,public X-Google-Thread: 114b0c,bf98da65c7d90c8a X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-06-23 14:37:00 PST Xref: gmd.de comp.sys.dec:8388 comp.unix.osf.osf1:513 comp.lang.fortran:6655 comp.sys.hp:19787 Newsgroups: comp.sys.dec,comp.unix.osf.osf1,comp.lang.fortran,comp.sys.hp Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!utnut!torn!nott!cu23.crl.aecl.ca!cu51.crl.aecl.ca!glenr From: glenr@cu51.crl.aecl.ca (Glen Reesor) Subject: Re: Summary: Alpha Performance Message-ID: <1993Jun23.213021.15083@cu23.crl.aecl.ca> Sender: news@cu23.crl.aecl.ca (USENET News System) Nntp-Posting-Host: cu51.crl.aecl.ca Organization: AECL Research, Chalk River References: <1993Jun21.143622.9897@cu23.crl.aecl.ca> <1993Jun22.144348.26782@ryn.mro4.dec.com> <1993Jun22.161533.8595@cu23.crl.aecl.ca> <1993Jun23.151123.12090@news.eng.convex.com> Date: Wed, 23 Jun 1993 21:30:21 GMT In article <1993Jun23.151123.12090@news.eng.convex.com>, Patrick F. McGehearty writes: |> As for the DEC rep showing benchmarks which all favor |> the DEC machine, this is hardly surprising. Ask the HP rep for some |> benchmarks, and I expect he/she could give you an equally long list |> which favor the HP machine. This is another interesting side to the story. I guess I must go into further detail. We were looking to purchase a workstation. Our original plan was to benchmark SGI, IBM, DEC, and HP and choose the machine that ran our specific codes fastest. This is the advice I got from many netland people since benchmarks are all fine and dandy, but they're not what you'll actually be using the machine for. However, due to new time constraints, we were unable to take the time to benchmark each machine. Thus, the decision was made to go entirely on published benchmarks. At the time we saw benchmarks that showed HP within 10% of the Alpha 500X and thus we chose to go with the HP based on it being a more mature operating system and compiler (No, I don't want to start a flame war over this point.) We told this to DEC, and we soon got 30 pages of benchmarks (as cited in a previous article of mine) ALL showing the Alpha 500X faster than the HP 735, sometimes by as much as 50%. Upon seeing this, I called our HP sales rep and said, "Look. We've got these amazing performance numbers from DEC. Give me everything you got." (They hadn't even faxed us any performance numbers yet.) BUT, HP didn't have any numbers showing their machine faster! In fact, my supervisor got a call from someone else at HP, who tried to sell us on the robustness of the operating system and compiler. He DID NOT try to imply their machine was faster. In fact, he conceded that it was, perhaps, 10% slower! This was another reason why I found our performance numbers surprising. Even HP didn't think their machine was faster! So why did I end up benchmarking these machines? I told HP that due to the performance numbers we received from DEC, HP had lost the sale. They promptly sent us a demo machine which arrived the next day. (BTW, it took some arm twisting to get a model 500 from DEC, and a 500X was totally out of the question.) Whew! Got all that? |> By the way, it might be true that the KAP preprocessor has a greater |> benefit for one workstation than another either due to specifics of the |> architecture or due to the compiler group at HP relying on the KAP |> preprocessor to do certain optimizations since it is available with |> all machines, while the DEC compiler group can't make that assumption. As I've stated earlier in this thread, we didn't use the KAP on HP either. Thus, I don't see how the compiler on HP can rely on the KAP for the added performance we were showing. I do, however, agree with your point that different architectures may benefit more from KAP than others. Unfortunately, DEC did not supply us with the KAP. BUT, I have received many responses from "real live net people" who say that the KAP gives anywhere from 20% improvement, to no improvement. Thus, I did not view it as being crucial to our decision when DEC did not supply us with it. |> I don't know of any specific examples, but I would not assume that omitting |> the preprocessor from both products is the same as applying the preprocessor |> to both products. You're probably right. |> |> I'm having trouble understanding your position about profiling. If you |> really want to understand the fundamental reasons why one machine is |> better than another, you need to investigate. Profiling is a fundamental |> tool for performance investigation. Once you identify that 100 lines of |> code where 90% of the execution time is occurring, a DEC or HP expert |> can say "oh, you are thrashing the cache, or our compiler is spilling |> registers, but in the next release we'll have it fixed, or whatever". Yes, but our workload in the next 6 months is crucial to our project, thus something 6 months or a year down the road would be significantly less use to us than what HP can supply *right now*. |> Perhaps you will learn about that magic compiler switches that can be |> applied for all your codes, but which is not appropriate in some contexts |> [i.e. trade more compile time for less execution time]. That could very well be true. However, I spoke with a DEC techie who could only suggest the compiler switches that I had tried. There was no mention of any esoteric (sp?) switches that may help in certain cases. In fact, wrt your example, since this was a sale situation, they surely would have told me of a switch that would give better run time with the trade off of longer compile time. |> If you are not |> willing to profile, you can't expect the performance analysts to be |> able to help you investigate what your issues are. That's very true. However, my considerations are: a) The machine to buy had to be decided very quickly. Are we shooting ourselves in the foot by deciding so quickly? Perhaps. But these were external pressures that I had no control over. That's life. b) If I give the code to DEC to try and squeeze more performance out, I would have to do the same for HP to keep it an apples to apples comparison. Things were already dragging as it was. How much time was this going to delay us? (We didn't know.) c) If we have a number of codes to run, are we going to profile each code? In an ideal world, yes. But here it is not ideal. Our job is to do engineering work, and use the computer as our tool. We can't spend the time monkeying with the computers. Often it's a case of give it your best shot--but don't waste too much time on it. We could very well be sticking our heads in the sand (I'd be the first to admit it :-), but these are the facts of life with my work environment. |> >Thus, my conclusions are not "DEC is cheating." They are not "SPEC benchmarks |> >are useless." BUT, my conclusions are "What the hell is going on here??" |> > |> |> A fair question. |> Unfortunately, with workstations moving into rarified levels of performance, |> they are becoming subject to extreme variances in effective rates due to |> small changes in program environment. Falling out of cache can often |> cost you a factor of 5 in performance. Agreed. There has been an interesting thread in comp.benchmarks that shows that very phenomenon. But, what I see is: a) We have 8 entirely different codes used here that all showed the lack of performance in Alpha. I think it's a pretty diverse set of codes and thus the chance of them all being uniquely problematic wrt cache (for instance--or some other such architecture characteristic), is very low. Maybe I'm totally out to lunch on this one. But if I am, then there's alot of engineering and numerical modelling codes similar to ours that just won't perform on Alpha. b) I've seen one post that shows the Alpha faster than the HP. Is this the only instance?? (For DEC's sake, I hope not.) When I posted my first article, I was expecting to be deluged with "You bone head! Our Alpha demolishes the HP. Here's the trick you need." I have NOT received ANY responses like that. But I dearly wanted to get responses like that because Alpha's performance on paper would have been *great* for our project! c) This is something that just hit me. DEC was reassuring me that the 500X has been shipping since April. I have no reason to disbelieve them, but I haven't seen anyone post any "real-life" performance numbers comparing the 500X to an HP. Does anybody out there in netland actually have one of these?? Well anyway, that's my $10 worth. :-) BTW, DEC basically conceded that they had lost the sale, and took our demo Alpha back and thus I am unable to try any profiling etc. on it (or any other suggestions for that matter). Anyone with performance numbers showing the flip side (Alpha faster), please post. I can't imagine that what I'm showing is true of most codes. Anyway, I have much engineering work to do :-> I will, however, be wearing a flame-resistant suit while I'm sitting in front of my (new) HP :-) -- Glen Reesor | Email: glenr@cu51.crl.aecl.ca AECL Research | Phone: (613) 584-3311 Station 92, Building 145 | "Warning: This is a PC-free zone." Chalk River, ON Canada K0J 1J0