You are not logged in.

#1 2012-04-15 13:50:12

kamahl
Member
Registered: 2007-09-16
Posts: 61

cpufreq vs. granola

So I was trying to tune power consumption of my laptop, namely CPU frequency scaling . I was wandering around the wiki and found theese two things: cpufreq daemon and granola. Is there any important difference between them, or do they basically do the same thing? If yes, is one superior to the other in some ways?  Or - does it make sense to have them both running?

Offline

#2 2012-04-15 15:52:02

nierro
Member
From: Milan, Italy
Registered: 2011-09-02
Posts: 849

Re: cpufreq vs. granola

I think simply granola is an userspace program that does the same thing of cpufreq daemon with ondemand governor, and it has only a nice ui more (and the internet site). But I've tried both and i think there are no differences. Otherwise you can set your cpu governor without the usage of a daemon, with

cpufreq-set -c 0 -g ondemand

in /etc/rc.local, or if you have more cpus:

cpufreq-set -r -g ondemand

.
Only remember to load the right modules (cpufreq_ondemand at least and the right driver).

Offline

#3 2012-04-15 16:17:51

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: cpufreq vs. granola

Cpufreq is kinda old.  A more contemporary alternative is cpupower.

Offline

#4 2012-04-15 20:01:34

kamahl
Member
Registered: 2007-09-16
Posts: 61

Re: cpufreq vs. granola

ok, thank you guys, this is just what I wanted to know smile

Offline

#5 2012-04-20 06:27:55

pauldcox
Member
Registered: 2011-08-19
Posts: 8

Re: cpufreq vs. granola

I first started using granola over cpufreq because ondemand was being a little too aggressive so I would get skips on full screen videos, etc. I know you can fine tune the ondemand governor, but granola just worked and everything was smooth without any fiddling. Well, that's if you don't count fighting with their mess in the tarballs to get a good AUR package (I'm the maintainer). Guess I'm a glutton for punishment. As a side note, if you do use Granola, you don't need to load the modules in rc.conf. The granola rc.d script should load the appropriate modules for you.

All that being said, I haven't tried cpupower yet myself since it took over for cpufreq.

Offline

Board footer

Powered by FluxBB