Re: Where is RLIMIT_RT_CPU?

Jean-Marc Valin
2006-07-14T09:39:44Z

> It was not merged.
>
> This problem should be addressed by a userspace RT watchdog. Ubuntu
> should not have shipped their system with unlimited non-root realtime
> enabled and no watchdog.

Does such a daemon currently exist? Even then, is there any way to
police all unprivileged RT apps without introducing an O(N) operation
running continuously at max rt priority? Sort of defeats the purpose of
having an O(1) scheduler, no? I assume the RT check can be some in O(1)
time in the kernel, right?

About Ubuntu, I agree it wasn't a smart thing to do (I'm not an Ubuntu
devel, so I don't know what the reason was), but it would be nice if
this could be fixed without having to entirely remove the unprivileged
real-time feature. In the end, I'm not sure what the best solution is
(just an RT audio developer).

Jean-Marc