Re: SCHED_FIFO and SCHED_RR broken by cfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Monday, August 18, 2008 - 5:14 am

On Monday 18 August 2008 21:51, Peter Zijlstra wrote:

Note that this certainly does not have to be the case. It is perfectly
valid to dynamically scale the work performed according to the amount
of CPU time available but still be sensitive to latency.

video decoding would be a really simple example. But you can't just
"know" how all RT apps are coded and think this is no problem.



Aside from the latency issue which makes this statement incorrect...
If the code does not run correctly on a 5% slower CPU, it will break.
How is that OK?

You might expect many systems would include at least a 5% margin of
error, but if the kernel takes 5%, then that's 5% of the safety
margin gone, so while the app might "work", it might no longer
meet requirements.



Correctness from the kernel's POV is implementing APIs as advertised,
and just as importantly, not changing them. We can argue about how RT
apps work, but there is no argument that the kernel has broken
backwards compatibility and standards.
--
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)