Re: [Zope-dev] Zope builds (new Intel C++ compiler)
On Tue, Feb 12, 2002 at 12:17:28PM +, seb bacon wrote: > > However, I do build Python with gcc 3.1 (cvs) and Python 2.1.2 and with > > various compile options can get a 17% speedup. > > Could you share the compile options with us? BTW seb, I tried compiling Python with the pgcc compiler [1] and that gave a perfomance increase of 15% on the pystones test. [1] http://www.goof.com/pcg/ -Morten msg09402/pgp0.pgp Description: PGP signature
Re: [Zope-dev] Zope builds (new Intel C++ compiler)
On Tue, Feb 12, 2002 at 12:17:28PM +, seb bacon wrote: > > However, I do build Python with gcc 3.1 (cvs) and Python 2.1.2 and with > > various compile options can get a 17% speedup. > > Could you share the compile options with us? I'd like to see those compile options as well... Thanks, Morten msg09383/pgp0.pgp Description: PGP signature
Re: [Zope-dev] Zope builds (new Intel C++ compiler)
On Tue, 2002-02-12 at 12:36, Matthew T. Kromer wrote: > > On Tuesday, February 12, 2002, at 07:17 AM, seb bacon wrote: > > >> However, I do build Python with gcc 3.1 (cvs) and Python 2.1.2 and with > >> various compile options can get a 17% speedup. > > > > Could you share the compile options with us? > > > > seb > > > Gcc 3.0X doesn't seem to be able to make a good build with these > options; gcc 3.1 (from cvs) does, but YMMV -- don't blame me or ask me > for help building python with fancy options, please. "Your suggestions made my floppy drive run out of gcc, and now the interweb's crashed - and it's all YOUR fault" ;-) Thanks - this will be very interesting. seb ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope builds (new Intel C++ compiler)
Matthew T. Kromer wrote: > OK, but be warned -- gcc cvs isnt guaranteed stable, so often I have to > hand tweak things (rebuilding certain modules with different options, etc.) In my experience, *any* gcc can produce crap code if you feed it the wrong options. It may be fun to play with options, but let me just throw in my two cents to this thread -- don't get so excited about your 25% speed gain that you throw it into production to trust your data with. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope builds (new Intel C++ compiler)
On Tuesday, February 12, 2002, at 07:17 AM, seb bacon wrote: >> However, I do build Python with gcc 3.1 (cvs) and Python 2.1.2 and with >> various compile options can get a 17% speedup. > > Could you share the compile options with us? > > seb > OK, but be warned -- gcc cvs isnt guaranteed stable, so often I have to hand tweak things (rebuilding certain modules with different options, etc.) First pass through: edit Makefile to include the following flags to OPT= -fomit-frame-pointer -march='ppro' -fssa -fprofile-arcs make run the test suite; run pystone with the produced python make clean edit Makefile to change -fprofile-arcs to be -fbranch-predictions make make test edit the Makefile to remove the fancy optimization stuff make install You may be able in certain circumstances to be able to use -fschedule-insns and -fschedule-insns2. I dont think -fssa works but I include it anyway as long as the modules pass test. Gcc 3.0X doesn't seem to be able to make a good build with these options; gcc 3.1 (from cvs) does, but YMMV -- don't blame me or ask me for help building python with fancy options, please. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Zope builds (new Intel C++ compiler)
> However, I do build Python with gcc 3.1 (cvs) and Python 2.1.2 and with > various compile options can get a 17% speedup. Could you share the compile options with us? seb ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )