Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "W Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Compaq C Compiler
Date: Mon, 11 Mar 2002 15:42:39 -0600	[thread overview]
Message-ID: <3C8D24CF.CBF6C22E@paralleldata.com> (raw)
In-Reply-To: 02031113335101.24094@shadowfax.middleearth

George France wrote:
> 
> On Sunday 10 March 2002 02:00, W Bauske wrote:
> > And how much of your code's time is spent doing FP work? If it's not
> > FP, I'd be curious what you're doing with Alphas and gaining lots
> > of performance over gcc.
> >
> 
> Hello Wes,
> 
> On Alpha systems most of my applications are cluster related and customer
> specific, so I can not really chat about them.  Overall, I do see about a 20%
> integer performance improvement with ccc over gcc 2.96.x.  I believe that gcc
> 3.1.x when released may have improved integer performance on Alpha.
> 
> I usually use:
> 
> ccc -arch ev6 -fast -O4 ONESTEP
> 
> -arch ev6
>         I do not want to use the ev4/5 instruction set nor scheduling.
> 
> -fast
>            Make certain that ccc is using the byte/word instructions.
> 
> 

No surprises.

> As an example, I downloaded nbench 2.1 from
> http://www.tux.org/~mayer/linux/bmark.html and tried it against gcc 2.96 on a
> RH 7.0 system running on a Digital Personal Workstation 500a (EV5/6 500).
> Using the ccc compiler, but adding -fast, and using gcc with -O5 I get:
> 

All I'll say about this benchmark is it's not what I run in production
and is not the most well tuned code around.

Everything I build has been tuned against a minimum of 4 computer architectures.
Ultrasparc/Alpha/POWER3+/P4/Athlon XP are used currently. I do mean heavily checked
and rechecked with a bias toward the machine that currently dominates my production
environment. I'll recode an algorithm if I have to to make it run well.

X is sufficiently mature to have gone through as much tuning as I normally do
on my codes so I expect X's performance characteristics to be similar to my
observations, not nbench's behavior.

What I mean by that is that I've incorporated tricks the compiler would use
into the source so it leaves little left for the compiler to do. The main things
I expect a compiler to do are instruction scheduling and efficient memory access.
A good math lib is nice too.

Things like common sub-expression elimination, loop reordering, constants moved 
out of loops, loop unrolling, etc., are already in the source code.


Wes




  reply	other threads:[~2002-03-11 22:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-08 22:30 Compaq C Compiler Ted Goodridge
2002-03-08 23:56 ` David Woodhouse
2002-03-09  0:42   ` Ted Goodridge, Jr
2002-03-09  1:04     ` Uncle George
2002-03-09  1:07 ` W Bauske
2002-03-10  4:50   ` George France
2002-03-10  7:00     ` W Bauske
2002-03-11 18:33       ` George France
2002-03-11 21:42         ` W Bauske [this message]
2002-03-11 22:51           ` Peter Petrakis
2002-03-12  0:54             ` W Bauske
2002-03-13  4:30               ` Peter Petrakis
  -- strict thread matches above, loose matches on Subject: below --
2002-03-11 18:22 William H. Magill
     [not found] <20020309170102.1A3BF3EF4F@listman.redhat.com>
2002-03-09 17:53 ` Stephen Lewis
     [not found] <20020308060803.4DB073F764@listman.redhat.com>
2002-03-08 19:01 ` Compaq C compiler Stephen Lewis
2002-03-07 19:42 Ted Goodridge, Jr
2002-03-07 19:53 ` Ross A Knepper
2002-03-07 21:56 ` Michal Jaegermann
2002-03-08  3:38   ` Ted Goodridge, Jr
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