From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9610261151.AA28153@alpha3.arm.ac.uk> Date: Sat, 26 Oct 1996 12:51:11 +0100 From: Scott Manley Subject: Re: Alpha C/C++ performance In-Reply-To: <199610251908.MAA22019@netcom3.netcom.com> > 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 our 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 the 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. -- Scott Manley (aka Szyzyg) /------ _@/ Mail -----\ ___ _ _ __ __ _ | Armagh Observatory | / __| __ ___| |_| |_ | \/ |__ _ _ _ | |___ _ _ | Armagh | \__ \/ _/ _ \ _| _| | |\/| / _` | ' \| / -_) || | | Northern Ireland | |___/\__\___/\__|\__| |_| |_\__,_|_||_|_\___|\_, | | BT61 9DG. | http://star.arm.ac.uk/~spm/welcome.html |__/ \=====================/ -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null