lkml.org 
[lkml]   [2008]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC v1] Tunable sched_mc_power_savings=n
* Andi Kleen <andi@firstfloor.org> [2008-06-26 20:08:41]:

>
> > A user could be an application and certain applications can predict their
> > workload.
>
> So you expect the applications to run suid root and change a sysctl?
> And what happens when two applications run that do that and they have differing
> requirements? Will they fight over the sysctl?

System management software and workload monitoring and managing
software can potentially control the tunable on behalf of the
applications for best overall power savings and performance.

Applications with conflicting goals should resolve among themselves.
The application with highest performance requirement should win. The
power QoS framework set_acceptable_latency() ensures that the lowest
latency set across the system wins. This tunable can also be based on
the similar approach.


> > For example, a database, a file indexer, etc can predict their workload.
>
>
> A file indexer should run with a high nice level and low priority would ideally always
> prefer power saving. But it doesn't currently. Perhaps it should?

Power management settings affect the entire system. It may not be
based on per application priority or nice value. However if the
priority of all the applications currently running in the system
indicate power savings, then the kernel can goto more aggressive power
saving state.

> >
> > Policies are best known in user land and the best controlled from there.
> > Consider a case where the end user might select a performance based policy or a
> > policy to aggressively save power (during peak tariff times). With
>
> How many users are going to do that? Seems like a unrealistic case to me.

System management software should do this. Certainly manual
intervention to change these settings will not be popular. Given the
trends in virtualisation and modular systems, most datacenters will
use some form of systems management software and infrastructure that
is empowered to make policy based decisions on provisioning and
systems configuration.

In a small-scale datacenters, peak and off-peak hour settings can be
potentially done through simple cron jobs.

--Vaidy


\
 
 \ /
  Last update: 2008-06-26 20:53    [W:0.138 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site