Srivatsa Vaddagiri wrote:


Hmm ..I guess we could restrict the max time a idle CPU will sleep taking
into account its balance interval. But whatever heuristics we follow to maximize balance_interval of about-to-sleep idle CPU, don't we still run the risk of idle cpu being woken up and going immediately back to sleep (because there was no imbalance)?



Yep.

Moreover we may be greatly reducing the amount of time a CPU is allowed to sleep this way ...


Yes. I was assuming you get some kind of fairly rapidly diminishing efficiency return curve based on your maximum sleep time. If that is not so, then I agree this wouldn't be the best method.

--
SUSE Labs, Novell Inc.


- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Reply via email to