[lkml]   [2010]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4] sched: automated per session task groups

* Con Kolivas <> wrote:

> Greets.
> I applaud your efforts to continue addressing interactivity and responsiveness
> but, I know I'm going to regret this, I feel strongly enough to speak up about
> this change.
> On Sun, 5 Dec 2010 10:43:44 Colin Walters wrote:
> > On Sat, Dec 4, 2010 at 5:39 PM, Linus Torvalds
> > <> wrote:
> > > What's your point again? It's a heuristic.
> >
> > So if it's a heuristic the OS can get wrong,
> This is precisely what I see as the flaw in this approach. [...]

I think you are misunderstanding Mike's auto-group scheduling feature.

The scheduling itself is not 'heuristics'.

It is the _composition of a group_ that has a heuristic default. (We use the 'tty'
to act as the grouping)

But that can be changed: the cgroup interfaces can be (and are) used by Gnome to
create different groups. They can be used by users as well, using cgroup tooling.

What the kernel does is that it provides sane defaults.

> [...]
> Move away from the fragile heuristic tweaks and find a longer term robust
> solution.

This is not some kernel heuristic that cannot be modified - which was the main
problem of the O(1) scheduler. This is a common-sense default that can be overriden
by user-space if it wants to.

So i definitely think you are confusing the two cases.



 \ /
  Last update: 2010-12-05 22:01    [W:0.235 / U:1.808 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site