[lkml]   [2006]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC] CPU controllers?
On Sat, Jun 17, 2006 at 06:48:17PM +1000, Nick Piggin wrote:
> Srivatsa Vaddagiri wrote:
> > - Do we need mechanisms to control CPU usage of tasks, further to
> > what
> > already exists (like nice)? IMO yes.
> Can we get back to the question of need? And from there, work out what
> features are wanted.
> IMHO, having containers try to virtualise all resources (memory, pagecache,
> slab cache, CPU, disk/network IO...) seems insane: we may just as well use
> virtualisation.
> So, from my POV, I would like to be convinced of the need for this first.
> I would really love to be able to keep core kernel simple and fast even if
> it means edge cases might need to use a slightly different solution.

I think a proportional-share scheduler (which is what a CPU controller
may provide) has non-container uses also. Do you think nice (or sched policy)
is enough to, say, provide guaranteed CPU usage for applications or limit
their CPU usage? Moreover it is more flexible if guarantee/limit can be
specified for a group of tasks, rather than individual tasks even in
non-container scenarios (like limiting CPU usage of all web-server
tasks togther or for limiting CPU usage of make -j command).

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-17 18:54    [W:0.101 / U:8.160 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site