Re: [RFC v1] Tunable sched_mc_power_savings=n

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Thursday, June 26, 2008 - 1:17 pm

Vaidyanathan Srinivasan wrote:

Playing devil's advocate here.



Does it have the needed information for that? e.g. real time information
on what the system does? I don't think anybody is in a better position
to control that than the kernel.


That sounds wrong to me. Negotiating between conflicting requirements
from different applications is something that kernels are supposed
to do.


That is right, but the kernel can do that based on nice levels
and possibly other information, can't it?



But that only helps kernel drivers, not user space, doesn't it?


That's what I meant yes. So if only the file system indexer is running
over night all niced it will run as power efficiently as possible.


Is there any real drawback from only controlling it through nice levels?

Anyways I think the main thing I object to in your proposal is that
your tunable is system global, not per process. I'm also not
sure if a tunable is really a good idea and if the kernel couldn't
do a better job.

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Wed Jun 25, 12:11 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Thu Jun 26, 6:49 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Dipankar Sarma, (Thu Jun 26, 8:01 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Balbir Singh, (Thu Jun 26, 8:01 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Thu Jun 26, 11:08 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Thu Jun 26, 11:31 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Thu Jun 26, 11:52 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, David Collier-Brown, (Thu Jun 26, 12:37 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Thu Jun 26, 1:17 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Dipankar Sarma, (Thu Jun 26, 2:00 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Thu Jun 26, 2:37 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Peter Zijlstra, (Thu Jun 26, 2:43 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Thu Jun 26, 3:38 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Balbir Singh, (Thu Jun 26, 9:15 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Dipankar Sarma, (Thu Jun 26, 9:54 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Thu Jun 26, 11:24 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Thu Jun 26, 11:50 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Fri Jun 27, 12:19 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Peter Zijlstra, (Fri Jun 27, 12:51 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Fri Jun 27, 1:03 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Fri Jun 27, 1:06 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, KOSAKI Motohiro, (Fri Jun 27, 1:08 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Fri Jun 27, 1:50 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, David Collier-Brown, (Fri Jun 27, 5:54 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Tim Connors, (Sat Jun 28, 4:22 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Tim Connors, (Sat Jun 28, 4:35 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Sat Jun 28, 4:55 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Matthew Garrett, (Sat Jun 28, 5:22 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Sat Jun 28, 5:36 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Matthew Garrett, (Sat Jun 28, 5:53 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, David Collier-Brown, (Sun Jun 29, 11:02 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Vaidyanathan Srinivasan, (Sun Jun 29, 9:57 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Tim Connors, (Sun Jun 29, 10:55 pm)
Re: [RFC v1] Tunable sched_mc_power_savings=n, David Collier-Brown, (Mon Jun 30, 7:18 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Andi Kleen, (Mon Jun 30, 7:31 am)
Re: [RFC v1] Tunable sched_mc_power_savings=n, Dipankar Sarma, (Mon Jun 30, 9:10 am)