Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!surfnet.nl!news.unisource.nl!xs4all!plm.xs4all.nl!plm
From: Peter Mutsaers <plm@xs4all.nl>
Subject: Re: FreeBSD slower than Linux ?
X-Newsreader: Gnus v5.2.39/Emacs 19.34
Sender: plm@localhost.xs4all.nl
Organization: My Unorganized Home
Lines: 16
Message-ID: <87n2tq9vxa.fsf@localhost.xs4all.nl>
References: <dkleinh.854654600@isotope.ps.uci.edu>
Date: Fri, 31 Jan 1997 06:54:24 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34620
>> On 30 Jan 97 20:03:20 GMT, dkleinh@isotope.ps.uci.edu (Dirk
>> Kleinhesselink) said:
DK> I have been benchmarking a program on various machines and
DK> discovered that the program -- fortran program -- runs 2 to
DK> 2.5 times faster on Linux (Slackware 2.3 - Slackware 96) than
DK> on FreeBSD 2.1.5. I have both Linux and FreeBSD on my Pentium
DK> 100 Mhz, 48MB RAM and was pretty surprised. I'm compiling my
DK> program with the stock g77 that comes with each OS. I know
DK> Linux is using gcc-2.7.2 and FreeBSD is using gcc-2.6.3 and so
DK> I went back to my old Slackware 2.3, which has gcc-2.6.3 and
DK> this was still twice as fast. Anyone have any ideas why ?
Probably you're not using the FPU on FreeBSD. If you have FreeBSD
source code, set HAVE_FPU to yes in /etc/make.conf, and recompile
/usr/src/lib/msun.
--
Peter Mutsaers | Abcoude (Utrecht), | Trust is a good quality
plm@xs4all.nl | the Netherlands | for other people to have