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
1 On Fri, 11 Jun 2004, IsoH wrote:
2
3 > On Thu, 10 Jun 2004, Pieter Van den Abeele wrote:
4 >
5 > > is /proc/cpufreq useable on a G5?
6 >
7 > Perhaps not, but all I now is that missing performance...
8 >
9 > I have very simple test for that; I first boot with mac-boot+ppc64-livecd
10 > and bzipping (bzip -9) test file, which takes 8.8 seconds to compress.
11 > Then I boot with yaboot from /dev/sda and repeating same bzipping and
12 > now it takes about 12.6 seconds.
13 > btw. with ppc32 same test takes about 7.1 seconds.
14 >
15 > I found out this phenomenon couple months ago when I played
16 > with OSX and ppc32-gentoo. I think that mac-boot initializes
17 > something which has same efect when you "turn on full performance"
18 > on OSX.
19
20 Solved, I think...
21
22 I set following OF-values:
23
24 boot-command mac-boot
25 boot-device sd0:2,yaboot
26
27 then I cold-booted machine and voila previous bzipping time
28 was back, magical stunt?!
29
30 I still suspect that boot-command value differs anything;
31 perhaps if boot is done from OF console with command
32 "boot"/"mac-boot" then machine is set to lower speed.
33 On the other hand, if boot is done by cold-booting and not
34 interfering boot sequence in any way then machine's processing
35 speed should be ok I think. Have to check that...
36
37
38 >
39 > >
40 > > The only thing I see on a G5 is /proc/cpuinfo, which displays:
41 > >
42 > > pvdabeel@Dual-G5 proc $ cat cpuinfo
43 > > processor : 0
44 > > cpu : PPC970, altivec supported
45 > > clock : 1800MHz
46 > > revision : 2.2 (pvr 0039 0202)
47 > > bogomips : 1200.12
48 > >
49 > > processor : 1
50 > > cpu : PPC970, altivec supported
51 > > clock : 1800MHz
52 > > revision : 2.2 (pvr 0039 0202)
53 > > bogomips : 1200.12
54 > >
55 > > total bogomips : 2400.25
56 > > machine : PowerMac7,2
57 > > motherboard : PowerMac7,2 MacRISC4 Power Macintosh
58 > > detected as : 336 (PowerMac G5)
59 > > pmac flags : 00000000
60 > > L2 cache : 512K unified
61 > > memory : 0MB
62 > > pmac-generation : NewWorld
63
64 Unfare! I dont have those bogomips values... ;)
65
66 # cat /proc/cpuinfo
67 processor : 0
68 cpu : PPC970, altivec supported
69 clock : 2000.000000MHz
70 revision : 2.2
71
72 processor : 1
73 cpu : PPC970, altivec supported
74 clock : 2000.000000MHz
75 revision : 2.2
76
77 timebase : 33333333
78 machine : PowerMac7,2
79 motherboard : PowerMac7,2 MacRISC4 Power Macintosh
80 detected as : 336 (PowerMac G5)
81 pmac flags : 00000000
82 pmac-generation : NewWorld
83
84 >
85 >
86
87 --
88
89 IsoH
90
91
92
93 --
94 gentoo-ppc-dev@g.o mailing list

Replies

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