From owner-freebsd-questions@FreeBSD.ORG Mon Oct 4 20:21:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ED1616A4CE for ; Mon, 4 Oct 2004 20:21:04 +0000 (GMT) Received: from deimos.aros.net (deimos.aros.net [66.219.192.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF43543D53 for ; Mon, 4 Oct 2004 20:21:03 +0000 (GMT) (envelope-from lists@josh.aros.net) Received: from [10.0.1.37] (firebat.aros.net [66.219.192.36]) by deimos.aros.net (8.12.9p2/8.12.9) with ESMTP id i94KL0Mn041018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 4 Oct 2004 14:21:01 -0600 (MDT) (envelope-from lists@josh.aros.net) Message-ID: <4161B179.1060108@josh.aros.net> Date: Mon, 04 Oct 2004 14:24:25 -0600 From: Josh Hansen User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <1096915733.41619b153c86a@webmail.inf.ufrgs.br> <20041004145927.74ad8b47.wmoran@potentialtech.com> <4161A218.6060506@josh.aros.net> <20041004193907.GA94265@xor.obsecurity.org> In-Reply-To: <20041004193907.GA94265@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new on deimos.aros.net cc: questions@freebsd.org Subject: Re: C compiler X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2004 20:21:04 -0000 Kris Kennaway wrote: >On Mon, Oct 04, 2004 at 01:18:48PM -0600, Josh Hansen wrote: > > >>Bill Moran wrote: >> >> >> >>>regi@inf.ufrgs.br wrote: >>> >>> >>> >>> >>> >>>>Hello, >>>> >>>>I?ve installed FreeBSD 5.2.1 in my PC machine. I compiled my own >>>>programs and started to running them. For my surprise, I checked that >>>>FreeBSD programs spent almost 50% more time than the same program compiled >>>>to linux. I checked several compile options, but it did not have good >>>>results. >>>> >>>> >>>> >>>> >>>5.2.1 is not a strong performer. It's ALPHA code. >>> >>>If you want to do performance testing, either use 4.10, or work with the >>>5.3 BETAs. 5.2.1 isn't supposed to be fast yet. >>> >>> >>> >>> >>> >>I really don't think the problem is that simple. How about either >>giving him a real answer or none at all? >> >> > >It's hard to give a good answer to a bad question :) > >In order to accurately diagnose the problem we need a way to repeat >it, or at least a full description of what was tried (including source >code and details of the benchmark measurements). Otherwise, all we >can do is guess what might be going on. > >Kris > > Your'e right of course, there weren't many details originally given, and the answer could be that simple. I do realize that my first post was out of line and I apologized to Bill off-list. I just thought that: A: With such a lack of important details in the first post, blaming the problem on the FreeBSD version was a bit pre-mature, and B: Even with the speed issues in 5.2.1, 50% is quite a large difference, so I thought it was likely that there was something else going on, but of course, like you said, we would need more information to determine what. Also, the original poster should definitely be using 5.3 instead for this thing. -Josh