From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199610261807.LAA22108@netcom7.netcom.com> Date: Sat, 26 Oct 1996 11:07:19 -0700 (PDT) From: Marc Singer Subject: Re: Alpha C/C++ performance In-Reply-To: <9610261151.AA28153@alpha3.arm.ac.uk> > > There has been talk of the fact that GCC does not optimize well for > > the alpha. DEC's OSF compiler is reported to be better, but we aren't > > using it for obvious reasons. Of course, there is hope that someone > > who understands the scheduling issues will patch the alpha code > > generator and give us the benefit of alpha's RISC design. > > > > I did some timing tests of my own to evaluate the performance of a > > UDB/166 (Multia) WRT a 486/100 and a P166 all running GNU/Linux. The > > code is mostly floating point. While I don't have the numbers, I > > recall the ratios. If the P166 was a 1.0, the 486/100 was a 0.3 and > > the UDB was a 0.8. Note that the UDB's are notoriously inefficient > > with diminished caches, slow hard drives, and weak power supplies :-). > > Having done quite a bit of intensivce numerical work on my UDB using GCC I > would say that some types of numerical code work well and other do not. > Numerical integrations of orbits run about 98% of the speed on a server with > the same CPU (but bigger, faster Disk, memory etc). THese are pure programs > with no libraries, anything whch uses glibm as opposed to DEC's maths libs > suffers a great deal more, but I presume x86 linux will have same trouble. > And anything whihc access large arrays starts to suffer from small caces. > > Basically the system is great for me since most of my work involves > integrating orbits of comets and I get the same performace from my desktop > machine as I do from the server. And on the server I'm competing against > people running atmosphere modelling codes....... > > I don't see any trouble with GCC's production of code (well except for > x-pilot....) but the libraries could do with a bit of optomisation. The words about the quality of the compiler's output come from folks who use the CPU in OSF and GNU/Linux. Have you compared the code stream from the two compilers? It would be interesting to compare your programs running on GNU/Linux and OSF. -- Marc Singer -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null