From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <428ddea9ccb2d3309278e4e5d372b6af.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199610011558.IAA00777@panda.mosberger> Date: Tue, 1 Oct 1996 08:58:38 -0700 From: David Mosberger-Tang Subject: Re: Performance revisited > Our conclusion has been that Linux/Alpha is not a realistic choice at > the moment, and because DEC UNIX licenses are so expensive we are better > off using Intel Pentiums with Linux. May I ask how much time you spent optimizing the code for CISC (and/or x86) and how much time was spent optimizing it for RISC (and/or Alpha)? The reason I'm asking is that DEC's compilers do a pretty good job at taking legacy code and making it perform reasonably well. gcc, in contrast, typically needs a little help (both for the x86 and the Alpha) and it often makes a huge performance difference. The other potential culprit is libm. Unfortunately, nobody has found time yet to optimize it for the Alpha. But if it's just one or two functions, it may be easy to correct those (and, hey, it would be one or two functions less that perform badly in libm... ;-) The best thing to do is to run gprof on your program. It's always good to understand why a program performs the way it does. Given the huge difference between gcc and DEC cc, I suspect it's something simple. --david -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null