public inbox for gentoo-ppc-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-ppc-user] G5 & missing performance
@ 2004-06-10 19:30 IsoH
  2004-06-10 21:06 ` [gentoo-ppc-user] Re: [gentoo-ppc-dev] " Pieter Van den Abeele
  0 siblings, 1 reply; 8+ messages in thread
From: IsoH @ 2004-06-10 19:30 UTC (permalink / raw
  To: gentoo-ppc-user; +Cc: gentoo-ppc-dev


 I've noticed that there is no /proc/cpufreq anymore 
 (this is 2.6.7-rc2), so how do I suppose to give a command: 
    echo "x:yyyy:zzzz:performance" > /proc/cpufreq

 ???

 It is obvious that about 25-35% performance is missing;
 it is possible to gain this back if I boot by mac-boot & livecd,
 but I want to boot from /dev/sda now with full performance...


-- 

IsoH



--
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-ppc-user] Re: [gentoo-ppc-dev] G5 & missing performance
  2004-06-10 19:30 [gentoo-ppc-user] G5 & missing performance IsoH
@ 2004-06-10 21:06 ` Pieter Van den Abeele
  2004-06-11  6:38   ` IsoH
  0 siblings, 1 reply; 8+ messages in thread
From: Pieter Van den Abeele @ 2004-06-10 21:06 UTC (permalink / raw
  To: IsoH; +Cc: gentoo-ppc-user, Pieter Van den Abeele, gentoo-ppc-dev

is /proc/cpufreq useable on a G5?

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

On 10 Jun 2004, at 21:30, IsoH wrote:

>
>  I've noticed that there is no /proc/cpufreq anymore
>  (this is 2.6.7-rc2), so how do I suppose to give a command:
>     echo "x:yyyy:zzzz:performance" > /proc/cpufreq
>
>  ???
>
>  It is obvious that about 25-35% performance is missing;
>  it is possible to gain this back if I boot by mac-boot & livecd,
>  but I want to boot from /dev/sda now with full performance...
>
>
> -- 
>
> IsoH
>
>
>
> --
> gentoo-ppc-dev@gentoo.org mailing list
>


--
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-ppc-user] Re: [gentoo-ppc-dev] G5 & missing performance
  2004-06-10 21:06 ` [gentoo-ppc-user] Re: [gentoo-ppc-dev] " Pieter Van den Abeele
@ 2004-06-11  6:38   ` IsoH
  2004-06-11 13:26     ` IsoH
  0 siblings, 1 reply; 8+ messages in thread
From: IsoH @ 2004-06-11  6:38 UTC (permalink / raw
  To: Pieter Van den Abeele; +Cc: gentoo-ppc-user, gentoo-ppc-dev

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.

> 
> 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
> 
> On 10 Jun 2004, at 21:30, IsoH wrote:
> 
> >
> >  I've noticed that there is no /proc/cpufreq anymore
> >  (this is 2.6.7-rc2), so how do I suppose to give a command:
> >     echo "x:yyyy:zzzz:performance" > /proc/cpufreq
> >
> >  ???
> >
> >  It is obvious that about 25-35% performance is missing;
> >  it is possible to gain this back if I boot by mac-boot & livecd,
> >  but I want to boot from /dev/sda now with full performance...
> >
> >
> > IsoH
> >
> 

-- 

IsoH



--
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-ppc-user] Re: [gentoo-ppc-dev] G5 & missing performance
       [not found] <40C976B6.2090405@gentoo.org>
@ 2004-06-11 12:21 ` IsoH
  0 siblings, 0 replies; 8+ messages in thread
From: IsoH @ 2004-06-11 12:21 UTC (permalink / raw
  To: gentoo-ppc-user, gentoo-ppc-dev

On Fri, 11 Jun 2004, Luca Barbato wrote:

> Look for /sys/devices/system/cpu/cpu0/cpufreq/, I'm not sure if is 
> present on g5.

 Nope, it is not there...

> 
> lu
> 
> 

-- 

IsoH



--
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-ppc-user] Re: [gentoo-ppc-dev] G5 & missing performance
  2004-06-11  6:38   ` IsoH
