OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: albertr on June 09, 2006, 01:14:55 pm

Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: albertr on June 09, 2006, 01:14:55 pm
http://www.iral.com/~albertr/linux/zaurus/powernowd.html (http://www.iral.com/~albertr/linux/zaurus/powernowd.html)

Let me know what do you think...

-albertr
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: seiichiro0185 on June 09, 2006, 03:41:53 pm
Quote
http://www.iral.com/~albertr/linux/zaurus/powernowd.html (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
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: albertr on June 09, 2006, 03:48:13 pm
Sorry, link is fixed now.
-albertr
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: seiichiro0185 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.
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: albertr on June 09, 2006, 06:53:05 pm
Battery life should improve quite a bit. What /etc/powernowd.conf file do you use?
-albertr
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: seiichiro0185 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
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: rmesek 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 (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]
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: bam 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...
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: albertr 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
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: bam 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?
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: albertr on June 10, 2006, 02:05:47 pm
For the script examples, please take a look at the ipk.

-albertr
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: ldrolez 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.
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: albertr 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
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: bam on June 24, 2006, 10:10:00 pm
I think I will retry with stock+tetsu this time.
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: ldrolez 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.
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: bolbit on September 20, 2006, 11:31:37 am
Hi, i just try your ipk with the your conf file. First it seems to work, but 3 times since yesterday, the Z's screen just became completely white and the Z needed a reset..
Another point : I use the cacko 1.23 rom with the overclock/underclock applet => when powernowd is running any change on this applet will freeze the Z.
hope it will help.

[Edit] I have uninstalled the powernowd package but i have the same behavior (The Z screen became white after resume, or even reboot !!). maybe it is something else i have done !!
Title: Powernowd Cpu Frequency And Vcore Scaling Daemon
Post by: Snappy on January 27, 2007, 04:12:57 pm
So anyone have any success with powernowd in Cacko1.23?