Re: [LAD] Realtime threads and security

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Poelzleithner <poelzi@...>
Cc: <linux-audio-dev@...>
Date: Wednesday, February 23, 2011 - 10:10 am

Hello Daniel,

thanks for sharing your experience.

On 02/18/2011 02:43 PM, Daniel Poelzleithner wrote:

I assume it's here:
https://github.com/poelzi/ulatencyd/

> Now, what you can do if you have no trust in processes at all is, to

The dynamic cgroups solution seems good.

On Android there basically is one priviledged and trusted audio process,
audioflinger, the sound server, which performs mixing and access the hardware.
All audio clients are untrusted. I think there is a need to both assign a
careful cpu.rt_runtime_us to each client but also to limit the number of clients
which can run at the same time. This would allow to keep the CPU time assigned
to all clients within a certain quota, but also to prevent clients from fighting
with each other for realtime bandwidth.

Can you limit the maximum number of realtime processes with ulatencyd?

--
Olivier
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

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

Messages in current thread:
[LAD] Realtime threads and security, Olivier Guilyardi, (Thu Feb 17, 8:40 pm)
Re: [LAD] Realtime threads and security, Daniel Poelzleithner, (Fri Feb 18, 1:43 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Wed Feb 23, 10:10 am)
Re: [LAD] Realtime threads and security, Daniel Poelzleithner, (Wed Feb 23, 5:24 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Fri Feb 25, 3:23 pm)
Re: [LAD] Realtime threads and security, Paul Davis, (Fri Feb 25, 3:29 pm)
Re: [LAD] Realtime threads and security, torbenh, (Fri Feb 25, 3:56 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Fri Feb 25, 3:54 pm)
Re: [LAD] Realtime threads and security, Paul Davis, (Fri Feb 25, 4:32 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Fri Feb 25, 4:40 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Fri Feb 25, 4:31 pm)
Re: [LAD] Realtime threads and security, Paul Davis, (Fri Feb 25, 4:33 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Fri Feb 25, 4:49 pm)
Re: [LAD] Realtime threads and security, Paul Davis, (Fri Feb 25, 4:54 pm)
Re: [LAD] Realtime threads and security, Paul Davis, (Thu Feb 17, 8:48 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Thu Feb 17, 9:27 pm)
Re: [LAD] Realtime threads and security, Robin Gareus, (Thu Feb 17, 9:54 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Wed Feb 23, 10:22 am)
Re: [LAD] Realtime threads and security, Robin Gareus, (Wed Feb 23, 7:28 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Thu Feb 24, 2:59 pm)
Re: [LAD] Realtime threads and security, Robin Gareus, (Thu Feb 24, 6:01 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Thu Feb 24, 7:09 pm)
Re: [LAD] Realtime threads and security, Fons Adriaensen, (Thu Feb 17, 10:04 pm)
Re: [LAD] Realtime threads and security, Olivier Guilyardi, (Fri Feb 18, 12:17 pm)
Re: [LAD] Realtime threads and security, torbenh, (Fri Feb 18, 11:19 am)
Re: [LAD] Realtime threads and security, Paul Davis, (Thu Feb 17, 9:55 pm)