CPU Governor?

138 views
Skip to first unread message

rui....@gmail.com

unread,
Jun 18, 2012, 3:36:18 PM6/18/12
to andro...@googlegroups.com

Hello all,

I was wondering if anyone had done any previous work on CPU governors - the power consumption of my Dell Mini 9 feels a bit steep when running Android x86, and I'd like to know if:

a) the CPU steppings (or whatever) are tunable somehow
b) anyone considered grabbing the existing ARM UI from CM9 and suchlike to build a settings section.

R.

Sam Hebditch

unread,
Jun 18, 2012, 3:59:14 PM6/18/12
to andro...@googlegroups.com
I guess you could intergrate governors into the kernel whilst building it, then set them with setcpu or a similar app from the market. 

R.

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

rui....@gmail.com

unread,
Jun 18, 2012, 4:55:04 PM6/18/12
to andro...@googlegroups.com


On Jun 18, 2012 8:59 PM, "Sam Hebditch" <s.heb...@gmail.com> wrote:
>
> I guess you could intergrate governors into the kernel whilst building it, then set them with setcpu or a similar app from the market. 

Yes, but I meant with a better UI. I have a Nook Color with CM9, and they integrated the governor with the Settings app - which is the right way to do it, just as the new Ethernet settings stuff on later builds.

Doing this with an app would defeat the whole purpose of having an Android distro we could run on PCs.

Has anyone tried doing CPU power management?

R.

fuzzy7k

unread,
Jun 19, 2012, 12:22:10 PM6/19/12
to andro...@googlegroups.com

Has anyone tried doing CPU power management?

R.


Only so far as changing the default governor, which is done at kernel compilation. You may change it from the default with something like the following:

   3 # CPU frequency governor
   4 # interactive, userspace, powersave, conservative, ondemand, performance
   5 #echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
   6 #echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

Interactive is the default for most newer builds. I am guessing that it is a google one because it is not part of the vanilla kernel yet. You may discover the default by checking it before changing it.

Rui Carmo

unread,
Jun 19, 2012, 5:27:45 PM6/19/12
to andro...@googlegroups.com
On Jun 19, 2012, at 17:22 , fuzzy7k wrote:

Has anyone tried doing CPU power management?

R.


Only so far as changing the default governor, which is done at kernel compilation. You may change it from the default with something like the following:

Many thanks. This is enough to get me started. I assume the interactive governor does some leveling off for short-term processing like touch handling, but I'll see if I can actually find it in the source first.

R.

Reply all
Reply to author
Forward
0 new messages