Hi Florian.<br>
I understood nice to be an adjective, but I was questioning the word
&quot;low&quot;; I see now you were referring to non-audio, so I understand.<br><br>
I have two jackd scripts I use, one for Playback-only, and one for
duplex using my Zoom H4 mic.&nbsp; I have attached the scripts and their
outputs from your script.&nbsp; See anything I could improve?<br>
<br>
Thanks.<br>
-Chuckk<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;">
On Thursday 04 October 2007, Chuckk Hubbard wrote:<br><br>&gt; &gt; Well, with a vanilla kernel you simply don&#39;t get the fine grained control<br>&gt; &gt; over<br>&gt; &gt; what code gets the cpu at what times as with a realtime-preemption
<br>&gt; &gt; kernel..<br>&gt; &gt;<br>&gt; &gt; It is true that for many people a vanilla kernel with CONFIG_PREEMPT and<br>&gt; &gt; CONFIG_HZ=1000 delivers great performance, probably even better than<br>&gt; &gt; a &quot;lowlatency&quot; 
2.4.x kernel. But basically one badly behaving kernel<br>&gt; &gt; driver<br>&gt; &gt; might cause delay, so for differing people the results differ. With a -rt<br>&gt; &gt; kernel you would just give this device a nice and low prio, so it doesn&#39;t
<br>&gt; &gt; even get a chance to disturb the soundcard/jack..<br>&gt;<br>&gt; I&#39;m a big fan of my rt-patched kernel; I&#39;m also a big fan of taking out<br>&gt; most of the distro&#39;s default stuff from the kernel.&nbsp;&nbsp;One of these days I
<br>&gt; will compile an rt kernel with no network support even - my soundcard<br>&gt; shares an IRQ with eth1, I don&#39;t know if this will help or not.<br>&gt; But isn&#39;t it a nice and high prio?&nbsp;&nbsp;As in, the chrt prio?&nbsp;&nbsp;I understood
<br>&gt; this as different from the nice prio, no?&nbsp;&nbsp;I may not be doing it correctly.<br>&gt;&nbsp;&nbsp;I set my soundcard IRQ to something like 70, jackd to something like 65,<br>&gt; and Pd to something like 60.&nbsp;&nbsp;The Pd GUI I set a little lower yet.&nbsp;&nbsp;Do I
<br>&gt; also have to renice these apps?<br><br>Well forget the word &quot;nice&quot; in that sentence. It has nothing to do with nice<br>levels :) Nice levels are only relevant for SCHED_OTHER processes. Anyways,<br>if your 
e.g. hd controller device disturbs your audio device make sure you<br>give the audio device a high prio and the controller device a low prio. That<br>was what i meant..<br><br>And yes, i consider it a bug that top and other software report the SCHED_FIFO
<br>prio as negative values. Where does that come from? Does the prio already get<br>listed as negative in /proc? Or do they simply do it to separate the<br>SCHED_FIFO threads from SCHED_OTHER threads? Anyways POSIX speaks of positive
<br>SCHED_FIFO prios in the range 1..99 afaik..<br><br>&gt; I get visible xruns but not audible so far.&nbsp;&nbsp;I am guessing I have the wrong<br>&gt; buffer sizes between Pd, Csound, and jackd...<br><br>No, i don&#39;t think so. If you use Pd and CSound as jack apps, then jack tells
<br>them what buffer size to use. If one of these used the wrong size you would<br>definitely hear it..<br><br>Start jack and run this script and tell us the output please:<br><br><a href="http://tapas.affenbande.org/rt-setup-report.sh">
http://tapas.affenbande.org/rt-setup-report.sh</a><br><br>Thanks,<br>Flo<br><br>--<br>Palimm Palimm!<br><a href="http://tapas.affenbande.org">http://tapas.affenbande.org</a><br></blockquote></div><br><br clear="all"><br>-- 
<br><a href="http://www.badmuthahubbard.com">http://www.badmuthahubbard.com</a>