You are not logged in.

#1 2005-06-18 21:59:19

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

[new] Powernowd

Well, made a package for Powernowd cpufreq daemon...it is a great app that monitors your cpu usage and lower the cpu when not needed on full speed..

(great on laptops)
only thin you *need* to do is install it..that's it...no configuration or anything (unless you want to)...

oh yeah, forgot, Powernowd is in the AUR big_smile

have fun..

Update:  The PKGBUILD has been updated! It now feutures an init-script that follow the ArchLinux way.


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#2 2005-06-19 14:49:08

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: [new] Powernowd

We already have cpufreqd and cpudyn but powernowd is a quite nice alternative.

Thanks !

Offline

#3 2005-06-19 17:48:43

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

I never liked cpufreqd and cpudyn so that is why I put this package together big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#4 2005-06-19 21:19:25

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: [new] Powernowd

What didn't you like ? There's no much difference between those three programs...

Cpufreqd is more configurable(set of rules, policies, rules for program being run)

Cpudyn can slow down hard drive

powernowd is very small and simple. I've not tested it much so far but I'm always happy to have more choice.

Offline

#5 2005-06-20 02:50:30

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

well, cpufreq is what you said, it has a lot of configuration...that might be good for some people, but for me, that only wanted a simple program (hell, I even wrote my own little bash program that polled a little and then sent "echo...."blabal" >..scaling_governor depending on the polling value..)

THen cpudyn, well, that one I couldn't get to work...have no clue why (perhaps I should say that this was a long time ago...)

Then I came across Powernowd, which "just worked", it was just to compile and install..and voila,  light and fast...and nothing to configure (unless you wanted to)...

So ever since that discovery i have used powernowd, and trying to tell people about it (since it's not that famous)

so there you go, the story behind my post *smiile*

and like you said, it is always nice with alternatives..


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#6 2005-06-23 13:12:11

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [new] Powernowd

this pkgbuild currently doesnt work..

==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory

this is because their Makefile isnt a traditional `automake'eddededd one..
the files are getting installed into your system, not into the ./pkg directory

# Makefile for powernowd.. -very- simple.
#

all: powernow

powernow:
        gcc -O2 -Wall -o powernowd powernowd.c

install:
        install -m 755 powernowd /usr/sbin

youll need to use sed to edit the install line

ill do this now if you give me a minute


[edit]
heres the pkgbuild

it also copies the init script to rc.d

itd be good to re-write the init script to follow the arch way.. i hate running non-arch init scripts..

i dont think i can use this however.. i dont think my shuttle m/b supports powernow?!! grrr

#Contributor: CyberTron, packages@linuxportalen.com
#Modified: adam_griffithsAATTdart.net.au
pkgname=powernowd
pkgver=0.96
pkgrel=1
pkgdesc="Powernowd is a program for powering down CPUs dynamicly"
url="http://www.deater.net/john/powernowd.html"
install=powernowd.install
source=(http://www.deater.net/john/$pkgname-$pkgver.tar.gz)
md5sums=('9c7131bce36bbb3e8b688478e8dc34c7')

build()
{
  cd $startdir/src/$pkgname-$pkgver

  make || return 1

  mkdir -p $startdir/pkg/usr/sbin
  mkdir -p $startdir/pkg/etc/rc.d

  mv powernowd $startdir/pkg/usr/sbin
  mv powernowd.init $startdir/pkg/etc/rc.d/powernowd
}

[/edit]

Offline

#7 2005-06-23 17:46:56

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

oh thank you very much Father.

I will try it, and update it as soon as possible


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#8 2005-06-23 17:59:42

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

It is updated big_smile

Now it workes much better...will try and do a arch-way script as soon as I have the time to test..


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#9 2005-06-26 00:16:35

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

There is now a new PKGBUILD in the AUR, this one feutering an init-script that works and is built by utilizing the ArchLinux way of booting big_smile

happy powering down


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#10 2005-06-26 00:37:47

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [new] Powernowd

I'm not all to sure of the point of these userspace tools, when there are multiple governers built into the kernel that do the same thing.

iphitus

Offline

#11 2005-06-26 00:59:39

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

My laptop, for instance, is a Dell 8500, the governors in the kernel workes...but not the ondemand (which is the most useful)..( i belive that is only centrino laptops that can use it)  ...userspace tools are the only thing I can use to get dynamic freq changing (and I belive some others too) Of course I could reinvent the wheel and do a simple bashscript that do a echo "blah >> scalng_governor , but why ? when there are good simple programs out there that do it very good

And another point is that powernowd supports threaded cpus as well (haven't tried it though)

The reason why I don't use cpufreq or cpudyn is because I don't wanna configure every single step in the process, just to make it switch between high and low speed, powernowd does this without any configs (unless you really wanna have a specifik workload)...it is good, it works, it is very light..

EDIT: Powernowd changes the governors btw (if that wasn't clear, but it does it at specifik points, for instance standard is: 0-80% low power, 81-100% high power


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#12 2005-06-26 10:14:17

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] Powernowd

Hmm I've found I can't get the powernow module to load for my athlon. I get a 'no such device' error.

Offline

#13 2005-06-26 10:51:25

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

What are your specs?

Do you have cpufreq kompiled in the kernel? You must have userspace as your scaling_governor


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#14 2005-06-26 11:32:24

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] Powernowd

Yep it's all cowpiled in. I,w not sure how to post my kernes config or I would. Basically the governors etc were compiled in, and the gpu-specific modules were modules.

But, when I try to insert powernow-k7

[root@suzy thomas]# modprobe powernow-k7    
FATAL: Error inserting powernow_k7 (/lib/modules/2.6.11-ck9-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/powernow-k7.ko): No such device

I'm not using the stock kernel of course, but that shouldn't matter should it?

I have an Athlon XP 2000+ btw.

Offline

#15 2005-06-26 11:45:40

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

hmm...i actually have the same problem as you (but on another module)

I assume that the module is there!?

you could try

insmod /lib/modules../../../powernowd-k7.ko

(replace ../../ with correct searchway) big_smile


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#16 2005-06-27 01:07:04

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: [new] Powernowd

Nurp, insmod bails out with a 'no such device' error too... I'll see if it works with a different kernel

Offline

#17 2005-06-27 08:51:11

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

hmm..strange...b

btw, consider opening a new thread in Kernel/hardware issues (since this has nothing to do with powernowd


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#18 2005-06-27 11:13:53

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: [new] Powernowd

Thanks for the PKGBUILD. Just installed it myself and so I'll see how it goes. I have a Pentium4 M. After making the powernowd package and installing, all I needed to do was add powernowd to DAEMONS and 'speedstep-centrino cpufreq-userspace' modules to MODULES.

I'm really hoping that this does the job. I like the look of its simplicity smile

Offline

#19 2005-06-27 11:36:07

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

Glad to hear that you enjoy it big_smile

hope it works for you *smile*

it is the simplicity that hooked me


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#20 2005-06-27 12:18:31

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [new] Powernowd

I dont quite get the point of this package.....

It does the same thing as the kernel based governers, cpufreq_ondemand and cpufreq_conservative.

iphitus

Offline

#21 2005-06-27 13:32:29

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

dont quite get the point of this package.....

It does the same thing as the kernel based governers, cpufreq_ondemand and cpufreq_conservative.

iphitus

Well, there are those who can't use the kernel ondemand , (i am one) since it need some specifik instruction that are not availible in for ex. pentium 4m processors (not centrino)...

and then there are no alteernative than to use either full speed, low speed or a userspace app that are able to change between those (like powernowd)


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#22 2005-11-08 20:46:11

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: [new] Powernowd

How can I find this package? I have enabled the community repository in the pacman.conf file, and synchronized the packages. But when I make a search, pacman -Ss powernowd, it yields no results. Am I missing something? How can I download the package?

Offline

#23 2005-11-08 21:05:16

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

it isn't in the community repo, you must go to the AUR and download the pkgbuild (and related files) yourself and compile it on your own with makepkg


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

#24 2005-11-09 08:33:02

hjorthboggild
Member
From: Denmark
Registered: 2005-11-05
Posts: 89

Re: [new] Powernowd

Thank you for clearing that up to me smile
Now I have powernowd installed and up and running

Offline

#25 2005-11-09 08:40:52

CyberTron
Member
From: Gotland ,Sweden
Registered: 2005-03-17
Posts: 645
Website

Re: [new] Powernowd

hjorthboggild wrote:

Thank you for clearing that up to me smile
Now I have powernowd installed and up and running

great that it has come to use by more than me big_smile

it was quite easy setting it up wasn't it?


http://www.linuxportalen.com  -> Linux Help portal for Linux and ArchLinux (in swedish)

Dell Inspiron 8500
Kernel 2.6.14-archck1  (selfcompiled)
Enlightenment 17

Offline

Board footer

Powered by FluxBB