1 |
On Thu, 10 Jun 2004, Pieter Van den Abeele wrote: |
2 |
|
3 |
> is /proc/cpufreq useable on a G5? |
4 |
|
5 |
Perhaps not, but all I now is that missing performance... |
6 |
|
7 |
I have very simple test for that; I first boot with mac-boot+ppc64-livecd |
8 |
and bzipping (bzip -9) test file, which takes 8.8 seconds to compress. |
9 |
Then I boot with yaboot from /dev/sda and repeating same bzipping and |
10 |
now it takes about 12.6 seconds. |
11 |
btw. with ppc32 same test takes about 7.1 seconds. |
12 |
|
13 |
I found out this phenomenon couple months ago when I played |
14 |
with OSX and ppc32-gentoo. I think that mac-boot initializes |
15 |
something which has same efect when you "turn on full performance" |
16 |
on OSX. |
17 |
|
18 |
> |
19 |
> The only thing I see on a G5 is /proc/cpuinfo, which displays: |
20 |
> |
21 |
> pvdabeel@Dual-G5 proc $ cat cpuinfo |
22 |
> processor : 0 |
23 |
> cpu : PPC970, altivec supported |
24 |
> clock : 1800MHz |
25 |
> revision : 2.2 (pvr 0039 0202) |
26 |
> bogomips : 1200.12 |
27 |
> |
28 |
> processor : 1 |
29 |
> cpu : PPC970, altivec supported |
30 |
> clock : 1800MHz |
31 |
> revision : 2.2 (pvr 0039 0202) |
32 |
> bogomips : 1200.12 |
33 |
> |
34 |
> total bogomips : 2400.25 |
35 |
> machine : PowerMac7,2 |
36 |
> motherboard : PowerMac7,2 MacRISC4 Power Macintosh |
37 |
> detected as : 336 (PowerMac G5) |
38 |
> pmac flags : 00000000 |
39 |
> L2 cache : 512K unified |
40 |
> memory : 0MB |
41 |
> pmac-generation : NewWorld |
42 |
> |
43 |
> On 10 Jun 2004, at 21:30, IsoH wrote: |
44 |
> |
45 |
> > |
46 |
> > I've noticed that there is no /proc/cpufreq anymore |
47 |
> > (this is 2.6.7-rc2), so how do I suppose to give a command: |
48 |
> > echo "x:yyyy:zzzz:performance" > /proc/cpufreq |
49 |
> > |
50 |
> > ??? |
51 |
> > |
52 |
> > It is obvious that about 25-35% performance is missing; |
53 |
> > it is possible to gain this back if I boot by mac-boot & livecd, |
54 |
> > but I want to boot from /dev/sda now with full performance... |
55 |
> > |
56 |
> > |
57 |
> > IsoH |
58 |
> > |
59 |
> |
60 |
|
61 |
-- |
62 |
|
63 |
IsoH |
64 |
|
65 |
|
66 |
|
67 |
-- |
68 |
gentoo-ppc-dev@g.o mailing list |