From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,37ab7eb89916c06 X-Google-Attributes: gid111c93,public From: "Adam C. Powell, IV" Subject: Re: Compaq is sitting on a goldmine now that Linux is taking of Date: 1998/11/24 Message-ID: <365AEF49.EDBAFB13@nist.gov>#1/1 X-Deja-AN: 415227688 Content-Transfer-Encoding: 7bit References: <730261$kc7$1@tesla.EECS.Berkeley.EDU> <731cs7$rfn@news1.newsguy.com> <3656259B.1517@wizard.com> <73cua4$779$1@hiram.io.com> <365A9EFE.6D405238@theo1.physik.uni-stuttgart.de> X-Accept-Language: en-US, en Content-Type: text/plain; charset=us-ascii Organization: National Institute of Standards and Technology Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha Murx wrote: > IX Corp. wrote: > > > II'm personally waiting for the single CPU '264, as it looks rather faster > > than the 164, SMP don't stably work yet on anything as far as I know, my > > code is granular, and I won't really need the heavy metal until then > > anyway. > > I'm a bit sceptical about the 21264 and linux: > It's theoretical peak is (at least for now) the same > as for the 21164 (2 FPU's, 5xx Mhz). > E.g: Goto's gemm wouldn't run any faster. You're absolutely right! For tuned codes like this, the 21164 has almost the same performance/MHz (except memory bandwidth), and obviously vastly better price/performance, vs. 21264. I hope they keep improving 21164, e.g. .25/.18 um, and selling it cheap. Then again, 9 million transisters isn't that much cheaper than 15, so when the investment is paid for (like, in two years maybe), 21264 should cost just under twice as much, and there won't be much justification for 21164 outside of matrix multiply. :-) > Yet, since the 21264 is a brainiac (instruction > reordering etc.) FP performance is supposed to > double (about, also due to improved bandwidth to memory) > There is, however, lots of brainy activity > already in the DEC compiler and especially in the scheduler. > EGCS isn't as brainy. Does this now mean, > no matter what compiler i have, this beast will run > close to it's peak ? Or does this imply that the less > sophisticated scheduling (especially with regard > to access to main memory) of EGCS will cripple > this brainiac? In short, that the gap between the DEC > compiler and EGCS will be widening ? I got an interesting email from Jon "maddog" Hall, a DEC/Compaq employee who is also (I think) chairman of Linux International. He said that DEC engineers have looked over the back-end optimizations in egcs, and determined that it's pretty close to optimal here, not much more can be done. The g77 compiler is merely a fortran front end on what is basically a C compiler, and therefore back end optimizations must be able to deal with C code and its very loose rules. DEC's fortran compiler, on the other hand, takes advantage of FORTRAN's much stricter rules to vectorize loops more efficiently than can be done in C. This means, among other things, that an enormous compiler architecture change is necessary for egcs fortran to compete with DEC fortran. But once code has been compiled into assembler, since each instruction executes on 21264 as soon as its arguments are ready, this should substantially _narrow_ the gap between fortran and C, and between DEC's compilers and egcs. For details on the C-fortran rules differences, click on the link in the http://www.alphalinux.org high-performance page. Zeen, -Adam `Cold Fusion' Powell, IV http://www.ctcms.nist.gov/~powell/ ____ USDoC, National Institute of Standards & Technology (NIST) |\ ||< | Center for Theoretical and Computational Materials Science | \||_> |