Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by default; Desktop/audio RT developers, read this!

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

On Sat, 20.06.09 03:42, Lee Revell (rlrevell@joe-job.com) wrote:

> > Uh. I thought about that. Not sure if we really should do that

PA runs as user process. That's why this is needed. If a process is a
user process the user can do with it whatever he wants, in the PA case
this is even especially easy since all he needs to do is load some
module he wrote into the daemon.

> What does RealtimeKit set the RR interval to? IIRC the default is

We leave the RR interval at the default. I have some doubts that
fiddling with the RR interval is a good idea. First of all the API to
do that is messy and changed across kernel versions a few
times. Secondly, rtkit is not really useful beyond desktop media
stuff, and a desktop media application that wants to take a
substantial CPU share while being RT (where the interval would matter)
is uh, suspicious to say the least.

The CPU time is limited by RLIMIT_RTTIME and also simply by the fact
that on system overload (the definition of which can be configured in
rtkit) the RT threads are demoted.

I mean, if fiddling with the rr interval turns out to be necessary, we
can still add an interfaces this. Dunno. I kinda have the idea that
this is mostly a theoretical question anyway, since at least in the
audio case in the usual case only one process is runnable anyway, ...

If someone wants this, and has a good use case we can certainly add
this, but I'd not think too much about stuff we don't need right now.

> Without mlock(), what happens when the SCHED_RR thread starts taking

To my knowledge while the process is waiting for IO to complete for
the page fault other processes will be scheduled. The time
spent in page faults is not counted as process time.

Lennart

--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

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

Messages in current thread:
[LAD] [ANNOUNCE] Safe real-time on the desktop by default; D..., Lennart Poettering, (Fri Jun 19, 6:13 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 7:42 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 3:56 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 1:32 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 12:58 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 3:50 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Sun Jun 21, 11:40 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 12:10 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 12:47 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Jörn Nettingsmeier, (Mon Jun 22, 9:36 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 9:43 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 6:18 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Sun Jun 21, 11:06 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 12:01 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 3:58 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 1:14 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Wed Jun 24, 3:25 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Wed Jun 24, 5:46 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 12:06 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 3:27 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Sun Jun 21, 11:49 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Krzysztof Foltman, (Tue Jun 23, 11:19 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Dennis Schulmeister, (Tue Jun 23, 7:31 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Tue Jun 23, 4:09 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Sun Jun 21, 10:15 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 1:38 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 6:15 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 6:24 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 7:51 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 8:04 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 9:18 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 11:33 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 11:53 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Tue Jun 23, 12:33 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Krzysztof Foltman, (Mon Jun 22, 4:14 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Krzysztof Foltman, (Mon Jun 22, 4:58 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 6:05 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 3:21 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 3:34 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 4:26 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Sun Jun 21, 11:41 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 12:21 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Jörn Nettingsmeier, (Mon Jun 22, 9:19 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 9:37 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 10:50 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Mon Jun 22, 10:07 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Dennis Schulmeister, (Mon Jun 22, 11:38 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Tue Jun 23, 12:00 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Dennis Schulmeister, (Tue Jun 23, 12:09 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Dennis Schulmeister, (Tue Jun 23, 1:49 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Tue Jun 23, 1:08 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 10:05 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Jörn Nettingsmeier, (Mon Jun 22, 9:47 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 10:02 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Jörn Nettingsmeier, (Tue Jun 23, 8:44 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Tue Jun 23, 4:54 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Tue Jun 23, 6:49 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Tue Jun 23, 8:14 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Fri Jun 26, 5:53 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Tue Jun 23, 10:19 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Wed Jun 24, 3:21 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Wed Jun 24, 3:23 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Wed Jun 24, 4:25 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Stephen Sinclair, (Wed Jun 24, 11:38 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Wed Jun 24, 12:24 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Fernando Lopez-Lezcano, (Fri Jun 26, 5:32 am)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Sun Jun 21, 11:53 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Mon Jun 22, 3:16 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Fri Jun 19, 8:04 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Sun Jun 21, 9:09 pm)
Re: [LAD] [ANNOUNCE] Safe real-time on the desktop by defaul..., Lennart Poettering, (Fri Jun 19, 6:46 pm)