On 10/30/07, <b class="gmail_sendername">Lars Luthman</b> &lt;<a href="mailto:lars.luthman@gmail.com">lars.luthman@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2007-10-29 at 23:54 +0200, Chuckk Hubbard wrote:<br>&gt; On 10/29/07, Florian Schmidt &lt;<a href="mailto:mista.tapas@gmx.net">mista.tapas@gmx.net</a>&gt; wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On Monday 29 October 2007, Chuckk Hubbard wrote:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; On 10/25/07, Florian Schmidt &lt;<a href="mailto:mista.tapas@gmx.net">mista.tapas@gmx.net</a>&gt; wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &gt; Well, if chrt works now without sudo, try running<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &gt; jackd -R -P 70 -d alsa ...<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &gt; again. It should work now, too..<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Update: I just discovered that running jackd -R -P 70 -dalsa
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -P -p256 -n2<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; -r44100 as ROOT doesn&#39;t even set priority 70.&nbsp;&nbsp;jackd then<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; runs as a root<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; process with priority 20, according to both chrt and top.
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Apparently my system is not able to run anything higher than<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 20 priority;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; does this mean my kernel is misconfigured, or might it be<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; something else?
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; -Chuckk<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; install htop<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; run it<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; press f2 [setup]<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; Display Options<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; uncheck &quot;Hide userland threads&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; uncheck &quot;Hide kernel threads&quot;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Do you see all 4 jack threads now?<br>&gt;<br>&gt; Woop, there it is.&nbsp;&nbsp;Thanks.&nbsp;&nbsp;I see 5 actually, one -71, one -81<br>&gt; (watchdog?), and the rest 20.&nbsp;&nbsp;Running Csound with its --sched=N flag,
<br>&gt; I also see two csound processes, one of which is -70 and the other 20,<br>&gt; no matter what value I put... time to take that up with the Csound<br>&gt; list I guess.<br><br>With JACK output?<br><br>From the Csound manual:
<br><br>&quot;DO NOT use &quot;--sched&quot; if you are using JACK for audio output. JACK<br>controls scheduling for the audio applications connected to it, and also<br>tries to run at the highest possible priority. If the &quot;--sched&quot; flag is
<br>used, Csound and JACK will be competing rather than cooperating,<br>resulting in extremely poor performance.&quot;</blockquote><div><br>I combed that section carefully, but I missed that part.&nbsp; I&#39;ll request that someone put it in the description of either -+rtaudio=jack or --sched...&nbsp; Thanks so much!
<br><br>-Chuckk<br><br></div></div><br>-- <br><a href="http://www.badmuthahubbard.com">http://www.badmuthahubbard.com</a>