<div dir="ltr"><div class="im" style="font-family:arial,sans-serif;font-size:13px">I say hallo for Harry ! ;)</div><div class="im" style="font-family:arial,sans-serif;font-size:13px"><br></div><div class="im" style="font-family:arial,sans-serif;font-size:13px">
F:  I have some troubles - read xruns - with this setup:<br></div><span style="font-family:arial,sans-serif;font-size:13px">H:  There's a lot more to removing Xruns from a system than just the kernel and JACK settings (although they are very important :)</span><div>
F: actually I know  realTimeConfigQuickScan, so my output looks:</div><div><br></div><div><div><i>[paum@bookes ~]$ realTimeConfigQuickScan </i></div><div><i>== GUI-enabled checks ==</i></div><div><i>Checking if you are root... no - good</i></div>
<div><i>Checking filesystem 'noatime' parameter... 3.6.11 kernel - good</i></div><div><i>(relatime is default since 2.6.30)</i></div><div><i>Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU 2: 'performance' CPU 3: 'performance'  - good</i></div>
<div><i>Checking swappiness... 10 - good</i></div><div><i>Checking for resource-intensive background processes... none found - good</i></div><div><i>Checking checking sysctl inotify max_user_watches... >= 524288 - good</i></div>
<div><i>Checking access to the high precision event timer... readable - good</i></div><div><i>Checking access to the real-time clock... readable - good</i></div><div><i>Checking whether you're in the 'audio' group... yes - good</i></div>
<div><i>Checking for multiple 'audio' groups... no - good</i></div><div><i>Checking the ability to prioritize processes with chrt... yes - good</i></div><div><i>Checking kernel support for high resolution timers... found - good</i></div>
<div><i>Kernel with Real-Time Preemption... not found - not good</i></div><div><i>Kernel without real-time capabilities found</i></div><div><i>For more information, see <a href="http://wiki.linuxmusicians.com/doku.php?id=system_configuration#installing_a_real-time_kernel">http://wiki.linuxmusicians.com/doku.php?id=system_configuration#installing_a_real-time_kernel</a></i></div>
<div><i>Checking if kernel system timer is set to 1000 hz... found - good</i></div><div><i>Checking kernel support for tickless timer... found - good</i></div><div><i>== Other checks ==</i></div><div><i>Checking filesystem types... ok.</i></div>
<div><i>ok.</i></div><div><i>** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.</i></div><div><i>   Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.</i></div><div>
<i>[paum@bookes ~]$ </i></div></div><div><br></div><div><br></div><div>and I dont understand two things:</div><div><br></div><div><div><i>Kernel with Real-Time Preemption... not found - not good</i></div><div><i>Kernel without real-time capabilities found</i></div>
</div><div><b>BUT</b></div><div><div><i>[paum@bookes ~]$ uname -a</i></div><div><i>Linux bookes 3.6.11-rt33-1-rt #1 SMP PREEMPT RT Sun Apr 28 12:18:40 CEST 2013 x86_64 GNU/Linux</i></div><div><i>[paum@bookes ~]$ </i></div>
<div><br></div>and the second, how to:</div><div> ** Set $SOUND_CARD_IRQ to the IRQ of your soundcard to enable more checks.<div>   Find your sound card's IRQ by looking at '/proc/interrupts' and lspci.</div><div>
??</div><div><br></div><span style="font-family:arial,sans-serif;font-size:13px">H: Known things that need to be done:</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">       -Interrupt requests of your hardware must be prioritized (rtirq script helps here)</span></div>
<div><div>F: my system says:  </div><div>      rtirq.service               loaded active exited    Realtime IRQ thread system tuning</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">H:      -Interrupt thread handlers (on RT kernel) must be prioritized</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px">F:       how to ?</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><span style="font-family:arial,sans-serif;font-size:13px">H:      -Thread priorities must be checked for JACK itself</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">F:      How to ?</span></div>
<div><br></div><div><br></div><div><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">H:  Some other things to look into are:</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">       -CPU scaling (causes Xruns here, although others say it works fine)    </span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">       </span><span style="font-family:arial,sans-serif;font-size:13px">-WiFi (must be disabled here: "iwconfig wlan0 txpower off", not just disconnected)</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px">       -Graphics chip drivers (I'm using a standard xf86-video driver for my ATI HD2400XT)</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div>F:  CPU scaling seems good:</div><div>     <i>Checking CPU Governors... CPU 0: 'performance' CPU 1: 'performance' CPU 2: 'performance' CPU 3: 'performance'  - good</i></div>
<div><br></div><div>     WiFi - thats pity, because I often use my phone as controller (TouchOSC)</div><div>     Graphics - Nvidia - I am using noveau driver<br><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">H:  That's a good start anyway: If I find some time, I'll write a quick post on tuning an Arch system for maximum low-lat RT performance.</span></div>
<div>F:  appreciated ;)<br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">F: My aim is to get as low latency as possible.</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">H :Please specify... How low is low :D I've achieved 0.3ms at 96kHz, running a CPU stress test on each core without Xruns, so I'm pretty happy with that... since the hardware (Echo Indigo DJ PCMCIA) can't handle any lower!</span></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">F: oh, great !. it could be an ideal for me. I use various acoustic instruments for live playing, so yes I am talking about less than 4ms<br>
</font><div class="im" style="font-family:arial,sans-serif;font-size:13px"><br> <br>F: but none of them was without xruns when running:<br>        pd - plugins - ardour<br><br></div><span style="font-family:arial,sans-serif;font-size:13px">H:  PD is a bit of a xrun hog on my machine here: not bashing PD, I probably don't have it set up with ideally. But perhaps try running eg Ardour on its own for testing purposes? Or another simple app which isn't as dependent on the "patch" that's loaded..?</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">HTH, -Harry</span><br clear="all"><div>fero</div>
</div></div>