*BSD News Article 88010


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!newsxfer3.itd.umich.edu!agate!news.ucsc.edu!ese.UCSC.EDU!not-for-mail
From: tgs@cats.ucsc.edu (Thomas Gunnar Sparks)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD slower than Linux ?
Date: 30 Jan 1997 22:59:07 GMT
Organization: University of California, Santa Cruz
Lines: 16
Message-ID: <5cr93r$59h@darkstar.ucsc.edu>
References: <dkleinh.854654600@isotope.ps.uci.edu>
NNTP-Posting-Host: ese.ucsc.edu
X-Newsreader: TIN [UNIX 1.3 BETA-950824-16colors PL0]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34826

: I have been benchmarking a program on various machines and discovered that
: the program -- fortran program -- runs 2 to 2.5 times faster on Linux
: (Slackware 2.3 - Slackware 96) than on FreeBSD 2.1.5.  I have both Linux
: and FreeBSD on my Pentium 100 Mhz, 48MB RAM and was pretty surprised.

Its because linux has worse time management... I brought a linux machine 
to its knees all too often with simple programming mistakes..

: 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 ?

The real question should be which program executes faster when its done 
compiling.. compile time is irrelevant to a program's functionality..