Author Topic: 520 Mhz ?  (Read 5890 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
520 Mhz ?
« on: June 01, 2007, 04:55:26 pm »
i've just noticed that apm says : Performance Ajustment mode: normal (520 Mhz)

is it true that openbsd runs at 520 Mhz speed on the Zaurus ???
or does it go from 416 to 520 itself ?
is it the normal behavoiur ?
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
520 Mhz ?
« Reply #1 on: June 02, 2007, 08:09:26 am »
I guess it's because OBSD runs a bit slower than other distros, and the overclocking is intended to compensate for this.
btw I've just succeeded in swapping the internal MD with a Sandisk Extreme III 16GB CF.  The system does feel faster in general. Now I need more time to set up everything again.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

mathemajikian

  • Sr. Member
  • ****
  • Posts: 301
    • View Profile
    • http://exit3.i-55.com/~xikon/openbsdzaurus.html
520 Mhz ?
« Reply #2 on: June 02, 2007, 01:07:36 pm »
Quote
i've just noticed that apm says : Performance Ajustment mode: normal (520 Mhz)

is it true that openbsd runs at 520 Mhz speed on the Zaurus ???
or does it go from 416 to 520 itself ?
is it the normal behavoiur ?
You can make the Zaurus processor run at 520Mhz via etc/sysctl.conf using:

machdep.maxspeed=520

If you comment out  or change the above to 416 then it should run at the standard 416Mhz.

However, if you want the speed to be adjusted automatically then you'll have to utilize the following apm option:
Quote
  -A      Set apmd(8) to automatic performance adjustment mode.  In this
             mode, when CPU idle time falls below 10%, or if the AC power is
             connected and the battery is more than 15% charged, apm raises
             hw.setperf as much as possible.  Otherwise, when the CPU idle
             time is above 30% and the system is running on battery power, apm
             lowers hw.setperf as much as possible to reduce power consump-
             tion.

Supposedly you can run the Zaurus at 624MHz, but I haven't tried this. (I don't want to fry my Z)
« Last Edit: June 02, 2007, 01:13:48 pm by mathemajikian »

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
520 Mhz ?
« Reply #3 on: June 05, 2007, 01:10:54 pm »
Sidetracking:

The original Afterboot procedure in gen2's page suggests applying
apmd_flags=""
i.e. without any special flag to instruct how apmd behaves.

Then mathemajikian in another thread suggests using apmd_flags="-t 300" to make the power usage report more accurate.

And then the official man page apm(8) has these two interesting options:

-A      Set apmd(8) to automatic performance adjustment mode.  In this
             mode, when CPU idle time falls below 10%, or if the AC power is
             connected and the battery is more than 15% charged, apm raises
             hw.setperf as much as possible.  Otherwise, when the CPU idle
             time is above 30% and the system is running on battery power, apm
             lowers hw.setperf as much as possible to reduce power consump-
             tion.


-C      Set apmd(8) to cool running performance adjustment mode.  In this
             mode, when CPU idle time falls below 10%, apm raises hw.setperf
             as much as necessary.  Otherwise, when idle time is above 30% apm
             reduces hw.setperf as much as possible to reduce heat, noise, and
             power consumption.


Given now the suspend/resume issue is gone, I just wonder which flag(s) would be most useful to Z?  
« Last Edit: June 05, 2007, 01:12:49 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
520 Mhz ?
« Reply #4 on: June 05, 2007, 01:23:59 pm »
Quote
Sidetracking:

The original Afterboot procedure in gen2's page suggests applying
apmd_flags=""
i.e. without any special flag to instruct how apmd behaves.

Then mathemajikian in another thread suggests using apmd_flags="-t 300" to make the power usage report more accurate.

And then the official man page apm(8) has these two interesting options:

-A      Set apmd(8) to automatic performance adjustment mode.  In this
             mode, when CPU idle time falls below 10%, or if the AC power is
             connected and the battery is more than 15% charged, apm raises
             hw.setperf as much as possible.  Otherwise, when the CPU idle
             time is above 30% and the system is running on battery power, apm
             lowers hw.setperf as much as possible to reduce power consump-
             tion.


-C      Set apmd(8) to cool running performance adjustment mode.  In this
             mode, when CPU idle time falls below 10%, apm raises hw.setperf
             as much as necessary.  Otherwise, when idle time is above 30% apm
             reduces hw.setperf as much as possible to reduce heat, noise, and
             power consumption.


Given now the suspend/resume issue is gone, I just wonder which flag(s) would be most useful to Z? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162625\"][{POST_SNAPBACK}][/a][/div]

it's a matter of daring to try  
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
520 Mhz ?
« Reply #5 on: June 06, 2007, 06:03:27 am »
Quote
Sidetracking:

The original Afterboot procedure in gen2's page suggests applying
apmd_flags=""
i.e. without any special flag to instruct how apmd behaves.

Then mathemajikian in another thread suggests using apmd_flags="-t 300" to make the power usage report more accurate.

And then the official man page apm(8) has these two interesting options:

-A      Set apmd(8) to automatic performance adjustment mode.  In this
             mode, when CPU idle time falls below 10%, or if the AC power is
             connected and the battery is more than 15% charged, apm raises
             hw.setperf as much as possible.  Otherwise, when the CPU idle
             time is above 30% and the system is running on battery power, apm
             lowers hw.setperf as much as possible to reduce power consump-
             tion.


-C      Set apmd(8) to cool running performance adjustment mode.  In this
             mode, when CPU idle time falls below 10%, apm raises hw.setperf
             as much as necessary.  Otherwise, when idle time is above 30% apm
             reduces hw.setperf as much as possible to reduce heat, noise, and
             power consumption.


Given now the suspend/resume issue is gone, I just wonder which flag(s) would be most useful to Z? 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=162625\"][{POST_SNAPBACK}][/a][/div]


i'm testing -A
now apm gives me :
Performance adjustment mode: auto (520 MHz)

let's wait & see... battery state is high, 56% remaining, A/C not connected

EDITED: after some minutes idle, apm now gives me :
Battery state: high, 87% remaining !!!!

a/c is still not connected
« Last Edit: June 06, 2007, 06:06:03 am by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
520 Mhz ?
« Reply #6 on: June 07, 2007, 05:52:38 am »
apparently since i'm running with the -A option in apmd, the Z orange charging light seems to stay always lit... or is it since i plugged my CF WIFI card.....

by the way i could not find a cardctl command to type before ejecting the CF card. is it unuseful under openbsd ??
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun