Re: SCHED_FIFO and SCHED_RR broken by cfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Saturday, August 16, 2008 - 7:53 am

On Sat, 2008-08-16 at 11:55 +0200, Stefani Seibold wrote:

Has nothing to do with CFS, but everything to do with the fact that we
now have a 95% bandwidth control by default.

Does doing:

echo -1 > /proc/sys/kernel/sched_rt_runtime_us

fix it?

So, up to 95% cpu usage (per sched_rt_period_us) FIFO and RR behave like
they always did, once they cross that line, they'll be throttled.

95% seemed like a sane default in that it leaves a little room to
recover from a run-away rt process (esp handy now that !root users can
also use RT scheduling classes), and should be enough for most
applications as they usually don't consume all that much time.



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

Messages in current thread:
SCHED_FIFO and SCHED_RR broken by cfs, Stefani Seibold, (Sat Aug 16, 2:55 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Peter Zijlstra, (Sat Aug 16, 7:53 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Stefani Seibold, (Sat Aug 16, 9:26 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Stefani Seibold, (Sat Aug 16, 2:29 pm)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Nick Piggin, (Sun Aug 17, 6:04 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Dario Faggioli, (Sun Aug 17, 3:15 pm)
[PATCH] sched: rt-bandwidth disable fixes, Peter Zijlstra, (Mon Aug 18, 3:47 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Peter Zijlstra, (Mon Aug 18, 3:50 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Nick Piggin, (Mon Aug 18, 3:58 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Peter Zijlstra, (Mon Aug 18, 4:09 am)
Re: [PATCH] sched: rt-bandwidth disable fixes, Peter Zijlstra, (Mon Aug 18, 4:11 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Nick Piggin, (Mon Aug 18, 4:24 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Peter Zijlstra, (Mon Aug 18, 4:51 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Nick Piggin, (Mon Aug 18, 5:14 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Max Krasnyansky, (Mon Aug 18, 11:01 am)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Peter Zijlstra, (Mon Aug 18, 12:46 pm)
Re: SCHED_FIFO and SCHED_RR broken by cfs, Nick Piggin, (Tue Aug 19, 12:44 am)