[LAD] RT

Lars Luthman lars.luthman at gmail.com
Fri Apr 25 16:48:00 UTC 2008


On Fri, 2008-04-25 at 12:35 -0400, Joshua D. Boyd wrote:
> Is it possible to configure a system (included changes to programs) so
> that nothing can interfere with a few RT threads?
> 
> I have an audio and video thread in a program, and they are running as
> SCHED_FIFO, but so many things can interfere with those two threads,
> such as USB plugs/unplugs, cron log rotations, disk access (PIO flash
> disk), ssh logins, etc.  I really would like to shore up performance
> here.
> 
> I am not using Ingo's RT patches, but I still see people talking about
> turning off things like cron and server processes to prevent xruns when
> using Ingo's RT patches.  While I have turned off cron, turning off sshd
> and the web server aren't options.  I want to instead somehow make sure
> that neither can every interfere with the AV threads, even if  it means
> that SSH and web traffic are extremely slow.

Hardware events (including network traffic) causes interrupts, which are
handled by the kernel. I don't know of a way to give the interrupt
handlers lower priority without making them threaded (which as far as I
know still requires the RT patch).


--ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20080425/10073fc0/attachment.pgp>


More information about the Linux-audio-dev mailing list