From owner-freebsd-chat Fri Feb 15 7: 4:34 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mail19b.rapidsite.net (mail19b.rapidsite.net [161.58.134.134]) by hub.freebsd.org (Postfix) with SMTP id C16D937B404 for ; Fri, 15 Feb 2002 07:04:32 -0800 (PST) Received: from 198.104.176.109 (198.104.176.109) by mail19b.rapidsite.net (RS ver 1.0.60s) with SMTP id 0107375046 for ; Fri, 15 Feb 2002 10:08:44 -0500 (EST) Message-ID: <3C6D22C2.268E6915@pythonemproject.com> Date: Fri, 15 Feb 2002 07:01:22 -0800 From: Rob X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.5-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-chat@FreeBSD.ORG" Subject: Why is Python slower on FreeBSD than Windows? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop-Detect: 1 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I've been doing some prototyping of some number crunching programs on Python, and I found that Python is consistently slower on my laptop on FreeBSD than when I boot into Windows. For example, one program takes 800sec to run on FreeBSD and 300sec to run when I boot into Win2k. I am wondering if I should try setting -03 in make.conf and remake Python and Numpy. Right now I have just -O. I thought chat would be a good place for this since I know some Python hackers hang out here. BTW, my 1.8GHZ P4 at work runs the same program in 180sec on WinNT4. My laptop here is a 1Ghz P3 and I set -march=pentiumpro in make.conf. Thanks, Rob. ps. the program is available on my website below as somnec.py. -- The Numeric Python EM Project www.pythonemproject.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message