linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cpuidle governors
@ 2013-11-07 13:44 Jean Delvare
  2013-11-07 13:54 ` Daniel Lezcano
  0 siblings, 1 reply; 8+ messages in thread
From: Jean Delvare @ 2013-11-07 13:44 UTC (permalink / raw)
  To: linux-pm; +Cc: Rafael J. Wysocki

Hi all,

I had to work on cpuidle recently and there are two things which caused
me trouble and I'd like to discuss.

1* Is there no documentation about how the available governors (menu and
ladder) work? I found good documentation of the general architecture and
API in Documentation/cpuidle, but I am missing a description of the
internal logic of each available governor (just like
Documentation/cpu-freq/governors.txt for cpufreq.) Also, the
documentation says that "the kernel picks the best governor based on
governor ratings" but that's pretty vague. An explanation of how the
governors are rated would be good to have. Could this be added?

2* Is there no way to specify/force the cpuidle governor at boot time? I
found the cpuidle_sysfs_switch parameter and then I can change the
governor in sysfs, but this seems overly complicated (and apparently
discouraged) in a production environment. Wouldn't it be easier to
implement a cpuidle.governor=xxx boot parameter? That way we don't have
to deal with run-time changes, but the user can still force a specific
governor.

Thanks,
-- 
Jean Delvare
Suse L3 Support


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-22 18:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-07 13:44 cpuidle governors Jean Delvare
2013-11-07 13:54 ` Daniel Lezcano
2013-11-22  7:45   ` Jean Delvare
2013-11-22 15:52     ` Rafael J. Wysocki
2013-11-22 16:14       ` Daniel Lezcano
2013-11-22 18:06         ` Jean Delvare
2013-11-22 18:17           ` Daniel Lezcano
2013-11-22 18:14       ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).