Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* X86/Alpha/Fortran benchmark results
@ 1999-07-08 19:07 Bill Broadley
  1999-07-08 19:08 ` Todd Henderson
  1999-07-08 19:36 ` Greg Lindahl
  0 siblings, 2 replies; 6+ messages in thread
From: Bill Broadley @ 1999-07-08 19:07 UTC (permalink / raw)
  To: axp-list


Hello all,

Was playing with a few systems using a large fortran fluid dynamics
code that uses 5 grids to model a blood flow, I was rather impressed
with the results (low is better, minutes:seconds):

Redhat-6.0/egcs-1.1.2, fort=tru64 fortran on linux.

PII-450-512k cache              g77 -O3         75:02
Celeron 450A-128K cache         g77 -O3         74:44
Alpha 21164-600 4 MB cache      g77 -O3         29:27
Alpha 21264-500 4 MB cache      g77 -O3         17:16
Alpha 21264-500 4 MB cache      fort -O3         8:42

--
Bill


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: X86/Alpha/Fortran benchmark results
  1999-07-08 19:07 Bill Broadley
@ 1999-07-08 19:08 ` Todd Henderson
  1999-07-08 19:36 ` Greg Lindahl
  1 sibling, 0 replies; 6+ messages in thread
From: Todd Henderson @ 1999-07-08 19:08 UTC (permalink / raw)
  To: axp-list

Bill Broadley wrote:

>

You wouldn't happen to have access to a DEC Unix(tru64) machine with
tru64 fortran would you?  Also, did you specify -arch ev6 ?

Thanks,
Todd


> Hello all,
>
> Was playing with a few systems using a large fortran fluid dynamics
> code that uses 5 grids to model a blood flow, I was rather impressed
> with the results (low is better, minutes:seconds):
>
> Redhat-6.0/egcs-1.1.2, fort=tru64 fortran on linux.
>
> PII-450-512k cache              g77 -O3         75:02
> Celeron 450A-128K cache         g77 -O3         74:44
> Alpha 21164-600 4 MB cache      g77 -O3         29:27
> Alpha 21264-500 4 MB cache      g77 -O3         17:16
> Alpha 21264-500 4 MB cache      fort -O3         8:42
>
> --
> Bill
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: X86/Alpha/Fortran benchmark results
  1999-07-08 19:07 Bill Broadley
  1999-07-08 19:08 ` Todd Henderson
@ 1999-07-08 19:36 ` Greg Lindahl
  1 sibling, 0 replies; 6+ messages in thread
From: Greg Lindahl @ 1999-07-08 19:36 UTC (permalink / raw)
  To: axp-list

> Alpha 21264-500 4 MB cache      fort -O3         8:42

This is the "standard" "safe" optimization level you want:

fort -O4 -arch ev6 -tune ev6

I've found that the ev6 options get about 10% more performance on the
codes I tried. They make a huge difference for stream.

-- g


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: X86/Alpha/Fortran benchmark results
@ 1999-07-08 21:38 Bill Broadley
  1999-07-08 21:47 ` Greg Lindahl
  0 siblings, 1 reply; 6+ messages in thread
From: Bill Broadley @ 1999-07-08 21:38 UTC (permalink / raw)
  To: axp-list


On Thu, Jul 08, 1999 at 02:08:31PM -0500, Todd Henderson wrote:
>You wouldn't happen to have access to a DEC Unix(tru64) machine with
>tru64 fortran would you?

No, but since the fortran on tru64 is the same as linux AFAIK I'd expect
minimal differences in runtime.

> Also, did you specify -arch ev6 ?

Nope, but I was told this was default on this particular machine
(not sure if the compilers smart enough, or it's a configuration
of the compiler).

On Thu, Jul 08, 1999 at 03:36:27PM -0400, Greg Lindahl wrote:
> this is the "standard" "safe" optimization level you want:
> 
> fort -O4 -arch ev6 -tune ev6

I just tried it, helped a bit:
Alpha 21264-500 4 MB cache      fort -O4 -arch ev6 -tune ev6   8:31

Another variation (surprisingly slower):
Alpha 21264-500 4 MB cache      fort -O6 -mcpu=ev6 -ffast-math  8:54

For completeness sake here's the complete table now:
PII-450-512k cache		g77 -O3        			75:02
Celeron 450A-128K cache		g77 -O3      			74:44
Alpha 21164-600 4 MB cache	g77 -O3     			29:27
Alpha 21264-500 4 MB cache	g77 -O3      			17:16
Alpha 21264-500 4 MB cache	fort -O6 -mcpu=ev6 -ffast-math	 8:54
Alpha 21264-500 4 MB cache	fort -O3			 8:42
Alpha 21264-500 4 MB cache	fort -O4 -arch ev6 -tune ev6	 8:31

--
Bill


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: X86/Alpha/Fortran benchmark results
  1999-07-08 21:38 X86/Alpha/Fortran benchmark results Bill Broadley
@ 1999-07-08 21:47 ` Greg Lindahl
  1999-07-08 22:25   ` Phillip Ezolt
  0 siblings, 1 reply; 6+ messages in thread
From: Greg Lindahl @ 1999-07-08 21:47 UTC (permalink / raw)
  To: axp-list

> Another variation (surprisingly slower):
> Alpha 21264-500 4 MB cache      fort -O6 -mcpu=ev6 -ffast-math  8:54

Why are you surprised by that? You used -O6, and -O5 happens to turn
on optimizations which may be bad. That's why -O4 is the safe level.

-- g



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: X86/Alpha/Fortran benchmark results
  1999-07-08 21:47 ` Greg Lindahl
@ 1999-07-08 22:25   ` Phillip Ezolt
  0 siblings, 0 replies; 6+ messages in thread
From: Phillip Ezolt @ 1999-07-08 22:25 UTC (permalink / raw)
  To: axp-list

Not to mention that "-mcpu=ev6 and -ffast-math" are egcs flags, not fort/GEM
flags.  I think that flags unknown to fort are ignored. 

You might also want to try "-fast".

--Phil

Compaq: High Performance Servers Division/Benchmark Performance Engineering
---------------- Alpha, The Fastest Processor on Earth --------------------
Phillip.Ezolt@compaq.com        |C|O|M|P|A|Q|        ezolt@perf.zko.dec.com



On Thu, 8 Jul 1999, Greg Lindahl wrote:

> > Another variation (surprisingly slower):
> > Alpha 21264-500 4 MB cache      fort -O6 -mcpu=ev6 -ffast-math  8:54
> 
> Why are you surprised by that? You used -O6, and -O5 happens to turn
> on optimizations which may be bad. That's why -O4 is the safe level.
> 
> -- g
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-07-08 22:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-08 21:38 X86/Alpha/Fortran benchmark results Bill Broadley
1999-07-08 21:47 ` Greg Lindahl
1999-07-08 22:25   ` Phillip Ezolt
  -- strict thread matches above, loose matches on Subject: below --
1999-07-08 19:07 Bill Broadley
1999-07-08 19:08 ` Todd Henderson
1999-07-08 19:36 ` Greg Lindahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox