On Mon, 01 Sep 2003 03:06:08 GMT, "Yousuf Khan"
<> wrote:
>The combantants were the Intel compiler, the Gcc compiler, and the Portland
>Group compiler:
>
>http://www.digit-life.com/articles2/...-opteron2.html
Hmm, interesting. A similar comparison is available from AMD's own
SPEC submissions, but the results are slightly different. AMD
submitted quite a lot of SPEC CINT2000 results for their Opteron 144
chip (1.8GHz). Here are the links to a few of them:
SuSE i386/Intel C
http://www.spec.org/cpu2000/results/...421-02087.html
SuSE AMD64/Intel C
http://www.spec.org/cpu2000/results/...421-02097.html
SuSE i386/gcc 32-bit
http://www.spec.org/cpu2000/results/...421-02090.html
SuSE AMD64/gcc 32-bit
http://www.spec.org/cpu2000/results/...421-02096.html
SuSE AMD64/gcc 64-bit
http://www.spec.org/cpu2000/results/...421-02093.html
And finally
Windows 2003/Intel C/Smartheap Library
http://www.spec.org/cpu2000/results/...421-02108.html
The best results of all were received with the last combination,
probably due to the Smartheap library as much as anything else. Where
things really differ from the first article though is that AMD found
that going to a 64-bit operating system still improved performance
even with 32-bit code when using GCC. The Intel compiler was a little
slower on a 64-bit OS, but not by a very significant amount. AMD also
saw less of an increase going from 32-bit to 64-bit code it seems.
Unfortunately AMD's SPEC CFP2000 results are not nearly as complete,
they only tested with the Intel compiler. However, IBM does have a
brand new submission of their e325 server using an Opteron 246
(2.0GHz) processor. They used a combination of the GCC C compiler and
the PGI Fortran compiler. The results of that are here:
SuSE AMD64/GCC C 64-bit/PGI Fortran 64-bit
http://www.spec.org/cpu2000/results/...728-02417.html
The result of 1172/1180 (base/peak) compared rather favorably to the
results from Intel's compiler.
SuSE AMD64/Intel C/Intel Fortran
http://www.spec.org/cpu2000/results/...421-02098.html
Now this last system used only a 1.8GHz Opteron 144 processor as
opposed to the 2.0GHz Opteron 246 of the IBM systems, so the Intel
compiler is actually faster at 1093/1162. Doing a bit of guesstimate
scaling, a 2.0GHz Opteron should score about 1175/1250.
Ok, so after all those links and numbers, what can we make of all
this? Err, well.. I suppose there are a lot of conclusions you could
make, depending on just which numbers you decide to look at. The
first thing that is clear though is that simply going to a 64-bit
operating system isn't going to do much (if anything) for the
Opteron's performance. It's also clear that compiling code for AMD64,
while it will generally improve performance, can actually degrade
performance in some situations.
Another important bit of info we can see here is that GCC is a pretty
darn good compiler. It might not be quite as fast as Intel's latest
and greatest compiler, but it isn't far off at all.
It is also worth noting that if you have a very processor-intensive
bit of code to run, choosing the right compiler could be just as
important, or possibly even more important than choosing the right
processor.
-------------
Tony Hill
hilla <underscore> 20 <at> yahoo <dot> ca