From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,f4812e07eb2f9131 X-Google-Attributes: gidfee84,public From: Kevin Oberman Subject: Re: Roll-yer-own Alpha OSF box Date: 1996/02/26 Message-ID: <3131F42C.1372@es.net>#1/1 X-Deja-AN: 141246516 references: <31227482.31DF@garply.com> <312E2D01.7DE1@bob.usuf2.usuhs.mil> <312E3D48.6231@netcom.com> <4gm9lf$hgl@netnews.upenn.edu> content-type: text/plain; charset=us-ascii organization: ESnet - The Energy Sciences Network mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha) Roman Gollent wrote: > > In article <312E3D48.6231@netcom.com>, > Kevin Oberman wrote: > > | Don't use cc. It's a pretty crufty compiler and gcc is usually better. > > Funny you should say that. I compiled rayshade using cc (DU 3.2c) > with various optimization flags (not including -migrate) and another > version using gcc -O6 (version 2.7.2). Using the indentical source > file, the run using rayshade compiled via cc was a good 10 seconds > faster. When it comes to results for a specific piece of code, there is no way to say for sure which complier will yield the best results. I don't find either gcc or cc to be especially stellar. cc-migrate used the MIPS developed GEM technology which is claimed to be excellent. (I have done no actual tests, so I will not vouch for the validity of the claims.) > Although one thing I should point out is that a friend of mine with a > 600 5/266 noticed better performance using gcc vs cc, same flags, same > program, same source. gcc has gone through several versions in the past year, so that could be of import. Also, the optimization needs to be done differently for different Alpha chips for best results. (I refer to EV4 vs. EV5.) See -tune in the man pages for details. -- R. Kevin Oberman Energy Sciences Network (ESnet) National Energy Research Supercomputer Center (NERSC) EMAIL: oberman@es.net Phone: +1 510 422-6955