*BSD News Article 22161


Return to BSD News archive

Xref: sserve comp.os.386bsd.misc:1191 comp.os.linux:56013
Newsgroups: comp.os.386bsd.misc,comp.os.linux
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!brunix!cs.brown.edu!Mark_Weaver
From: Mark_Weaver@brown.edu
Subject: Re: FYI.. benchmarks on linux and 386bsd
In-Reply-To: root@umibox.hanse.de's message of Thu, 7 Oct 1993 12:57:45 GMT
Message-ID: <MARK_WEAVER.93Oct9112425@tonto-slip11.cis.brown.edu>
Sender: news@cs.brown.edu
Organization: Brown University Department of Computer Science
References: <2CB12A8D.17397@news.service.uci.edu>
	<MARK_WEAVER.93Oct5175919@excelsior.cis.brown.edu>
	<1993Oct7.125745.28750@umibox.hanse.de>
Date: Sat, 9 Oct 1993 15:24:25 GMT
Lines: 26

In article <1993Oct7.125745.28750@umibox.hanse.de> root@umibox.hanse.de (Bernd Meyer) writes:
> Mark_Weaver@brown.edu writes:
> 
> >In article <2CB12A8D.17397@news.service.uci.edu> jstern@aris.ss.uci.edu (Jeff Stern) writes:
> >> These are two different dhrystone benchmarks, and a dhampstone
> >> benchmark which I compiled both under gcc (without optimization) on
>                                               ^^^^^^^^^^^^^^^^^^^^
> >You you were running gcc version 1 (the default that comes with
> >386bsd 0.1) then that explains it.  gcc2 has a significantly better
> >optimizer that could easily explain this kind of speed difference.
>  ^^^^^^^^
> 
> Something is striking me odd here.....

Hmm.  Did I really miss that?  Oh well.  In any case, gcc2 is a
complete re-write, and it's possible that even the unoptimized code is
faster.

I just don't think it's fair to make a comparison unless it uses the
exact some compiler and compilation options on both OSes.

        Mark
--
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science