Re: [LAU] audio configuration for ulatencyd

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: torbenh <torbenh@...>
Cc: <linux-audio-user@...>
Date: Tuesday, February 15, 2011 - 3:17 pm

On 02/15/2011 11:31 AM, torbenh wrote:

> hmm... how do you detect a spawning RT thread ?

I changed a lot of rt detection yesterday. Now a process that ever got
rt in one thread is moved to a rt group with lots of rt power, and will
never leave it again. This should prevent that a process sets and
releases rt more often and would leave the group and could rt starve.

I know thats a problem, one thing is that i refresh in a interval all
processes and threads.
The next thing is to add a whitelist for rt programs. So, the worst
thing that could happen is that a process spawning a rt thread will live
one interval with very little rt time.

> you are still ignoring jack.

Yes. I saw this problem, too. I now observe all kernel processes, not
just the process leader. Many programs seem to set the rt prio only on
threads and this caused problems.

The rules are traveled top to bottom, the first rule that matches will
be used. If it contains children, those are tested. So, the new rt group
is very top, so it will never get moved into another group as long as
the check function matches.

> i basically share your feelings that libcgroup seems to be too bloaty.

I usually tend to just fix problems and attach a bugfix to the ticket,
but when obvious bugs don't get fixed, my passions for a project falls
quite deep :-)

kind regards
Daniel
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

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

Messages in current thread:
[LAU] audio configuration for ulatencyd, Daniel Poelzleithner, (Mon Feb 14, 11:29 am)
Re: [LAU] audio configuration for ulatencyd, Robin Gareus, (Mon Feb 14, 2:15 pm)
Re: [LAU] audio configuration for ulatencyd, Daniel Poelzleithner, (Mon Feb 14, 3:33 pm)
Re: [LAU] audio configuration for ulatencyd, Robin Gareus, (Mon Feb 14, 4:47 pm)
Re: [LAU] audio configuration for ulatencyd, torbenh, (Mon Feb 14, 6:41 pm)
Re: [LAU] audio configuration for ulatencyd, Daniel Poelzleithner, (Mon Feb 14, 7:10 pm)
Re: [LAU] audio configuration for ulatencyd, torbenh, (Tue Feb 15, 10:32 am)
Re: [LAU] audio configuration for ulatencyd, Daniel Poelzleithner, (Tue Feb 15, 3:17 pm)
Re: [LAU] audio configuration for ulatencyd, torbenh, (Tue Feb 15, 4:16 pm)
Re: [LAU] audio configuration for ulatencyd, Daniel Poelzleithner, (Tue Feb 15, 6:55 pm)
Re: [LAU] audio configuration for ulatencyd, Daniel Poelzleithner, (Wed Feb 16, 10:19 am)
Re: [LAU] audio configuration for ulatencyd, Jeremy Jongepier, (Mon Feb 14, 2:32 pm)
Re: [LAU] audio configuration for ulatencyd, Robin Gareus, (Mon Feb 14, 3:23 pm)
Re: [LAU] audio configuration for ulatencyd, Pedro Lopez-Cabanillas, (Tue Feb 15, 5:49 am)
[LAU] qsynth/fluidsynth, R. Mattes, (Mon Feb 14, 5:13 pm)
Re: [LAU] qsynth/fluidsynth, Jeremy Jongepier, (Mon Feb 14, 7:15 pm)
Re: [LAU] qsynth/fluidsynth, R. Mattes, (Mon Feb 14, 7:29 pm)
Re: [LAU] qsynth/fluidsynth, Robin Gareus, (Mon Feb 14, 10:42 pm)
Re: [LAU] qsynth/fluidsynth, R. Mattes, (Tue Feb 15, 6:42 pm)
Re: [LAU] qsynth/fluidsynth, Pedro Lopez-Cabanillas, (Tue Feb 15, 5:57 am)
Re: [LAU] audio configuration for ulatencyd, Rui Nuno Capela, (Mon Feb 14, 3:42 pm)
Re: [LAU] audio configuration for ulatencyd, Nick Copeland, (Mon Feb 14, 4:11 pm)