From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,10b7a9a3731f3fc8 X-Google-Attributes: gid1164f8,public 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 From: Marc Lepage Subject: Re: Alpha Dead? Naaahhhh.... (was Re: Is there a list of Alpha NT applications anywhere?) Date: 1997/12/13 Message-ID: <3492CA68.16C7916C@cgocable.net>#1/1 X-Deja-AN: 297884801 Content-Transfer-Encoding: 7bit References: <34915AEE.41C6@atlas.cheme.cornell.edu> <3491F2D7.28E3@videotron.ca> <3491FFE2.E1D71B82@cgocable.net> <66u8pn$833@usenet.srv.cis.pitt.edu> Content-Type: text/plain; charset=us-ascii Organization: Infinisys 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 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. To be fair, I've found compiler errors in all the compilers I have used over the last year or two, but the DEC C++ compiler's optimizations have been the most error-prone. A Solaris error turned out to be not due to optimization, just non-debug builds, and only in certain nested if-statements with identical conditions. I worked around it by changing the code (and commenting!), but one DEC error in an expanded macro with the conditional operator I couldn't even work around with code changes (the answer was always zero!). So, no, we don't optimize anymore on DEC, too risky. -- SEGV