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

From: Lennart Poettering <mzynq@email-addr-hidden>
Date: Mon Jun 22 2009 - 22:41:59 EEST

On Mon, 22.06.09 21:28, Emanuel Rumpf (xbran@email-addr-hidden) wrote:

>
> 2009/6/19 Lennart Poettering <mzynq@email-addr-hidden>:
>
> > Also, asking the user to edit /etc/security/limits.conf
> > is certainly not user-friendly. We want to enable RT scheduling for
> > media aplications out-of-the-box.
> >
> Why not just create a small script to handle editing + reloading of
> limits.conf :
>
> $ allow_realtime_for_group audio yes
> Allowed RT scheduling for group audio
>
> $ allow_realtime_for_group audio no
> Disallowed RT scheduling for group audio
>
> Things seem to work well with limits.conf set up.
> No reason to change it AFAIS.

Dude. Seriously.

As pointed out gazillions of times handing our RLIMIT_RTPRIO to
everyone is an invitation to freeze the machine. While that might not
be a problem on an audio workstation, it is a problem for the big
distributions.

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@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Tue Jun 23 00:15:03 2009

This archive was generated by hypermail 2.1.8 : Tue Jun 23 2009 - 00:15:03 EEST