From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 20 19:27:28 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DDF71065670 for ; Mon, 20 Feb 2012 19:27:28 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id D041C8FC0C for ; Mon, 20 Feb 2012 19:27:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LZP00A02I1ROD00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 20 Feb 2012 13:27:27 -0600 (CST) Received: from wanderer.tachypleus.net (pc2.sgchiba-unet.ocn.ne.jp [220.110.182.82]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LZP00401I1OSQ20@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 20 Feb 2012 13:27:25 -0600 (CST) Date: Tue, 21 Feb 2012 04:27:23 +0900 From: Nathan Whitehorn In-reply-to: To: Super Bisquit Message-id: <4F429E9B.4040500@freebsd.org> X-Spam-Score-Internal: ******* X-Spam-Report: AuthenticatedSender=yes, SenderIP=220.110.182.82 X-Spam-PmxInfo: Server=avs-16, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.2.20.191816, SenderIP=220.110.182.82 References: <3934AD65-E01C-4DDD-8BDC-F52C6AE3655F@khptech.com> <4D7B47E5-6A33-4426-8186-D5E9D5C9B32E@khptech.com> <8830CCB0-1417-4678-A766-151080BF7796@khptech.com> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120220 Thunderbird/10.0.2 Cc: "Kevin H. Patterson" , FreeBSD PowerPC ML Subject: Re: FreeBSD 9.0-RELEASE on PowerMac Dual G5 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2012 19:27:28 -0000 Not sure where the the intermediate emails on this thread went, so I'll jump in again. On 02/21/12 03:50, Super Bisquit wrote: > . > On 2/19/12, Kevin H. Patterson wrote: >> I am interested in raw cpu integer and floating-point performance only, at >> this point. This is *exactly* what simple synthetic benchmarks (like ubench) >> are for. There is absolutely NO reason why performance should be 3x better >> running under macosx than under freebsd, on the exact same hardware. > > Things happen that way. I've ran a firefox benchmark on different > architecture running different systems and received different results. On G5s that I know are properly configured (a dual-core Powermac and an iMac), numerical code runs at exactly equal speed on the two operating systems, or a little faster on FreeBSD if it spends a lot of time in the math library (Apple appears to have optimized system binaries with -Os in 10.5 for PowerPC, which pessimizes performance). If you have purely numerical code (check md5 -t, which both OSes have) with large offsets then something is clearly not set up correctly. Did you have a chance to check the reported CPU speed in dmesg? Also, did you boot from the OF prompt or via autoboot? Some Apple G5 systems will slow the CPU and bus by large factors, in a way FreeBSD can't yet correct, if you start from an OF prompt. -Nathan