<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Fernando Lopez-Lezcano a &eacute;crit&nbsp;:
<blockquote cite="mid:1201209922.17881.47.camel@cmn3.stanford.edu"
 type="cite">
  <pre wrap="">On Thu, 2008-01-24 at 08:51 +0100, Florent Berthaut wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Fernando Lopez-Lezcano a &eacute;crit : 
    </pre>
    <blockquote type="cite">
      <pre wrap="">On Wed, 2008-01-23 at 16:44 +0100, Florent Berthaut wrote:
      </pre>
      <blockquote type="cite">
        <pre wrap="">Florent Berthaut a &eacute;crit : 
        </pre>
        <blockquote type="cite">
          <pre wrap="">Florent Berthaut a &eacute;crit : 
          </pre>
          <blockquote type="cite">
            <pre wrap="">Hartmut Noack a &eacute;crit : 
            </pre>
            <blockquote type="cite">
              <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Florent Berthaut schrieb:
              </pre>
              <blockquote type="cite">
                <pre wrap="">Fernando Lopez-Lezcano a &eacute;crit :
                </pre>
                <blockquote type="cite">
                  <pre wrap="">A more basic question... what parameters are you using when you start
jackd?
      
              
                  </pre>
                </blockquote>
                <pre wrap="">.jackdrc:

/usr/bin/jackd -R -P70 -t1000 -u -dalsa -r44100 -p64 -n2 -D -Chw:0,1 
-Phw:0,0 -S -i2 -o2
            
                </pre>
              </blockquote>
              <pre wrap="">USB-Devices often perform much better with -n3. Furthermore I would try
to eliminate any flag, that is not absolutely needed such as:

/usr/bin/jackd -R -dhw:1 -dalsa -r44100 -p64 -n3

BTW: this would compute to around 4 ms latency - is that good enough for
you?
          
              </pre>
            </blockquote>
            <pre wrap="">Okay, i had forgot to turn off the system "bips" and esd (it
reduced the number of xruns)
And yep with -n3 i 've got even less xruns and it seems they're
not audible. 
I don't know if the latency is low enough though, i'll test this
evening with my drum pads.

Thanks everyone , it's really great to get so much help so
quickly. 

        
            </pre>
          </blockquote>
          <pre wrap="">Argh, actually i still have audible xruns. And i don't think i'd be
able to play correctly with a higher latency anyway...
Think i'll have to get back to ubuntu studio ... :( 
      
          </pre>
        </blockquote>
        <pre wrap="">Actually after a reboot and some more tweakings, things have been
running without a xrun for an hour now, even with periods/buffer=2.

So finally, i'll stay with planet ccrma ;) 
    
        </pre>
      </blockquote>
      <pre wrap="">You might want to try the 2.6.22.x based kernel for f8 as stated
somewhere else in the thread. In my experience it has better performance
latency-wise. 

What other tweakings did you do?
      </pre>
    </blockquote>
    <pre wrap="">Ok finally, i tried to disable the second core ( i have a dual core
2GHz) and things get really better this way, i can lauch more
applications with 4,8ms latency and no xruns. I had already disabled
cpuspeed but it looks like it was not enough. 
    </pre>
  </blockquote>
  <pre wrap=""><!---->
That points to a realtime kernel problem with (probably) timekeeping in
two core processors (ie: "time of day" is not perfectly synchronized
between the processors so that if jack migrates from one to another it
appears as there has been too much delay and things don't work as
intended). I have seen this happen in 2.6.23.x + rt14. 

What happens if you boot dual core with the "idle=poll" kernel
parameter? (I assume this happens with 2.6.22.x). 

-- Fernando
  </pre>
</blockquote>
<br>
Looks like it solves the problem, even the 2.6.23.x (latest ccrma
kernel) works well with this parameter.<br>
Thanks.<br>
<br>
Florent<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>