User: Password:
Subscribe / Log in / New account

Re: [RFC/RFT PATCH v3] sched: automated per tty task groups

From:  Linus Torvalds <>
To:  Kay Sievers <>
Subject:  Re: [RFC/RFT PATCH v3] sched: automated per tty task groups
Date:  Tue, 16 Nov 2010 12:35:13 -0800
Message-ID:  <>
Cc:  Pekka Enberg <>, Lennart Poettering <>, Dhaval Giani <>, Peter Zijlstra <>, Mike Galbraith <>, Vivek Goyal <>, Oleg Nesterov <>, Markus Trippelsdorf <>, Mathieu Desnoyers <>, Ingo Molnar <>, LKML <>, Balbir Singh <>
Archive-link:  Article

On Tue, Nov 16, 2010 at 12:21 PM, Kay Sievers <> wrote:
> The only problem is that *desktop* users use *desktop* apps, which
> never have a controlling tty.

Yes. And have you noticed people complaining about stuttering while
they run just their desktop app? No.

That's the thing. If you run a web browser and you use a flash player
to view youtube or whatever in it, and only use other interactive
desktop apps anyway, you won't see any problems _regardless_. It's not
like the other desktop app you have open (and is idle, because you're
not touching it) will matter.

Ask yourself who is complaining? _I_ have been complaining for years
about desktop latency. I usually do it in private to developers, but
trust me, I do it. Much of it has been about IO (the whole fsync
fiasco), but some of it has been about the scheduler.

Look at who were trying out Con's patches. They were compiling things
and running games at the same time. That's literally the kind of loads
that people were looking at. Partly because that's the kinds of loads
we haven't been good at. And it's the kind of load that this helps

Anyway, I find it depressing that now that this is solved, people come
out of the woodwork and say "hey you could do this". Where were you
guys a year ago or more?

Tough. I found out that I can solve it using cgroups, I asked people
to comment and help, and I think the kernel approach is wonderful and
_way_ simpler than the scripts I've seen. Yes, I'm biased ("kernels
are easy - user space maintenance is a big pain").


(Log in to post comments)

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds