Gentoo Archives: gentoo-ppc-dev

From: IsoH <jd@××××××.fi>
To: gentoo-ppc-user@l.g.o, gentoo-ppc-dev@l.g.o
Subject: Re: [gentoo-ppc-dev] G5 & missing performance
Date: Fri, 11 Jun 2004 13:26:30
Message-Id: Pine.LNX.4.21.0406111602060.23467-100000@alphatux2.ts.ray.fi
In Reply to: Re: [gentoo-ppc-dev] G5 & missing performance by IsoH
On Fri, 11 Jun 2004, IsoH wrote:

> On Thu, 10 Jun 2004, Pieter Van den Abeele wrote: > > > is /proc/cpufreq useable on a G5? > > Perhaps not, but all I now is that missing performance... > > I have very simple test for that; I first boot with mac-boot+ppc64-livecd > and bzipping (bzip -9) test file, which takes 8.8 seconds to compress. > Then I boot with yaboot from /dev/sda and repeating same bzipping and > now it takes about 12.6 seconds. > btw. with ppc32 same test takes about 7.1 seconds. > > I found out this phenomenon couple months ago when I played > with OSX and ppc32-gentoo. I think that mac-boot initializes > something which has same efect when you "turn on full performance" > on OSX.
Solved, I think... I set following OF-values: boot-command mac-boot boot-device sd0:2,yaboot then I cold-booted machine and voila previous bzipping time was back, magical stunt?! I still suspect that boot-command value differs anything; perhaps if boot is done from OF console with command "boot"/"mac-boot" then machine is set to lower speed. On the other hand, if boot is done by cold-booting and not interfering boot sequence in any way then machine's processing speed should be ok I think. Have to check that...
> > > > > The only thing I see on a G5 is /proc/cpuinfo, which displays: > > > > pvdabeel@Dual-G5 proc $ cat cpuinfo > > processor : 0 > > cpu : PPC970, altivec supported > > clock : 1800MHz > > revision : 2.2 (pvr 0039 0202) > > bogomips : 1200.12 > > > > processor : 1 > > cpu : PPC970, altivec supported > > clock : 1800MHz > > revision : 2.2 (pvr 0039 0202) > > bogomips : 1200.12 > > > > total bogomips : 2400.25 > > machine : PowerMac7,2 > > motherboard : PowerMac7,2 MacRISC4 Power Macintosh > > detected as : 336 (PowerMac G5) > > pmac flags : 00000000 > > L2 cache : 512K unified > > memory : 0MB > > pmac-generation : NewWorld
Unfare! I dont have those bogomips values... ;) # cat /proc/cpuinfo processor : 0 cpu : PPC970, altivec supported clock : 2000.000000MHz revision : 2.2 processor : 1 cpu : PPC970, altivec supported clock : 2000.000000MHz revision : 2.2 timebase : 33333333 machine : PowerMac7,2 motherboard : PowerMac7,2 MacRISC4 Power Macintosh detected as : 336 (PowerMac G5) pmac flags : 00000000 pmac-generation : NewWorld
> >
-- IsoH -- gentoo-ppc-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-ppc-dev] G5 & missing performance IsoH <jd@××××××.fi>