From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb9cd,10b7a9a3731f3fc8 X-Google-Attributes: gidfb9cd,public X-Google-Thread: 1125fa,10b7a9a3731f3fc8 X-Google-Attributes: gid1125fa,public X-Google-Thread: f782f,10b7a9a3731f3fc8 X-Google-Attributes: gidf782f,public X-Google-Thread: 1164f8,10b7a9a3731f3fc8 X-Google-Attributes: gid1164f8,public From: Jeffrey Potoff Subject: Re: Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Date: 1997/12/15 Message-ID: <34955C3B.167E@atlas.cheme.cornell.edu>#1/1 X-Deja-AN: 298422111 Content-Transfer-Encoding: 7bit Sender: jjp7@cornell.edu (Verified) References: <34915AEE.41C6@atlas.cheme.cornell.edu> <3491F2D7.28E3@videotron.ca> <3491FFE2.E1D71B82@cgocable.net> <66u8pn$833@usenet.srv.cis.pitt.edu> <3492CA68.16C7916C@cgocable.net> Content-Type: text/plain; charset=us-ascii Organization: Cornell University Mime-Version: 1.0 Newsgroups: comp.os.ms-windows.nt.admin.misc,comp.os.ms-windows.nt.advocacy,comp.sys.dec,comp.os.ms-windows.nt.misc Marc Lepage wrote: > > Gregg E Economou wrote: > > > > In article <3491FFE2.E1D71B82@cgocable.net>, > > Marc Lepage wrote: > > > > > >I suppose I'll add my two cents. I have several machines in my office: > > >Solaris, DEC, HP-UX, AIX. The Alpha is the fastest, at 400mHz. It > > >compiles the fastest, as well. > > > > >I understand that my Ultra has 128MB RAM vs. 64MB in the Alpha, but the > > >C compiler doesn't use that much memory (although the C++ one does). I > > >compiled C programs with only 32MB RAM in the Ultra, and it was about > > >the same as the DEC. And, it's only 143mHz. > > > > clock speed has little to do with the performance of a chip. end of argument. > > I am familiar with issues other than clock speed in performance. I'll > double-check the memory factor though. > > > > > > >I don't think memory is the issue. We are theorizing that something > > >isn't configured properly in the Alpha, or Digital UNIX 4/3.2. Or, is it > > >just not a responsive OS? Something to fuel discussion.... > > > > Heres something to ask yourself: > > Since youre using DUNIX, you probably have the DEC compiler. > > What compiler are you running on the Sun? > > You are essentially telling us that two separate programs, designed > > to more or less do roughly the same kind of work, are perfroming > > differently, and then implying that the mahcine or OS theyre running under > > are the culpritsd for the disparity! > > Look at the obvious thing: youre running two separate programs! > > If you really want to measure performance, run the SAME program on each > > machine. > > In fact, the DEC compiler does fancy things and this takes a lot of time. > > It actually does a lot more work than gcc or your compiler in Solaris > > is probably doing. This takes time. While it doesent rule out machine > > or OS configuration possibilities, im mentioning that you cant > > expect a good performance measure by running two different porgrams > > on two different machines. > > Try taking a program for which you have source, compiling it > > on both machinesa, and measuring performance then. > > Things liek compilers have a ton of machine-specific stuff in them, since > > the optimization is 9/10 of the battle, and Alpha is a machine which is > > very sensitive to poor optimization on the part of a compiler. The DEC > > compiler does incredible optimization but it has to do a lot of black magic > > with your code before it gets there, and that takes a lot of time. > > Ha. I turned off the optimization after the second error I found due to > it. Using only the default level of optimization, I spent several days > each tracking down two bugs that were due to incorrect optimization (eg: > optimizing out a section of code!). They only occur in non-debug builds, > and our programs are quite large. Maybe C is different, but in all cases with Fortran I've found that 'optimization errors' were due to non-standard coding practices. If your code is truely portable you should be able to compile it with maximum optimization on any platform. Besides, if you can't take advantage of the compiler optimizations what's the point of running on faster hardware ? You're essentially throwing away CPU cycles (and money) because your code isn't optimized. If someone offered you a new machine that was twice as fast as your old one at no additional cost you'd take it, wouldn't you ? Jeff