]> 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 22:00:40 +0000 (14:00 -0800)
commit3157bb44c4d5d1c0b8808c13a4b4264f78f0cb8d
tree10c4cc8f99e7253bb4033c4de9c2ae5afa419e57
parent7e703f5777cc32d55a8d926df51fd3a07a4ee3d9
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