Re: [PATCH 6/6] sched: disabled rt-bandwidth by default

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Thursday, August 28, 2008 - 6:45 am

On Thursday 28 August 2008 23:07, Ingo Molnar wrote:

;) Well yes as you know I'm not actively doing much scheduler work for
a while now. Luckily there are a lot of really good people who probably
do a better job on it than me anyway, so on the whole I'm quite happy
with it.

But ironically that's also why I hadn't raised my concerns earlier... I
simply was not aware of the change. So I wish I had participated in the
discussion earlier, but that's life, so I have to raise my concern now.



To address this concern: no, it is not tpc ;) Actually I don't know a
thing about how tpc except what scant information can basically be
gained on the list (disclaimer: I probably could find out more under
NDA, but I don't care to).

No, there is no customer behind the scenes and nor do I have a use
case myself. I really would have told you about it by now.

I'm concerned because I honestly think there is a risk of breaking
systems. I also think that in this problem space, people often care
about guard bands and worst case scenarios so even if the app does
not do a cpu hogging polling loop or cooperative scheduling or
anything like that, then I think it is risky to add this source of
uncertianty.

The other issue is that the old behaviour (and, dare I say it,
specification) is quite straightforward. At least it is simpler and thus
I guess easier to analyze than this behaviour with the added caveat.

I realise that as Linux gets better at this, people are wanting to use
-rt programs like audio mixing on their desktops and for that kind of
thing, throttling is probably often the desired behaviour. So I can
see why it was implemented. I just think it is a nasty surprise to
have this behaviour by default in the kernel.

I hope I explained myself better now. I was not being too constructive
when I was getting heated.

What I would like to see is maybe a new SCHED_ policy or two which can
be defined basically as rt-with-throttle which some apps could use. I
also think the sysctl to throttle it is a fine idea. And for desktop
installations there is probably a much stronger argument for it. But I
disagree with having it default from kernel.org like this.

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

Messages in current thread:
[PATCH 6/6] sched: disabled rt-bandwidth by default, Peter Zijlstra, (Tue Aug 19, 3:33 am)
[PATCH] sched: extract walk_tg_tree(), fix, Ingo Molnar, (Tue Aug 19, 4:42 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Max Krasnyansky, (Tue Aug 19, 11:15 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Thomas Gleixner, (Tue Aug 26, 4:09 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Theodore Tso, (Tue Aug 26, 5:50 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Stefani Seibold, (Tue Aug 26, 6:31 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Mark Hounschell, (Tue Aug 26, 6:47 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Theodore Tso, (Tue Aug 26, 10:55 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Thomas Gleixner, (Tue Aug 26, 2:37 pm)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Steven Rostedt, (Tue Aug 26, 4:00 pm)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Chris Friesen, (Wed Aug 27, 11:55 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Peter Zijlstra, (Thu Aug 28, 4:19 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Peter Zijlstra, (Thu Aug 28, 5:00 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Nick Piggin, (Thu Aug 28, 6:45 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Steven Rostedt, (Thu Aug 28, 7:15 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Steven Rostedt, (Thu Aug 28, 8:12 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Steven Rostedt, (Thu Aug 28, 8:50 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Peter Zijlstra, (Thu Aug 28, 9:05 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Steven Rostedt, (Thu Aug 28, 9:15 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Max Krasnyansky, (Thu Aug 28, 9:19 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Peter Zijlstra, (Thu Aug 28, 9:29 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Max Krasnyansky, (Thu Aug 28, 9:33 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Linus Torvalds, (Thu Aug 28, 10:26 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Steven Rostedt, (Thu Aug 28, 11:04 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Darren Hart, (Thu Aug 28, 11:10 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Mark Hounschell, (Thu Aug 28, 11:16 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Linus Torvalds, (Thu Aug 28, 11:42 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Steven Rostedt, (Thu Aug 28, 11:53 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Stefani Seibold, (Thu Aug 28, 12:39 pm)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Mike Galbraith, (Fri Aug 29, 12:56 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Peter Zijlstra, (Fri Aug 29, 1:06 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Mike Galbraith, (Fri Aug 29, 1:47 am)
Re: [PATCH 6/6] sched: disabled rt-bandwidth by default, Nick Piggin, (Fri Aug 29, 11:33 pm)