<div dir="ltr">Thanks for your response Ralf, our Arch is pretty much dedicated to audio already, we maintained only the necessary to work as a LV2 host (this script wouldn't do much actually) and the IRQ's are not shared, we are using different USB hubs to prioritize audio, I think we did what we could without changing code lines already, this is why I was asking about the drivers haha. </div>

<div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/11 Ralf Mardorf <span dir="ltr"><<a href="mailto:ralf.mardorf@alice-dsl.net" target="_blank">ralf.mardorf@alice-dsl.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Wed, 2013-12-11 at 14:31 -0200, Lucas Takejame wrote:<br>
> We are already using a RT-kernel and I guess we already did everything<br>
> we could do on OS changes to achieve a better latency. My doubt is if<br>
> I can change anything on the snd-usb driver to make it specific to our<br>
> sound card, aiming an improve in latency, since our pedalboard<br>
> (<a href="http://portalmod.com/en/index.html" target="_blank">http://portalmod.com/en/index.html</a>) has this sound card fixed and we<br>
> won't need a generic driver to the usb connection. I'm gonna send an<br>
> e-mail to the alsa-devel ML, thanks for the advices!<br>
<br>
<br>
</div>Linux audio user might be a better place to ask first. Since you're<br>
using Arch, ArchAudio mailing list might be a good place too.<br>
<br>
Get rid of as much as you can and avoid shared IRQs. If I only need my<br>
RME card, sometimes I even disable the Envy24 MIDI interfaces.<br>
<br>
Often I don't use this script, because it doesn't really improve issues<br>
that much on my machine, but you never know and could try as much tuning<br>
as possible.<br>
<br>
Perhaps the links are still helpful, I don't know.<br>
<br>
[rocketmouse@archlinux ~]$ cat /usr/local/sbin/tuning<br>
#!/bin/bash<br>
<br>
# /usr/local/sbin/tuning - Arch Linux<br>
# 2013/Apr/05<br>
<br>
### <a href="http://www.mythtv.org/wiki/PCI_Latency" target="_blank">http://www.mythtv.org/wiki/PCI_Latency</a><br>
### <a href="http://wiki.linuxmusicians.com/doku.php?id=system_configuration#pci_bus_latency" target="_blank">http://wiki.linuxmusicians.com/doku.php?id=system_configuration#pci_bus_latency</a><br>
<br>
### Bluetooth<br>
#service bluetooth stop<br>
<br>
### Network<br>
#service network-manager stop<br>
#service networking stop # does cause serious issues<br>
#modprobe -r r8169 # Ethernet NIC driver<br>
<br>
### TerraTec EWX 24/96<br>
#modprobe -r snd_ice1712<br>
<br>
### Others<br>
modprobe -r firewire-ohci<br>
modprobe -r firewire_core<br>
#service cups stop<br>
modprobe -r ppdev # parallel port<br>
modprobe -r lp    # printer<br>
<br>
### Unbinding devices<br>
echo -n "0000:00:13.2" > /sys/bus/pci/drivers/ohci_hcd/unbind<br>
echo -n "0000:00:13.4" > /sys/bus/pci/drivers/ohci_hcd/unbind<br>
<br>
### Log file<br>
l="/var/log/tuning.log"<br>
#echo "$ lspci -v                       "  > $l<br>
#lspci -v                                 >> $l<br>
#echo                                     >> $l<br>
echo "# service rtirq status           "  > $l<br>
service rtirq status                     >> $l<br>
echo "# grep 18: /proc/interrupts"       >> $l<br>
grep 18: /proc/interrupts                >> $l<br>
echo                                     >> $l<br>
echo -n $(date)" - "$(uname -r)" - "     >> $l<br>
cat /etc/issue                           >> $l<br>
echo -e "\n########################################################################\n" ; cat $l<br>
<br>
exit 0<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Lucas Conejero Takejame<div>Engenharia Elétrica - ênfase em computação</div><div>Escola Politécnica - USP</div>
</div>