Article View: alt.os.linux.suse
Article #423Re: gcc 3.2 makes slower code
From: eMail2Me
Date: Mon, 25 Nov 2002 19:58
Date: Mon, 25 Nov 2002 19:58
31 lines
2498 bytes
2498 bytes
Jeffrey Cunningham on Monday 25 November 2002 14:01 wrote: > Okay, here's what I've come up with so far. There is a core of > calculations my code must perform thousands of times. I benchmarked just > this core with and without I/O, on gcc 2.95 and 3.2, using -O2 and -O3 on > the latter. Here are the results: > > gcc 2.95 with IO: .20 minutes > gcc 2.95 w/o IO: .18 minutes > gcc 3.2 -O3 with IO: .32 minutes > gcc 3.2 -O3 w/o IO: .27 minutes > gcc 3.2 -O2 w/o IO: .27 minutes > > conclusions: (1) it isn't the I/O. The "slowdown factor" going to gcc 3.2 > is x1.6 with I/O and x1.5 without. And (2) it makes no difference to these > calculations (intensive floating point vector operations) whether I use > -O3 or -O2. > > I haven't tried any of the more esoteric optimization tricks yet. But at > this point I'm somewhat alarmed by the loss in performance. > > -Jeff I know this may sound too much of a work. However, you might want to grab and recompile with optimizations the source of gcc-3.2 from SusE 8.1 distro. Then, recompile the glibc library as well might help. -- eMail2Me PS. Use REPLY to contact me!
Technical Details
Message-ID:
<KhvE9.114918$WL3.49933@rwcrnsc54>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mailReferences:
<pan.2002.11.24.02.51.19.422739@cunningham.net> <arqit4$4n6$1@condor.gjs.xs4all.nl> <pan.2002.11.25.05.30.25.633705@cunningham.net> <uu3e5l1f71fs38@corp.supernews.com> <pan.2002.11.25.19.02.02.459662@cunningham.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1041dd,6b8a900e383d587f X-Google-Attributes: gid1041dd,public X-Google-Thread: f65d0,cf9dda410d7d1076 X-Google-Attributes: gidf65d0,public X-Google-ArrivalTime: 2002-11-25 11:58:35 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi.com!rwcrnsc54.POSTED!not-for-mail From: eMail2Me <SPAMMERS.eMail2Me@False.Alarmed.HomeLinux.net> Subject: Re: gcc 3.2 makes slower code Newsgroups: alt.os.linux.suse,gnu.gcc Followup-To: alt.os.linux.suse Reply-To: NOSPAMMERS.eMail2Me@False.Alarm.HomeLinux.net References: <pan.2002.11.24.02.51.19.422739@cunningham.net> <arqit4$4n6$1@condor.gjs.xs4all.nl> <pan.2002.11.25.05.30.25.633705@cunningham.net> <uu3e5l1f71fs38@corp.supernews.com> <pan.2002.11.25.19.02.02.459662@cunningham.net> Lines: 31 Organization: N/A User-Agent: KNode/0.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-ID: <KhvE9.114918$WL3.49933@rwcrnsc54> NNTP-Posting-Host: 24.98.161.35 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc54 1038254314 24.98.161.35 (Mon, 25 Nov 2002 19:58:34 GMT) NNTP-Posting-Date: Mon, 25 Nov 2002 19:58:34 GMT Date: Mon, 25 Nov 2002 19:58:34 GMT