* Re: Alpha C/C++ performance
@ 1996-10-28 9:07 A.Arnold
0 siblings, 0 replies; 12+ messages in thread
From: A.Arnold @ 1996-10-28 9:07 UTC (permalink / raw)
>The words about the quality of the compiler's output come from folks
>who use the CPU in OSF and GNU/Linux. Have you compared the code
>stream from the two compilers? It would be interesting to compare
>your programs running on GNU/Linux and OSF.
Just my $0.02:
I am currently in the process of porting a big Pascal program to C, and
I have an Alphastation 500/266 with OSF at work, and a Jensen with Linux
(still ECOFF - haven't had the time to update so far...) at home. When
I link the program statically under OSF and take it to the Jensen, it
runs about 30% faster than a version compiled with gcc. In both cases,
I tired to get every optimization option from the compiler I could get.
The program contains almost no floating point arithmetic (it is a cross
assembler for a variety of microcontrollers like the 8051, HC11...), but
it contains a lot of string operations..
Alfred Arnold
--
--------------------------------------------------------------------------------
Alfred Arnold Phone: +49 (2461) 61-2434
Zentralinstitut fuer Angewandte Mathematik Fax : +49 (2461) 61-6656
Forschungszentrum Juelich E-Mail: a.arnold@kfa-juelich.de
D-52425 Juelich, Germany
"One has to look out for engineers - they began with sewing machines and
ended up with the atomic bomb" - Marcel Pagnol, Critique des critiques
--------------------------------------------------------------------------------
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
@ 1996-10-29 7:22 A.Arnold
0 siblings, 0 replies; 12+ messages in thread
From: A.Arnold @ 1996-10-29 7:22 UTC (permalink / raw)
>
>I'm doing some analyses of code streams from the two compilers. I
>don't have OSF, so I cannot look at the output directly. Are you
>willing to share source and object with me?
>
>-- Marc Singer
The sources are located at
ftp://zam091.zam.kfa-juelich.de/pub/msdos/assembler/c_version/asport.tar.gz
Precompiled versions aren't downloadable so far. Do you need the .o files
or the linked binaries ?
--
--------------------------------------------------------------------------------
Alfred Arnold Phone: +49 (2461) 61-2434
Zentralinstitut fuer Angewandte Mathematik Fax : +49 (2461) 61-6656
Forschungszentrum Juelich E-Mail: a.arnold@kfa-juelich.de
D-52425 Juelich, Germany
"One has to look out for engineers - they began with sewing machines and
ended up with the atomic bomb" - Marcel Pagnol, Critique des critiques
--------------------------------------------------------------------------------
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
[parent not found: <9610281007.ZM22187@zam331>]
* Re: Alpha C/C++ performance
[not found] <9610281007.ZM22187@zam331>
@ 1996-10-28 15:22 ` Richard Henderson
1996-10-28 18:00 ` Marc Singer
1 sibling, 0 replies; 12+ messages in thread
From: Richard Henderson @ 1996-10-28 15:22 UTC (permalink / raw)
> The program contains almost no floating point arithmetic (it is a cross
> assembler for a variety of microcontrollers like the 8051, HC11...), but
> it contains a lot of string operations..
Do you call <string.h> routines to do all the work or do you play with
the bytes yourself? If the former, this might be entirely a library
issue. The ECOFF libc did most of its string routines in C, and most
of them byte-by-byte. I've gotten 8 to 20 fold increases rewriting
them in assembly.
You might try using the assembly string routines added to the 2.1.[45]
kernel and see if that helps the cause. The only important one not present
is str*cmp. I'd been meaning to finish that one up; perhaps this will
give me a prod.
r~
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: Alpha C/C++ performance
[not found] <9610281007.ZM22187@zam331>
1996-10-28 15:22 ` Richard Henderson
@ 1996-10-28 18:00 ` Marc Singer
1 sibling, 0 replies; 12+ messages in thread
From: Marc Singer @ 1996-10-28 18:00 UTC (permalink / raw)
> Just my $0.02:
>
> I am currently in the process of porting a big Pascal program to C, and
> I have an Alphastation 500/266 with OSF at work, and a Jensen with Linux
> (still ECOFF - haven't had the time to update so far...) at home. When
> I link the program statically under OSF and take it to the Jensen, it
> runs about 30% faster than a version compiled with gcc. In both cases,
> I tired to get every optimization option from the compiler I could get.
>
> The program contains almost no floating point arithmetic (it is a cross
> assembler for a variety of microcontrollers like the 8051, HC11...), but
> it contains a lot of string operations..
>
I'm doing some analyses of code streams from the two compilers. I
don't have OSF, so I cannopt look at the output directly. Are you
willing to share source and object with me?
-- Marc Singer
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
@ 1996-10-26 2:37 ed bristol
0 siblings, 0 replies; 12+ messages in thread
From: ed bristol @ 1996-10-26 2:37 UTC (permalink / raw)
Bryan Thompson wrote:
>
> Hello,
>
> I am looking at buying an Alpha UDB, but I am concerned about the performance of C/C++ under Linux. The benchmarks that I have seen (DGC,
Inc.):
>
> > 166Mhz running NT equal to a P-75, running 64-bit Linux equal to a P-100(maybe)
> > 233Mhz running NT equal to a P-133, running 64-bit Linux equal to a P-150
>
> suggest that all is not well. Can you enlighten me concerning gcc for Alpha? I would be running principally custom built neural-network
simulators in C and C
>
> Thanks,
>
> -- bryan thompson
> --
> To : mail -s unsubscribe axp-list-request@redhat.com < /dev/nullunsubscribe
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
@ 1996-10-25 17:52 Shane Anderson
0 siblings, 0 replies; 12+ messages in thread
From: Shane Anderson @ 1996-10-25 17:52 UTC (permalink / raw)
On 25 Oct 96 at 12:36, Bryan Thompson wrote:
> Hello,
>
> I am looking at buying an Alpha UDB, but I am concerned about the performance of C/C++ under Linux. The benchmarks that I have seen (DGC, Inc.):
>
> > 166Mhz running NT equal to a P-75, running 64-bit Linux equal to a P-100(maybe)
> > 233Mhz running NT equal to a P-133, running 64-bit Linux equal to a P-150
>
> suggest that all is not well. Can you enlighten me concerning gcc for Alpha? I would be running principally custom built neural-network simulators in C and C++. The code is floating-point intensi
>
> Thanks,
Well, when I looked at my UDB (166Mhz) I was a little dissapointed
that the SPECInt92 was similar to a P-75, and SPECInt was similart to
a P-100. But keep in mind that this is the LOW END of the Alpha
series... This probably doesn't relate much at all to the C/C++
compiler optimizations since SPEC's are base on CPU performance. And
I've seen/heard rumblings about using glibc for better FP performance
for things like sqrt(), etc..
AND, if the ads are right, the 500MHz Alpha is 20X faster than the
166MHz UDB. All I can say is *W*O*W*
=Shane Anderson===========Nonvolatile Electronics, Inc.===
E-Mail: shane@nve.com Work Phone: (612) 996-1618
====================================http://www.nve.com/===
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Alpha C/C++ performance
@ 1996-10-25 17:36 Bryan Thompson
1996-10-25 19:08 ` Marc Singer
0 siblings, 1 reply; 12+ messages in thread
From: Bryan Thompson @ 1996-10-25 17:36 UTC (permalink / raw)
Hello,
I am looking at buying an Alpha UDB, but I am concerned about the =
performance of C/C++ under Linux. The benchmarks that I have seen =
(DGC, Inc.):
> 166Mhz running NT equal to a P-75, running 64-bit Linux equal to =
a P-100(maybe)
> 233Mhz running NT equal to a P-133, running 64-bit Linux equal =
to a P-150
suggest that all is not well. Can you enlighten me concerning gcc =
for Alpha? I would be running principally custom built =
neural-network simulators in C and C++. The code is =
floating-point intensive. I've cruised the FAQ, but the =
discussion on C/C++ does not seem to address these issues.
Thanks,
-- bryan thompson=
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
1996-10-25 17:36 Bryan Thompson
@ 1996-10-25 19:08 ` Marc Singer
1996-10-26 11:51 ` Scott Manley
0 siblings, 1 reply; 12+ messages in thread
From: Marc Singer @ 1996-10-25 19:08 UTC (permalink / raw)
> I am looking at buying an Alpha UDB, but I am concerned about the =
> performance of C/C++ under Linux. The benchmarks that I have seen =
> (DGC, Inc.):
>
> > 166Mhz running NT equal to a P-75, running 64-bit Linux equal to =
> a P-100(maybe)
> > 233Mhz running NT equal to a P-133, running 64-bit Linux equal =
> to a P-150
These numbers are suspicious.
> suggest that all is not well. Can you enlighten me concerning gcc =
> for Alpha? I would be running principally custom built =
> neural-network simulators in C and C++. The code is =
> floating-point intensive. I've cruised the FAQ, but the =
> discussion on C/C++ does not seem to address these issues.
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 :-).
If you are looking for raw power, I'm under the impression that
nothing really beats the Alphas. Intel couldn't hope to release a
500MHz PPro--there'd be too many house fires.
Are you committed to GNU/Linux already? This makes the compiler
comparison moot since GCC is uncontested for best-of code generation.
I've written much code for PCs and MS Windows and found that
performance is always better on the Linux machines. Same code,
different OS and different compiler. Even when I used GCC to generate
the EXE on Windows, I still got much better throughput on Linux.
-- Marc Singer
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
1996-10-25 19:08 ` Marc Singer
@ 1996-10-26 11:51 ` Scott Manley
1996-10-26 18:07 ` Marc Singer
0 siblings, 1 reply; 12+ messages in thread
From: Scott Manley @ 1996-10-26 11:51 UTC (permalink / raw)
> 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
1996-10-26 11:51 ` Scott Manley
@ 1996-10-26 18:07 ` Marc Singer
0 siblings, 0 replies; 12+ messages in thread
From: Marc Singer @ 1996-10-26 18:07 UTC (permalink / raw)
> > 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 a 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 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.
The words about the quality of the compiler's output come from folks
who use the CPU in OSF and GNU/Linux. Have you compared the code
stream from the two compilers? It would be interesting to compare
your programs running on GNU/Linux and OSF.
-- Marc Singer
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
@ 1996-10-25 17:24 Matthew Jacob
0 siblings, 0 replies; 12+ messages in thread
From: Matthew Jacob @ 1996-10-25 17:24 UTC (permalink / raw)
don't compare with NT- it's 32 bit for both x86 && alpha. not fair.
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Alpha C/C++ performance
@ 1996-10-25 17:20 Robert Klein
0 siblings, 0 replies; 12+ messages in thread
From: Robert Klein @ 1996-10-25 17:20 UTC (permalink / raw)
>I am looking at buying an Alpha UDB, but I am concerned about the
performance of C/C++ under Linux. The benchmarks that I have seen (DGC, Inc.):
>
>> 166Mhz running NT equal to a P-75, running 64-bit Linux equal to a
P-100(maybe)
>> 233Mhz running NT equal to a P-133, running 64-bit Linux equal to a P-150
>
>suggest that all is not well. Can you enlighten me concerning gcc for
Alpha? I would be running principally custom built neural-network
simulators in C and C++. The code is floating-point intensive. I've
cruised the FAQ, but the discussion on C/C++ does not seem to address these
issues.
The big performance difference between Intel and Alpha is the FPU performance.
Alpha handles floating point better than pentiums.
Rob
=======================================================================
Robert Klein Pulse Incorporated
Network Manager/Staff Engineer 12117 Indian Creek Court
robk@pulse-sys.com Beltsville, MD 20705
http://tiny.iapnet.com/rob http://www.iapnet.com
-----------------------------------------------------------------------
Balt 410-813-2101 Fax 410-813-2712 Wash 301-470-6000 Fax 301-210-3932
=======================================================================
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~1996-10-29 7:22 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-28 9:07 Alpha C/C++ performance A.Arnold
-- strict thread matches above, loose matches on Subject: below --
1996-10-29 7:22 A.Arnold
[not found] <9610281007.ZM22187@zam331>
1996-10-28 15:22 ` Richard Henderson
1996-10-28 18:00 ` Marc Singer
1996-10-26 2:37 ed bristol
1996-10-25 17:52 Shane Anderson
1996-10-25 17:36 Bryan Thompson
1996-10-25 19:08 ` Marc Singer
1996-10-26 11:51 ` Scott Manley
1996-10-26 18:07 ` Marc Singer
1996-10-25 17:24 Matthew Jacob
1996-10-25 17:20 Robert Klein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox