From: Jim Nance <Jim_Nance@avanticorp.com>
Subject: Re: performance of 21164-300 vs P6-200 (fwd)
Date: Wed, 12 Jun 1996 07:36:17 -0400 (EDT) [thread overview]
Message-ID: <9606121136.AA03265@scooter> (raw)
Forwarded message:
> I am definitely biased towards buying an Alpha [as a psychological
> indicator: after these 'depressing' tests I went to buy the Redhat AXP
> 3.0.3 CD :-) - I already had 2.1] - Jim's notes (as yours) are in a way
> encouraging, because the main program that is supposed to run on the
> Alpha uses double precision (yes it's Fortran unfortunately) exclusively.
Well I spent a good part of last night bouncing email back and forth with
David Mosberger-Tang, and he has figured out the float/double issue.
I was compiling with DECC which defaults to K&R mode which requires that
all intermediate results and function arguments be premoted to doubles.
This cause a lot of unnecessary premotion/demotion to happen. He told
me to put the compiler in ansi mode (-std1 flag), and when I did floats
ran at least as fast as doubles.
He also did a little loop unrolling in test1 which made a tremendous
performance difference:
roadrunner> ./newtest1 10
1000 10 4.20 190.48
roadrunner> ./test1 10
1000 10 0.58 137.14
> I can also live with somewhat less spectacular performance for a couple
> of months (after which we were thinking to buy yet another Alpha - the
> deal is, that they are supposed to replace MicroVaxen to control
> measuring instruments - the software runs under linux - and we just would
> put our most decrepit P5 in that place instead and use the Alphas for
> better things - just trying to cheat our bureaucrats :-).
Sounds like a good plan. Linux/Alpha is fun.
Jim
next reply other threads:[~1996-06-12 11:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-06-12 11:36 Jim Nance [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-06-12 15:04 performance of 21164-300 vs P6-200 (fwd) David Mosberger-Tang
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox