Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!newspump.sol.net!newsfeeds.sol.net!uniserve!news.mindlink.net!van-bc!n1van.istar!van.istar!west.istar!ott.istar!istar.net!gateway.qnx.com!not-for-mail From: doug@qnx.com (Doug Santry) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: FreeBSD slower than Linux ? Date: 31 Jan 1997 15:49:24 -0500 Organization: QNX Software Systems Lines: 24 Message-ID: <5ctlsk$df3@qnx.com> References: <dkleinh.854654600@isotope.ps.uci.edu> <5crh6q$44j@synge.maths.tcd.ie> <87iv4ezj3c.fsf@mirriwinni.cse.rmit.edu.au> NNTP-Posting-Host: qnx.com Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34803 In article <87iv4ezj3c.fsf@mirriwinni.cse.rmit.edu.au>, Phillip Musumeci <phillip@rmit.edu.au> wrote: >>>>>> "David" == David Malone <dwmalone@maths.tcd.ie> writes: > > David> dkleinh@isotope.ps.uci.edu (Dirk Kleinhesselink) writes: > >> I'm compiling my program with the stock g77 that comes with each OS. > >> I know Linux is using gcc-2.7.2 and FreeBSD is using gcc-2.6.3 and > >> so I went back to my old Slackware 2.3, which has gcc-2.6.3 and this > >> was still twice as fast. Anyone have any ideas why ? > > David> One thing that it might be is that the FreeBSD maths libraries > David> don't have FPU code in them the way they are distributed, if you > David> recompile them with HAVE_FPU=yes in /etc/make.conf this might > David> make quite a difference for some things. > >Even though this could hurt people without FPUs, maybe we really should >have the standard system optimised for those with FPUs. There can't be many people using 386s and 486SX machines out there. But even so, 386 folks could build a kernel which instead of killing a process that caused an illegal instruction trap, check it for a math instruction and execute it in software. DJS