<br><br><div><span class="gmail_quote">On 10/4/07, <b class="gmail_sendername">Florian Schmidt</b> &lt;<a href="mailto:mista.tapas@gmx.net">mista.tapas@gmx.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Well, with a vanilla kernel you simply don&#39;t get the fine grained control over<br>what code gets the cpu at what times as with a realtime-preemption kernel..<br><br>It is true that for many people a vanilla kernel with CONFIG_PREEMPT and
<br>CONFIG_HZ=1000 delivers great performance, probably even better than<br>a &quot;lowlatency&quot; 2.4.x kernel. But basically one badly behaving kernel driver<br>might cause delay, so for differing people the results differ. With a -rt
<br>kernel you would just give this device a nice and low prio, so it doesn&#39;t<br>even get a chance to disturb the soundcard/jack..</blockquote><div><br>I&#39;m a big fan of my rt-patched kernel; I&#39;m also a big fan of taking out most of the distro&#39;s default stuff from the kernel.&nbsp; One of these days I will compile an rt kernel with no network support even - my soundcard shares an IRQ with eth1, I don&#39;t know if this will help or not.
<br>But isn&#39;t it a nice and high prio?&nbsp; As in, the chrt prio?&nbsp; I understood this as different from the nice prio, no?&nbsp; I may not be doing it correctly.&nbsp; I set my soundcard IRQ to something like 70, jackd to something like 65, and Pd to something like 60.&nbsp; The Pd GUI I set a little lower yet.&nbsp; Do I also have to renice these apps?
<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This goes as far that if one sees an xrun while running a properly<br>setup -rt-kernel one knows it&#39;s an application bug or a soundcard driver
<br>bug ;) The kernel itself or any userland processes (X, cronjobs, whatever) as<br>a source of timing problems are pretty much eliminated.</blockquote><div><br>I get visible xruns but not audible so far.&nbsp; I am guessing I have the wrong buffer sizes between Pd, Csound, and jackd...
<br><br>-Chuckk<br clear="all"></div></div><br>-- <br><a href="http://www.badmuthahubbard.com">http://www.badmuthahubbard.com</a>