View previous topic :: View next topic |
Author |
Message |
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Sun Jun 13, 2004 8:50 am Post subject: G5 running at half speed? |
|
|
Could those of you running gentoo on G5 boxes please post their cpuinfo? Here's what I get:
Code: | $ cat /proc/cpuinfo
processor : 0
cpu : PPC970, altivec supported
clock : 1800MHz
revision : 2.2 (pvr 0039 0202)
bogomips : 872.44
machine : PowerMac7,2
motherboard : PowerMac7,2 MacRISC4 Power Macintosh
detected as : 336 (PowerMac G5)
pmac flags : 00000000
L2 cache : 512K unified
memory : 512MB
pmac-generation : NewWorld
|
I followed another tread here which makes me suspect that my G5 is running at half speed. I recompiled the kernel a few times, but no combination (with or without CPUFREQ etc.) changed this behavior. Could you check whether your specs are different? Thanks! |
|
Back to top |
|
|
simon_b n00b
Joined: 03 Jun 2004 Posts: 46 Location: Hamilton, NZ
|
Posted: Sun Jun 13, 2004 9:22 am Post subject: |
|
|
I get this and im running a dual 2ghz!! why does it only show one processor??
Code: |
processor : 0
cpu : PPC970, altivec supported
clock : 2000MHz
revision : 2.2 (pvr 0039 0202)
bogomips : 1331.20
processor : 1
cpu : PPC970, altivec supported
clock : 2000MHz
revision : 2.2 (pvr 0039 0202)
bogomips : 1331.20
total bogomips : 2662.40
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
|
|
|
Back to top |
|
|
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Sun Jun 13, 2004 9:30 am Post subject: |
|
|
Uhm, no offense, but counting up to two isn't that hard? processor 0 + processor 1 = 2 processors. Both running at a bit more than half speed (bogomips : 1331.20). Mmmmh... anyone else observing this? |
|
Back to top |
|
|
mox2k Tux's lil' helper
Joined: 04 Feb 2004 Posts: 119
|
Posted: Sun Jun 13, 2004 9:32 am Post subject: |
|
|
processor 0 is the 1st processor, processor 1 is the second one. BTW: You don't even have to look at /proc/cpuinfo. If two penguins appear at the begging of your boot process then the kernel rtecognizes two processors. My kernel, being a ppc64 one, also recognizes two processors. |
|
Back to top |
|
|
simon_b n00b
Joined: 03 Jun 2004 Posts: 46 Location: Hamilton, NZ
|
Posted: Sun Jun 13, 2004 9:39 am Post subject: |
|
|
pindar wrote: | Uhm, no offense, but counting up to two isn't that hard? processor 0 + processor 1 = 2 processors. Both running at a bit more than half speed (bogomips : 1331.20). Mmmmh... anyone else observing this? |
you have every right to say that!! i was pretty dumb there!!! thanks for pointing that out.... |
|
Back to top |
|
|
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Mon Aug 30, 2004 5:54 pm Post subject: |
|
|
I'm resurrecting this defunct thread. I was hoping that things might change with kernel 2.6.8, but no dice -- I still get only half speed, if cpuinfo is correct. Can anyone running gentoo on a G5 report if there getting the same results and whether they think this is a real issue or just a misconfiguration in cpuinfo? Thanks! |
|
Back to top |
|
|
bruda Guru
Joined: 06 May 2004 Posts: 376 Location: Sherbrooke, QC, Canada
|
Posted: Tue Aug 31, 2004 1:09 pm Post subject: |
|
|
Hi.
For one thing, I would not rely on the bogomips value as a speed indicator (for instance Pentium class chips do nothing really fast as in twice on each clock tick, whereas 32-bit PPC do nothing about one time per clock tick). This being said, I used to have the same bogomips values some time ago, but they disappeared from /etc/cpuinfo with an upgrade to some 2.6.7 kernel don't remember which one (currently running 2.6.8-gentoo-r3). I now get:
Code: | < turing:~ > 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 |
The machine feels like running at full speed, but I did not do anything in terms of real (or even bogus ) benchmarking.
My about $0.02. _________________ Quid latine dictum sit altum videtur |
|
Back to top |
|
|
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Tue Aug 31, 2004 4:00 pm Post subject: |
|
|
OK, this sounds like the bogomips value is - well, bogus. What kind of stuff od you have in your kernel in terms of "frequency scaling" etc.? I suspect that this might be an issue. |
|
Back to top |
|
|
bruda Guru
Joined: 06 May 2004 Posts: 376 Location: Sherbrooke, QC, Canada
|
Posted: Tue Aug 31, 2004 7:03 pm Post subject: |
|
|
Funny you ask, now that I look at it I do not have any option in terms of governors on PPC64 (as opposed to my other, PPC32 machine). I do not have anything special with regard to scaling or for that matter performance in my config, about the only thing that may be significant is that I have the obvious CONFIG_PPC_PMAC (Platform support -> Apple PowerMac G5 support) set. _________________ Quid latine dictum sit altum videtur |
|
Back to top |
|
|
pindar Apprentice
Joined: 30 Apr 2004 Posts: 220
|
Posted: Tue Aug 31, 2004 9:44 pm Post subject: |
|
|
Mmh, me neither:
Code: | # CONFIG_CPU_FREQ is not set |
But you appear to be running your G5 with ppc64, could that be the difference?
<nitpicking>I like your signature, but shouldn't it be "quidquid Latine est dictum"? quisquis doesn't take the subjunctive in classical Latin.</nitpicking> |
|
Back to top |
|
|
bruda Guru
Joined: 06 May 2004 Posts: 376 Location: Sherbrooke, QC, Canada
|
Posted: Wed Sep 01, 2004 2:28 pm Post subject: |
|
|
pindar wrote: | But you appear to be running your G5 with ppc64, could that be the difference? |
Yes, it could explain the lack of scaling options, and if I am not mistaken the bogomips report in /etc/cpuinfo disappeared precisely when I switched to a 64-bit kernel. As for performance, I was notified by a user in the old, 32-bit days about the performance of the machine which was not as it should be, but almost immediately after the said note I switched to 64 bits (and then I compiled GCC in about half an hour--all of this being said, the machine does seem snappier with a 64-bit install).
Of course, all of this is guessing, I did not quite do anything about it.
Quote: | <nitpicking>I like your signature, but shouldn't it be "quidquid Latine est dictum"? quisquis doesn't take the subjunctive in classical Latin.</nitpicking> |
Why, thanks, my Latin is not precisely stellar, feel free to pick at my signature (I will appreciate it and implement changes). _________________ Quid latine dictum sit altum videtur |
|
Back to top |
|
|
|