From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <456d64704566b9e72d7bcf64124cf8c6.axp-list@archive.invalid> X-Archive-Original-Message-ID: <2.2.32.19961006204931.00709020@norfolk.infi.net> Date: Fri, 4 Oct 1996 15:18:35 +0100 From: Nigel Sale Subject: Re: Performance revisited In-Reply-To: <199610011558.IAA00777@panda.mosberger> In message <199610011558.IAA00777@panda.mosberger>, davidm@AZStarNet.COM writes > > 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 > Infact no time was spent optimizing these codes for either the Intel or Alpha machines. I didn't really want to do this as it would move the goal posts. Yoy are right about libm. I'm certain that this is a significant factor. sqrt and pow are used alot by the codes and i now that the gcc functions are very inefficient. If somebody could fix these function it may be a different story... -- Nigel Sale -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null