@ 2004-06-11 13:26     ` IsoH
  2004-06-11 13:37       ` IsoH
  0 siblings, 1 reply; 8+ messages in thread
From: IsoH @ 2004-06-11 13:26 UTC (permalink / raw
  To: gentoo-ppc-user, gentoo-ppc-dev

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-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-ppc-user] Re: [gentoo-ppc-dev] G5 & missing performance
  2004-06-11 13:26     ` IsoH
@ 2004-06-11 13:37       ` IsoH
  2004-06-11 13:55         ` IsoH
  0 siblings, 1 reply; 8+ messages in thread
From: IsoH @ 2004-06-11 13:37 UTC (permalink / raw
  To: gentoo-ppc-user, gentoo-ppc-dev

On Fri, 11 Jun 2004, IsoH wrote:

> 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...
> 
>   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...
> 

  Yes, so it seems to be that it doesn't matter if
  "boot-command" is "boot" or "mac-boot" bzipping-test's 
  speed is same in both ways...

> 
> 
> 

-- 

IsoH



--
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-ppc-user] Re: [gentoo-ppc-dev] G5 & missing performance
  2004-06-11 13:37       ` IsoH
@ 2004-06-11 13:55         ` IsoH
  0 siblings, 0 replies; 8+ messages in thread
From: IsoH @ 2004-06-11 13:55 UTC (permalink / raw
  To: gentoo-ppc-user, gentoo-ppc-dev

On Fri, 11 Jun 2004, IsoH wrote:

> > 
> >   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...
> > 
> 
>   Yes, so it seems to be that it doesn't matter if
>   "boot-command" is "boot" or "mac-boot" bzipping-test's 
>   speed is same in both ways...

 Yes (part 2/2), I double checked that and it is so that
 when booting is done by simply typing "boot"  on OF-console
 then machine is set some power saving (or whatever) mode...


> 
> > 
> > 
> > 
> 
> 

-- 

IsoH



--
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-ppc-user] Re: [gentoo-ppc-dev] G5 & missing performance
       [not found] <40C97D90.40500@mac.com>
@ 2004-06-11 14:52 ` IsoH
  0 siblings, 0 replies; 8+ messages in thread
From: IsoH @ 2004-06-11 14:52 UTC (permalink / raw
  To: gentoo-ppc-user, gentoo-ppc-dev

On Fri, 11 Jun 2004, Tom Gall wrote:

> IsoH wrote:
> 
> > On Thu, 10 Jun 2004, Pieter Van den Abeele wrote:
> >  
> >
>
> Greetings,
> While I won't say this is your particular situation but for instance if 
> you boot up into OF and then say specify boot into yaboot, you'll 
> actually run at 1/2 speed.  This is a "fee-chur".  Effectively the box 
> powers up, decides that no one is programming the fans correctly and 
> takes measures.
> 
> It's specific to apple hardware and no other ppc64 box does that. 
> Anyway, normal boots from ybin -> yaboot -> linux  should be fine.
>

  Ah, I see; same behaviour that I found out myself too ...


> 
> If not, certainly I and benh would be very very interested!
> 
> Regards,
> 
> Tom
> 

 Thanks,

-- 

IsoH



--
gentoo-ppc-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-06-11 14:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-10 19:30 [gentoo-ppc-user] G5 & missing performance IsoH
2004-06-10 21:06 ` [gentoo-ppc-user] Re: [gentoo-ppc-dev] " Pieter Van den Abeele
2004-06-11  6:38   ` IsoH
2004-06-11 13:26     ` IsoH
2004-06-11 13:37       ` IsoH
2004-06-11 13:55         ` IsoH
     [not found] <40C976B6.2090405@gentoo.org>
2004-06-11 12:21 ` IsoH
     [not found] <40C97D90.40500@mac.com>
2004-06-11 14:52 ` IsoH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox