On 10/24/07, <b class="gmail_sendername">Fernando Lopez-Lezcano</b> &lt;<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</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 Wed, 2007-10-24 at 15:59 +0300, Chuckk Hubbard wrote:<br>&gt; Hi doc, thanks for the guess.&nbsp;&nbsp;sudo chrt does work, though.&nbsp;&nbsp;I&#39;m<br>&gt; supposed to not need it with the rt-patched kernel, which allows<br>&gt; non-root users to set high priorities.
<br><br>Not exactly right. The rt-patched kernel (Ingo&#39;s patches) only optimizes<br>the max latency paths in the kernel. Other software is what allows<br>non-root users to use SCHED_FIFO scheduling. There are several options,
<br>the current one is /etc/security/limits.conf through PAM, there are<br>others.</blockquote><div><br>I see; that makes more sense now.<br>Any idea why Linux wouldn&#39;t honor /etc/security/limits.conf?<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; /etc/security/limits.conf has:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; @audio&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; nice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -10<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; @audio&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; rtprio&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 99<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; @audio&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -&nbsp;&nbsp;&nbsp;&nbsp; memlock&nbsp;&nbsp;&nbsp;&nbsp; 4000000 (someone on the
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; jack list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; suggested that my previous value &quot;unlimited&quot; was not<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; recognized, so I<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; stuck this in but no change)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; and user &quot;chuckk&quot; is in group &quot;audio&quot;.
<br></blockquote></div><br>Still true.<br><br>-Chuckk<br><br>-- <br><a href="http://www.badmuthahubbard.com">http://www.badmuthahubbard.com</a>