From owner-freebsd-ports Fri Apr 19 21:14:56 2002 Delivered-To: freebsd-ports@freebsd.org Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by hub.freebsd.org (Postfix) with ESMTP id 114B037B422 for ; Fri, 19 Apr 2002 21:14:47 -0700 (PDT) Received: from bullseye.apana.org.au (dialup-2.aaa.net.au [203.14.230.67]) by posgate.acis.com.au (8.11.6/8.11.6) with ESMTP id g3K4EUE17531; Sat, 20 Apr 2002 14:14:30 +1000 Received: from bullseye.apana.org.au (tenring.andymac.org [203.9.107.238]) by bullseye.apana.org.au (8.11.6/8.11.6) with ESMTP id g3K1BfH77676; Sat, 20 Apr 2002 11:11:41 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Sat, 20 Apr 2002 11:03:54 +1100 (edt) From: Andrew MacIntyre To: rob Cc: Alexander Leidinger , , Subject: Re: icc-compiled Python In-Reply-To: <3CC0201C.E32A0CA2@pythonemproject.com> Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 19 Apr 2002, rob wrote: > Sorry I missed the beginning of the thread. Is this Icc Python faster > than the normal one? I am wondering as I've found FreeBSD Python 2.1 to > be 1/2 the speed of the ActiveState Windows version on Win2k, using > Numeric Python. This was using an FDTD benchmark and a Romberg variable > width integration benchmark. Rob. The info missing from the original post was the gcc optimisation options, not to mention the icc options. Just using ./configure yields "-O3". Adding a "-march=" setting can have noticeable impact on performance - on my P5-166SMP box "-march=pentium" improved overall python performance by ~10%. On the subject of Numeric, I've seen material that suggests gcc 2.8.1 is capable of producing better fp code than 2.9.x (no info about gcc 3+). My own experience on OS/2 also suggests that gcc 2.8.1 "-O2" beats gcc 2.9.2 "-O" for python performance. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac@bullseye.apana.org.au | Snail: PO Box 370 andymac@pcug.org.au | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message