[LAU] Something interesting about kernel 3.6.5-rt14

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sat Nov 3 23:45:03 UTC 2012


On Sat, 3 Nov 2012 23:44:57 +0100
ttoine <ttoine at ttoine.net> wrote:

> Like Len, I would try changing the slot on the mother board. I had a
> Multiface II for many years, and didn't have any problem with it,
> using it on laptop or workstation.

I only have one PCIe X16, one PCIe x1 and two PCI slots, so there's no
other slot for the HDSP PCIe card.

Running the script below, doesn't improve a thing for a minimal MIDI
session with a few virtual synth and FX, ~8% load. Then I stopped
networkmanager and removed r8169 too.
Until now I get
qtractorMidiEngine::drift(): iAudioTime=4009 iMidiTime=4010 (-1)
iTimeDrift=-1 (-0.026%) qtractorMidiEngine::drift(): iAudioTime=15657
iMidiTime=15655 (2) iTimeDrift=1 (0.0061%) qtractorMidiEngine::drift():
iAudioTime=21481 iMidiTime=21480 (1) iTimeDrift=2 (0.0092%)
qtractorMidiEngine::drift(): iAudioTime=27306 iMidiTime=27304 (2)
iTimeDrift=4 (0.014%) qtractorMidiEngine::drift(): iAudioTime=3862
iMidiTime=3860 (2) iTimeDrift=2 (0.05%) qtractorMidiEngine::drift():
iAudioTime=9686 iMidiTime=9703 (-17) iTimeDrift=-15 (-0.16%)
qtractorMidiEngine::drift(): iAudioTime=15510 iMidiTime=15518 (-8)
iTimeDrift=-23 (-0.15%) qtractorMidiEngine::drift(): iAudioTime=21334
iMidiTime=21349 (-15) iTimeDrift=-38 (-0.18%)
qtractorMidiEngine::drift(): iAudioTime=27158 iMidiTime=27163 (-5)
iTimeDrift=-43 (-0.16%) qtractorMidiEngine::drift(): iAudioTime=3721
iMidiTime=3724 (-3) iTimeDrift=-3 (-0.081%)
qtractorMidiEngine::drift(): iAudioTime=9546 iMidiTime=9543 (3)
iTimeDrift=0 (0%)
when playing.
There are still xruns for
sample_rate=48000
frames_period=256

Governor is set to performance. HR TIMER isn't enabled.

Regards,
Ralf

#!/bin/bash

# sudo bash tuning - Ubuntu Studio Quantal
# 2012/Nov/03

### http://www.mythtv.org/wiki/PCI_Latency
###
http://wiki.linuxmusicians.com/doku.php?id=system_configuration#pci_bus_latency

### Bluetooth
service bluetooth stop

### Network
#service network-manager stop
#service networking stop # does cause serious issues
#modprobe -r r8169 # Ethernet NIC driver

### TerraTec EWX 24/96
modprobe -r snd_ice1712

### Others
modprobe -r firewire-ohci
modprobe -r firewire_core
service cups stop
modprobe -r ppdev # parallel port
modprobe -r lp    # printer

### Unbinding devices
#echo -n "0000:00/0000:00:13.2" > /sys/bus/pci/drivers/ohci_hcd/unbind
#echo -n "0000:00/0000:00:13.4" > /sys/bus/pci/drivers/ohci_hcd/unbind

### Log file
l="log/tuning.log"
#echo "$ lspci -v                       "  > $l
#lspci -v                                 >> $l
#echo                                     >> $l
echo "$ /etc/init.d/rtirq status       "  > $l
/etc/init.d/rtirq status                 >> $l
echo "$ grep 18: /proc/interrupts"       >> $l
grep 18: /proc/interrupts                >> $l
echo                                     >> $l
echo -n $(date)" - "$(uname -r)" - "     >> $l
cat /etc/issue                           >> $l
echo "##############################" ; cat $l

exit 0



More information about the Ubuntu-Studio-devel mailing list