]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpuidle: Add decaying history logic to menu idle predictor
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Tue, 27 Jan 2009 16:38:46 +0000 (17:38 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Feb 2009 21:47:23 +0000 (13:47 -0800)
commit00559920e4bd114effb56e669690aa2479260af2
tree407bd186668de53614a6d4d94f821cb3dbc86c9f
parentf50db0e8116410e8e7465d1810621dbf19c55ff9
cpuidle: Add decaying history logic to menu idle predictor

commit 816bb611e41be29b476dc16f6297eb551bf4d747 upstream

Add decaying history of predicted idle time, instead of using the last early
wakeup. This logic helps menu governor do better job of predicting idle time.

With this change, we also measured noticable (~8%) power savings on
a DP server system with CPUs supporting deep C states, when system
was lightly loaded. There was no change to power or perf on other load
conditions.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/cpuidle/governors/menu.c