Gentoo Archives: gentoo-ppc-dev

From: Tom Gall <tom_gall@×××.com>
To: IsoH <jd@××××××.fi>
Cc: Pieter Van den Abeele <pvdabeel@g.o>, 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 14:38:58
Message-Id: 40C97D90.40500@mac.com
In Reply to: Re: [gentoo-ppc-dev] G5 & missing performance by IsoH
1 IsoH wrote:
2
3 >On Thu, 10 Jun 2004, Pieter Van den Abeele wrote:
4 >
5 >
6 Greetings,
7 While I won't say this is your particular situation but for instance if
8 you boot up into OF and then say specify boot into yaboot, you'll
9 actually run at 1/2 speed. This is a "fee-chur". Effectively the box
10 powers up, decides that no one is programming the fans correctly and
11 takes measures.
12
13 It's specific to apple hardware and no other ppc64 box does that.
14 Anyway, normal boots from ybin -> yaboot -> linux should be fine.
15
16 If not, certainly I and benh would be very very interested!
17
18 Regards,
19
20 Tom
21
22 >>is /proc/cpufreq useable on a G5?
23 >>
24 >>
25 >
26 > Perhaps not, but all I now is that missing performance...
27 >
28 > I have very simple test for that; I first boot with mac-boot+ppc64-livecd
29 > and bzipping (bzip -9) test file, which takes 8.8 seconds to compress.
30 > Then I boot with yaboot from /dev/sda and repeating same bzipping and
31 > now it takes about 12.6 seconds.
32 > btw. with ppc32 same test takes about 7.1 seconds.
33 >
34 > I found out this phenomenon couple months ago when I played
35 > with OSX and ppc32-gentoo. I think that mac-boot initializes
36 > something which has same efect when you "turn on full performance"
37 > on OSX.
38 >
39 >
40 >
41 >>The only thing I see on a G5 is /proc/cpuinfo, which displays:
42 >>
43 >>pvdabeel@Dual-G5 proc $ cat cpuinfo
44 >>processor : 0
45 >>cpu : PPC970, altivec supported
46 >>clock : 1800MHz
47 >>revision : 2.2 (pvr 0039 0202)
48 >>bogomips : 1200.12
49 >>
50 >>processor : 1
51 >>cpu : PPC970, altivec supported
52 >>clock : 1800MHz
53 >>revision : 2.2 (pvr 0039 0202)
54 >>bogomips : 1200.12
55 >>
56 >>total bogomips : 2400.25
57 >>machine : PowerMac7,2
58 >>motherboard : PowerMac7,2 MacRISC4 Power Macintosh
59 >>detected as : 336 (PowerMac G5)
60 >>pmac flags : 00000000
61 >>L2 cache : 512K unified
62 >>memory : 0MB
63 >>pmac-generation : NewWorld
64 >>
65 >>On 10 Jun 2004, at 21:30, IsoH wrote:
66 >>
67 >>
68 >>
69 >>> I've noticed that there is no /proc/cpufreq anymore
70 >>> (this is 2.6.7-rc2), so how do I suppose to give a command:
71 >>> echo "x:yyyy:zzzz:performance" > /proc/cpufreq
72 >>>
73 >>> ???
74 >>>
75 >>> It is obvious that about 25-35% performance is missing;
76 >>> it is possible to gain this back if I boot by mac-boot & livecd,
77 >>> but I want to boot from /dev/sda now with full performance...
78 >>>
79 >>>
80 >>>IsoH
81 >>>
82 >>>
83 >>>
84 >
85 >
86 >
87
88
89 --
90 gentoo-ppc-dev@g.o mailing list

Replies

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