From owner-freebsd-ppc@FreeBSD.ORG Sun Feb 19 05:15:24 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 A9531106564A for ; Sun, 19 Feb 2012 05:15:24 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B6628FC12 for ; Sun, 19 Feb 2012 05:15:24 +0000 (UTC) Received: by daec6 with SMTP id c6so5267612dae.13 for ; Sat, 18 Feb 2012 21:15:24 -0800 (PST) Received-SPF: pass (google.com: domain of superbisquit@gmail.com designates 10.68.225.73 as permitted sender) client-ip=10.68.225.73; Authentication-Results: mr.google.com; spf=pass (google.com: domain of superbisquit@gmail.com designates 10.68.225.73 as permitted sender) smtp.mail=superbisquit@gmail.com; dkim=pass header.i=superbisquit@gmail.com Received: from mr.google.com ([10.68.225.73]) by 10.68.225.73 with SMTP id ri9mr47831230pbc.70.1329628524278 (num_hops = 1); Sat, 18 Feb 2012 21:15:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9iIduKAoExpPZq0kq8gAZj27syD5vmQq6z65QZk9AWc=; b=K0xn/gRX5Wtn+CLXzD+oeyE7SmB3+iobvsfyi8E7TuHX8MzTqdcvDQGM4QVgTffyX8 k3YRanCz7Bem/wnVTwZO8BEkUKstszP8I1KIiBLNTesh/+zk2H2B5tjRv/TAmwfvVHR6 JJgYdRGo+E6KXnp6Fh0GM6JDV3m64l6zxm3Ew= MIME-Version: 1.0 Received: by 10.68.225.73 with SMTP id ri9mr39224687pbc.70.1329628524117; Sat, 18 Feb 2012 21:15:24 -0800 (PST) Received: by 10.68.48.35 with HTTP; Sat, 18 Feb 2012 21:15:24 -0800 (PST) In-Reply-To: <3934AD65-E01C-4DDD-8BDC-F52C6AE3655F@khptech.com> References: <3934AD65-E01C-4DDD-8BDC-F52C6AE3655F@khptech.com> Date: Sun, 19 Feb 2012 00:15:24 -0500 Message-ID: From: Super Bisquit To: "Kevin H. Patterson" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-ppc@freebsd.org 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: Sun, 19 Feb 2012 05:15:24 -0000 http://www.freebsd.org/cgi/url.cgi?ports/benchmarks/ubench/pkg-descr Notice that the description uses the word "senseless" more than once. Try compiling a program or a set of programs. On a low end B&W, I was able to compile firefox plus a few other applications. POWER/PowerPC is known for performance. The architecture is used in gaming systems for reason that it can pass instructions through once they are "learned." This may be a simplistic explanation of load-store but it is one you should be aware of. Both the Power and Power64 releases are Tier 2 and are worked on by a small group within the FreeBSD community. You can change the flags of make in /etc/make.conf if you wish. On 2/18/12, Kevin H. Patterson wrote: > Hello, > > I've taken an interest lately in running FreeBSD on the powerpc64 > architecture. I have access to a dual 2.5 GHz PowerMac G5, and I've > successfully got FreeBSD 9.0-RELEASE up and running on it. > > Only one thing seems amiss so far... it feels *very* SLOW. I realize this is > an older machine, but it feels much too slow for a dual G5. Compiling seems > to take forever, and top shows ~50% or more "system" CPU usage when doing > almost anything other than sitting idle. Furthermore, the system fans never > speed up, but run at the lowest speed even when the system is under full > load. I have tried both enabling and disabling powerd support, with no > effect. > > For a quick sanity check, I installed ubench (0.32) from ports. The numbers > were quite disappointing: 109870 CPU / 50527 MEM multiprocessor, and 55433 > CPU / 30863 MEM single-processor. > > For comparison, I ran ubench (0.32 from MacPorts) under Mac OS X 10.5.8 on > the same machine. This time, the fans do ramp up, and the numbers are *WAY* > better: 277207 CPU / 317119 MEM multi-processor, and 141021 CPU / 284113 MEM > single-processor. > > As you can see, all is not well. I am wondering what is slowing FreeBSD down > on this machine. I have tried both GENERIC and my own kernel config. It > feels like the CPU and or bus speed is clocked down perhaps to the most > energy-saving level. Maybe this is where openfirmware leaves it after boot? > Also interesting is to note the drastic *single-processor* ubench difference > between macosx and freebsd. To me this looks like a low clock-speed smoking > gun. > > I also noticed that the kernel build includes flags like -msoft-float and > -mno-altivec... > > I am interested in any build or config tweaks that might be in order. I am > also more than happy to debug and get to the bottom of this. Any ideas? > > Sincerely, > > Kevin H. Patterson > KHPtech > > kevpatt@khptech.com > > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" >