gcc-4.1.0 ist draußen...

PuckPoltergeist

Grand Admiral Special
Mitglied seit
18.01.2002
Beiträge
16.734
Renomée
145
Standort
Ilmenau
und ich konnte natürlich nicht anders, als dem Teil gleich mal etwas auf den Zahn zu fühlen ;D

Ich habe für die Test einmal den bashmark und dann noch den scimark2 genommen. Angetreten sind dabei gegeneinander gcc-3.4.5, gcc-4.0.2 und gcc-4.1.0 sowie beim scimark2 noch der icc in Version 9.0.030 jeweil mit -O2 und -O3 als Compile-Flags. Den bashmark compiliert der icc leider nicht. :(

Das ganze fand auf einem 144er Opteron mit 1.5GB RAM (spielt hier keine Rolle) mit Gentoo Linux unter 64bit statt.

bashmark:

gcc-3.4.5 -O2:
#######################################################
: T E S T : :S C O R E : : R A T I O:
:-----------------------------------------------------:
:Cpu, Integer : : 1361: : +27%:
:Cpu, Floating point : : 1271: : +67%:
: : : : : :
:Memory r/w (cached) : : 10171: : +745%:
:Memory de-/alloc : : 1097: : +68%:
: : : : : :
:Multithreading : : 3485: : +40%:
#######################################################
: S Y S T E M I N F O :
-------------------------------------------------------
1x AMD Opteron(tm) 144 1793.118MHz, L2 1024KB
Linux 2.6.16-rc5
GCC 3.4.5
120KB binary size
#######################################################
: R E F E R E N C E S Y S T E M I N F O :
-------------------------------------------------------
Reference system was Geno's pc with:
Athlon XP 1800+ 1575.631MHz, 256KB
Linux 2.6.11-ck1
GCC 3.4.3-20050110 (compiled with standard cflags)
glibc 2.3.4 (with nptl)
128KB binary size
Scores gathered on March, 30th. 2005 with bashmark 0.6

gcc-3.4.5 -O3:
#######################################################
: T E S T : :S C O R E : : R A T I O:
:-----------------------------------------------------:
:Cpu, Integer : : 1369: : +28%:
:Cpu, Floating point : : 1281: : +69%:
: : : : : :
:Memory r/w (cached) : : 10167: : +745%:
:Memory de-/alloc : : 1100: : +68%:
: : : : : :
:Multithreading : : 3485: : +40%:
#######################################################

gcc-4.0.2 -O2:
#######################################################
: T E S T : :S C O R E : : R A T I O:
:-----------------------------------------------------:
:Cpu, Integer : : 1411: : +32%:
:Cpu, Floating point : : 1509: : +99%:
: : : : : :
:Memory r/w (cached) : : 7913: : +558%:
:Memory de-/alloc : : 1051: : +61%:
: : : : : :
:Multithreading : : 3381: : +36%:
#######################################################

gcc-4.0.2 -O3:
#######################################################
: T E S T : :S C O R E : : R A T I O:
:-----------------------------------------------------:
:Cpu, Integer : : 1411: : +32%:
:Cpu, Floating point : : 1509: : +99%:
: : : : : :
:Memory r/w (cached) : : 8957: : +645%:
:Memory de-/alloc : : 1041: : +59%:
: : : : : :
:Multithreading : : 3397: : +36%:
#######################################################

gcc-4.1.0 -O2:
#######################################################
: T E S T : :S C O R E : : R A T I O:
:-----------------------------------------------------:
:Cpu, Integer : : 1351: : +26%:
:Cpu, Floating point : : 1373: : +81%:
: : : : : :
:Memory r/w (cached) : : 7849: : +552%:
:Memory de-/alloc : : 1050: : +61%:
: : : : : :
:Multithreading : : 3438: : +38%:
#######################################################

gcc-4.1.0 -O3:
#######################################################
: T E S T : :S C O R E : : R A T I O:
:-----------------------------------------------------:
:Cpu, Integer : : 1352: : +26%:
:Cpu, Floating point : : 1455: : +92%:
: : : : : :
:Memory r/w (cached) : : 9034: : +651%:
:Memory de-/alloc : : 1048: : +60%:
: : : : : :
:Multithreading : : 3438: : +38%:
#######################################################

scimark2:

gcc-3.4.5 -O2:
** **
** SciMark2 Numeric Benchmark, see http://math.nist.gov/scimark **
** for details. (Results can be submitted to pozo@nist.gov) **
** **
Using 2.00 seconds min time per kenel.
Composite Score: 474.98
FFT Mflops: 496.93 (N=1024)
SOR Mflops: 420.73 (100 x 100)
MonteCarlo: Mflops: 213.04
Sparse matmult Mflops: 587.77 (N=1000, nz=5000)
LU Mflops: 656.41 (M=100, N=100)

gcc-3.4.5 -O3:
Using 2.00 seconds min time per kenel.
Composite Score: 472.40
FFT Mflops: 480.51 (N=1024)
SOR Mflops: 420.73 (100 x 100)
MonteCarlo: Mflops: 204.91
Sparse matmult Mflops: 593.09 (N=1000, nz=5000)
LU Mflops: 662.78 (M=100, N=100)

gcc-4.0.2 -O2:
Using 2.00 seconds min time per kenel.
Composite Score: 462.68
FFT Mflops: 472.69 (N=1024)
SOR Mflops: 420.73 (100 x 100)
MonteCarlo: Mflops: 211.37
Sparse matmult Mflops: 585.14 (N=1000, nz=5000)
LU Mflops: 623.44 (M=100, N=100)

gcc-4.0.2 -O3:
Using 2.00 seconds min time per kenel.
Composite Score: 463.44
FFT Mflops: 479.19 (N=1024)
SOR Mflops: 418.90 (100 x 100)
MonteCarlo: Mflops: 210.54
Sparse matmult Mflops: 585.14 (N=1000, nz=5000)
LU Mflops: 623.44 (M=100, N=100)

gcc-4.1.0 -O2:
Using 2.00 seconds min time per kenel.
Composite Score: 462.99
FFT Mflops: 489.96 (N=1024)
SOR Mflops: 418.90 (100 x 100)
MonteCarlo: Mflops: 220.93
Sparse matmult Mflops: 534.99 (N=1000, nz=5000)
LU Mflops: 650.16 (M=100, N=100)

gcc-4.1.0 -O3:
Using 2.00 seconds min time per kenel.
Composite Score: 466.21
FFT Mflops: 510.01 (N=1024)
SOR Mflops: 418.90 (100 x 100)
MonteCarlo: Mflops: 213.89
Sparse matmult Mflops: 534.99 (N=1000, nz=5000)
LU Mflops: 653.27 (M=100, N=100)

icc-9.0.030 -O2
Using 2.00 seconds min time per kenel.
Composite Score: 427.09
FFT Mflops: 436.06 (N=1024)
SOR Mflops: 418.90 (100 x 100)
MonteCarlo: Mflops: 188.38
Sparse matmult Mflops: 516.03 (N=1000, nz=5000)
LU Mflops: 576.09 (M=100, N=100)

icc-9.0.030 -O3
Using 2.00 seconds min time per kenel.
Composite Score: 426.69
FFT Mflops: 436.06 (N=1024)
SOR Mflops: 418.90 (100 x 100)
MonteCarlo: Mflops: 188.38
Sparse matmult Mflops: 514.01 (N=1000, nz=5000)
LU Mflops: 576.09 (M=100, N=100)

So, möget ihr euch euer Urteil selber fällen. Ich werde dem 4.1er gcc die nächsten Tage mal noch etwas mit verschieden Compiler-Flags zu Leibe rücken. ;D
 
Zurück
Oben Unten