public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/42108]  New: Performance drop from 4.3 to 4.4/4.5
@ 2009-11-19 16:01 sfilippone at uniroma2 dot it
  2009-11-19 16:01 ` [Bug fortran/42108] " sfilippone at uniroma2 dot it
                   ` (51 more replies)
  0 siblings, 52 replies; 53+ messages in thread
From: sfilippone at uniroma2 dot it @ 2009-11-19 16:01 UTC (permalink / raw)
  To: gcc-bugs

With the attached sample code I get a substantial performance drop from 4.3.1
to either 4.4.1 or 4.5.0, same compiler option, same machine. To reproduce,
feed a size to the program (in the case below, 40000) and time the executable. 

[sfilippo@donald fgp_fmm_20091112]$ gfortran -v  
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.3.1/configure --prefix=/usr/local/gcc43
--with-mpfr=/u
sr/local/mpfr --with-gmp=/usr/local/gmp
Thread model: posix
gcc version 4.3.1 (GCC) 
[sfilippo@donald fgp_fmm_20091112]$ gfortran -O3 -o try_eval eval.f90
[sfilippo@donald fgp_fmm_20091112]$ time ./try_eval <<EOF
40000
EOF

real    0m10.871s
user    0m10.825s
sys     0m0.011s
[sfilippo@donald fgp_fmm_20091112]$ module unload gnu43
[sfilippo@donald fgp_fmm_20091112]$ module load gnu45 
        gnu45 - loads the GNU 4.5.0-pre compilers suite

        Version 1.0

[sfilippo@donald fgp_fmm_20091112]$ gfortran -v 
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/usr/local/gnu45/libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/
lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gnu45
--enable-languages=c
,c++,fortran : (reconfigured) ../gcc/configure --prefix=/usr/local/gnu45
--enabl
e-languages=c,c++,fortran : (reconfigured) ../gcc/configure
--prefix=/usr/local/
gnu45 --enable-languages=c,c++,fortran,lto --no-create --no-recursion :
(reconfi
gured) ../gcc/configure --prefix=/usr/local/gnu45
--enable-languages=c,c++,fortr
an,lto --no-create --no-recursion
Thread model: posix
gcc version 4.5.0 20091119 (experimental) (GCC) 
[sfilippo@donald fgp_fmm_20091112]$ gfortran -O3 -o try_eval eval.f90
[sfilippo@donald fgp_fmm_20091112]$ time ./try_eval <<EOF
40000
EOF

real    0m23.935s
user    0m23.862s
sys     0m0.011s
[sfilippo@donald fgp_fmm_20091112]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 2
model name      : AMD Athlon(tm) 7750 Dual-Core Processor
stepping        : 3
cpu MHz         : 2700.000
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm
3dnowext 3dnow constant_tsc rep_good nonstop_tsc extd_apicid pni monitor cx16
lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch
osvw ibs
bogomips        : 5424.74
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate


-- 
           Summary: Performance drop from 4.3 to 4.4/4.5
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sfilippone at uniroma2 dot it
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42108


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

end of thread, other threads:[~2010-04-30  8:55 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-19 16:01 [Bug fortran/42108] New: Performance drop from 4.3 to 4.4/4.5 sfilippone at uniroma2 dot it
2009-11-19 16:01 ` [Bug fortran/42108] " sfilippone at uniroma2 dot it
2009-11-19 16:50 ` [Bug tree-optimization/42108] [4.4/4.5 Regression] Vectorizer cannot deal with PAREN_EXPR gracefully, 50% performance regression rguenth at gcc dot gnu dot org
2009-11-19 17:17 ` sfilippone at uniroma2 dot it
2009-11-19 17:30 ` rguenther at suse dot de
2009-11-19 19:42 ` sfilippone at uniroma2 dot it
2009-11-19 19:53 ` toon at moene dot org
2009-11-19 22:33 ` anlauf at gmx dot de
2009-11-20  8:32 ` sfilippone at uniroma2 dot it
2009-11-20 13:45 ` dominiq at lps dot ens dot fr
2009-11-20 14:04 ` sfilippone at uniroma2 dot it
2009-11-20 14:12 ` sfilippone at uniroma2 dot it
2009-11-20 14:14 ` rguenth at gcc dot gnu dot org
2009-11-20 19:45 ` toon at moene dot org
2009-11-20 23:48 ` rguenth at gcc dot gnu dot org
2009-11-21 12:11 ` toon at moene dot org
2009-11-21 12:19 ` rguenther at suse dot de
2009-11-21 13:58 ` rguenth at gcc dot gnu dot org
2009-11-23  9:02 ` irar at il dot ibm dot com
2009-11-27 11:23 ` rguenth at gcc dot gnu dot org
2009-11-30  8:53 ` irar at il dot ibm dot com
2009-11-30  8:54 ` irar at il dot ibm dot com
2009-11-30 10:13 ` rguenther at suse dot de
2009-11-30 12:21 ` irar at il dot ibm dot com
2009-12-04 14:25 ` [Bug tree-optimization/42108] [4.4/4.5 Regression] " dominiq at lps dot ens dot fr
2009-12-13 23:48 ` matz at gcc dot gnu dot org
2009-12-14  4:55 ` matz at gcc dot gnu dot org
2009-12-14  5:26 ` matz at gcc dot gnu dot org
2009-12-14 10:51 ` dominiq at lps dot ens dot fr
2009-12-14 11:21 ` dominiq at lps dot ens dot fr
2009-12-14 11:23 ` rguenth at gcc dot gnu dot org
2009-12-14 11:50 ` rguenth at gcc dot gnu dot org
2009-12-14 12:27 ` rguenther at suse dot de
2009-12-14 12:30 ` rguenth at gcc dot gnu dot org
2009-12-14 12:58 ` rguenth at gcc dot gnu dot org
2009-12-14 16:58 ` matz at gcc dot gnu dot org
2009-12-15  7:10 ` tkoenig at gcc dot gnu dot org
2009-12-15 11:08 ` rguenth at gcc dot gnu dot org
2009-12-18 15:43 ` rguenth at gcc dot gnu dot org
2009-12-18 21:04 ` dominiq at lps dot ens dot fr
2009-12-18 21:40 ` matz at gcc dot gnu dot org
2009-12-18 23:44 ` rguenth at gcc dot gnu dot org
2009-12-19 11:25 ` rguenth at gcc dot gnu dot org
2009-12-19 19:29 ` rguenth at gcc dot gnu dot org
2009-12-19 19:41 ` rguenth at gcc dot gnu dot org
2009-12-19 21:10 ` rguenth at gcc dot gnu dot org
2010-01-21 13:15 ` jakub at gcc dot gnu dot org
2010-04-05 12:53 ` steven at gcc dot gnu dot org
2010-04-05 12:54 ` rguenther at suse dot de
2010-04-05 12:57 ` rguenther at suse dot de
2010-04-05 13:02 ` steven at gcc dot gnu dot org
2010-04-05 14:23 ` rguenth at gcc dot gnu dot org
2010-04-30  8:55 ` [Bug tree-optimization/42108] [4.4/4.5/4.6 " jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).