Author Topic: Powernowd Cpu Frequency And Vcore Scaling Daemon  (Read 7052 times)

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Powernowd Cpu Frequency And Vcore Scaling Daemon
« on: June 09, 2006, 01:14:55 pm »
http://www.iral.com/~albertr/linux/zaurus/powernowd.html

Let me know what do you think...

-albertr

seiichiro0185

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://seiichiro0185.xen-host.de
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #1 on: June 09, 2006, 03:41:53 pm »
Quote
http://www.iral.com/~albertr/linux/zaurus/powernowd.html

Let me know what do you think...

-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130564\"][{POST_SNAPBACK}][/a][/div]

sounds good, I would love to try this, unfortunalety the download-link for the ipk on your page doesn't work (I have no crosscompiling-env so I can't compile it myself..).

seiichiro0185
C1000
Cacko 1.23-lite
Networking: Ambicom WL1100C-CF | Linksys USB200M | Sitecom CN-512 USB-Bluetooth
Storage: 2GB+512MB SD, 4x512MB CF, 6GB Microdrive
My Homepage Infos about my Zaurus setup, Linux and other stuff (WiP)

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #2 on: June 09, 2006, 03:48:13 pm »
Sorry, link is fixed now.
-albertr
« Last Edit: June 09, 2006, 03:51:02 pm by albertr »

seiichiro0185

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://seiichiro0185.xen-host.de
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #3 on: June 09, 2006, 05:14:42 pm »
dl worked now, install went fine, and I linked the script to the apm-dirs like you said on the page

my first test looks very good. scaling works good as far as i can see (I looked at /proc/zaurus/CCCR when idle and under load, and it changed )
suspend and resume works ok, and the scaling works after suspend/resume
the zaurus now feels a little "snappier" (it seems programms load a little faster, but I have not timed the loading with/without powernowd so far)
all in all it seems to be a usefull piece of software, especially as one should also experience longer battery lifetime (hopefully)..

thanks for this!

seiichiro0185

PS.: I will use this for now and report back if something goes wrong. I also will make some tests on battery lifetime and application loading time with and without powernowd if I have some spare time.
« Last Edit: June 09, 2006, 05:15:30 pm by seiichiro0185 »
C1000
Cacko 1.23-lite
Networking: Ambicom WL1100C-CF | Linksys USB200M | Sitecom CN-512 USB-Bluetooth
Storage: 2GB+512MB SD, 4x512MB CF, 6GB Microdrive
My Homepage Infos about my Zaurus setup, Linux and other stuff (WiP)

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #4 on: June 09, 2006, 06:53:05 pm »
Battery life should improve quite a bit. What /etc/powernowd.conf file do you use?
-albertr

seiichiro0185

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • http://seiichiro0185.xen-host.de
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #5 on: June 10, 2006, 03:09:59 am »
Quote
Battery life should improve quite a bit. What /etc/powernowd.conf file do you use?
-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130616\"][{POST_SNAPBACK}][/a][/div]

I'm using the undervolted one from your website ATM. Right now the zaurus is charging, after that's complete I will start some tests.

seiichiro0185
C1000
Cacko 1.23-lite
Networking: Ambicom WL1100C-CF | Linksys USB200M | Sitecom CN-512 USB-Bluetooth
Storage: 2GB+512MB SD, 4x512MB CF, 6GB Microdrive
My Homepage Infos about my Zaurus setup, Linux and other stuff (WiP)

rmesek

  • Newbie
  • *
  • Posts: 23
    • View Profile
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #6 on: June 10, 2006, 03:41:45 am »
Will this work on an SL6000? I think it has a PXA CPU.


Quote
http://www.iral.com/~albertr/linux/zaurus/powernowd.html

Let me know what do you think...

-albertr
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130564\"][{POST_SNAPBACK}][/a][/div]

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #7 on: June 10, 2006, 04:03:30 am »
checking it out now, btw how do you apply patches? And this will work with just the regular cacko install correct? I took a quick peek at the patches, looks like the cacko kernel wont need those patches, of course I could be wrong...
« Last Edit: June 10, 2006, 04:07:09 am by bam »
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #8 on: June 10, 2006, 07:48:24 am »
I think cacko already has these patches, also tetsu kernel has them, and possibly old pre-2.6 kernel pdaXrom. It would work only on pxa270-based Zaurii, i.e. C1000/3x00. The easy way to check if you kernel has them already - just take a look if there's /proc/zaurus/CCCR and /proc/zaurus/VCORE exist.

Also, I completely forgot that if you use root account and don't have sudo installed, then edit /etc/rc.d/init.d/powernowd script and change the first line from:
Code: [Select]
#!sudo /bin/sh
to:

Code: [Select]
#!bin/sh
If you run as a non-root user, you need to have sudo installed.

-albertr

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #9 on: June 10, 2006, 01:48:26 pm »
now for the symlinking, actually I just created two scripts, one in suspend and one in resume, that just suspend and resume the daemon, this would be appropriate as well, correct?
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #10 on: June 10, 2006, 02:05:47 pm »
For the script examples, please take a look at the ipk.

-albertr

ldrolez

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://zaurus.palmopensource.com
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #11 on: June 24, 2006, 12:23:01 pm »
Hi !

Powernowd does not work as expected on my Cacko 1.23. The reason is that most of the processes are niced to '10' (why ?!).
So three solutions:
- launch powernowd with '-n'
- or modify the code to take into account the processes niced at 10
- or find a way to 'denice' the processes launched by qtopia.

Cheers,

  Ludo.

PS: One time my keyboard freezed just before suspend. Needed a reset.
« Last Edit: June 24, 2006, 12:23:23 pm by ldrolez »
- ludo
http://zaurus.palmopensource.com - the Zaurus Open Source Portal
http://www.drolez.com/software/zaurus - Misc Zaurus stuff (wifi drivers, hacks and more)

albertr

  • Hero Member
  • *****
  • Posts: 535
    • View Profile
    • http://
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #12 on: June 24, 2006, 03:56:13 pm »
So if you run powernowd with "-n" option, does it work?

As far us suspend goes, did you kill powernowd BEFORE suspending?

-albertr

bam

  • Hero Member
  • *****
  • Posts: 1213
    • View Profile
    • http://thegrinder.ws
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #13 on: June 24, 2006, 10:10:00 pm »
I think I will retry with stock+tetsu this time.
SL-C3100 current: Stock/Tetsu 18h
Socket BT CF Card
Linksys WCF-12 802.11b/Cheapie USB Ethernet

The Grinder

ldrolez

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
    • http://zaurus.palmopensource.com
Powernowd Cpu Frequency And Vcore Scaling Daemon
« Reply #14 on: June 25, 2006, 04:41:39 am »
Quote
So if you run powernowd with "-n" option, does it work?
Yes but real niced processes (at 20),  are taken into account.

Quote
As far us suspend goes, did you kill powernowd BEFORE suspending?

Yes I used you ipk.

Cheers,

  Ludo.
- ludo
http://zaurus.palmopensource.com - the Zaurus Open Source Portal
http://www.drolez.com/software/zaurus - Misc Zaurus stuff (wifi drivers, hacks and more)