cpuidle - minimum time for sleep
Hello, Does anybody know what is the minimum expected time for sleep period with the cpuidle ? I intend t use the menu governer, and I try to estimate the sleep time. Thanks, Ran
On Thu, 09 Oct 2014 21:28:23 +0300, Ran Shalit said:
Does anybody know what is the minimum expected time for sleep period with the cpuidle ?
Both processor dependent and sleep level dependent. There's a certain amount of latency induced by the hardware waking up. Look at /sys/devices/system/cpu/cpu*/cpuidle/state*/latency
Does anybody know what is the minimum expected time for sleep period with the cpuidle ? By sleep period do you mean sleep time for complete device or only for cpu's? If you want to check for device as a whole, you can see the print in the kernel log. If you want to check programmatically, suspend_devices_and_enter() is the function.
On Fri, Oct 10, 2014 at 4:01 AM, <Valdis.Kletnieks@vt.edu> wrote:
On Thu, 09 Oct 2014 21:28:23 +0300, Ran Shalit said:
Does anybody know what is the minimum expected time for sleep period with the cpuidle ?
Both processor dependent and sleep level dependent. There's a certain amount of latency induced by the hardware waking up.
Look at /sys/devices/system/cpu/cpu*/cpuidle/state*/latency
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (3)
-
manty kuma -
Ran Shalit -
Valdis.Kletnieks@vt.edu