[LAU] Something interesting about kernel 3.6.5-rt14

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sat Nov 3 21:05:39 UTC 2012


On Sat, 3 Nov 2012 08:43:11 -0700
"Len Ovens" <len at ovenwerks.net> wrote:

> Playing with PCI_latency made things worse for me, no gain and an
> unstable machine. This will have no effect whatever on PCIe cards.

Okay, so I only will unbind 2 USB ports. FWIW some things need to be
done in a different way, than it's described by "linuxmusicians" and
stopping networking does cause trouble. I couldn't find out how to
unbind the 2 USB ports.

spinymouse at qrc:/mnt/music/quantal/01song$ sudo bash tuning
[sudo] password for spinymouse: 
bluetooth stop/waiting
network-manager stop/waiting
cups stop/waiting
tuning: line 28: echo: write error: No such device
tuning: line 29: echo: write error: No such device
##############################
$ /etc/init.d/rtirq status       

  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
   62 FF      90   - 130  0.0 S    irq/8-rtc0	
  896 FF      85   - 125  0.0 S    irq/18-snd_hdsp	
   54 FF      80   - 120  0.0 S    irq/19-ehci_hcd	
   55 FF      80   - 120  0.0 S    irq/16-ohci_hcd	
   56 FF      79   - 119  0.3 S    irq/17-ohci_hcd	
   58 FF      78   - 118  0.0 S    irq/18-ohci_hcd	
   59 FF      78   - 118  0.0 S    irq/17-ohci_hcd	
   60 FF      77   - 117  0.0 S    irq/18-ohci_hcd	
   61 FF      75   - 115  0.0 S    irq/1-i8042	
   24 FF      50   -  90  0.0 S    irq/9-acpi	
   46 FF      50   -  90  0.1 S    irq/22-ahci	
  257 FF      50   -  90  0.0 S    irq/14-pata_ati	
  258 FF      50   -  90  0.0 S    irq/15-pata_ati	
  695 FF      50   -  90  0.0 S    irq/7-parport0	
  818 FF      50   -  90  0.0 S    irq/43-radeon	
    3 FF       1   -  41  0.1 S    ksoftirqd/0	
   15 FF       1   -  41  0.1 S    ksoftirqd/1	


$ cat /proc/interrupts | grep 18:
 18:          0          2   IO-APIC-fasteoi   ohci_hcd:usb4,
                             ohci_hcd:usb6, snd_hdspm
Sat Nov 3 21:32:46 CET 2012 - 3.6.5-rt14 - Ubuntu 12.10 \n \l

spinymouse at qrc:/mnt/music/quantal/01song$ cat -n tuning
     1	#!/bin/bash
     2	
     3	# sudo bash tuning - Ubuntu Studio Quantal
     4	# 2012/Nov/03
     5	
     6	### http://www.mythtv.org/wiki/PCI_Latency
     7	###
     http://wiki.linuxmusicians.com/doku.php?id=system_configuration#pci_bus_latency
     8
     9	### Bluetooth
    10	service bluetooth stop
    11	
    12	### Network
    13	service network-manager stop
    14	#service networking stop # does cause serious issues
    15	modprobe -r r8169 # Ethernet NIC driver
    16	
    17	### TerraTec EWX 24/96
    18	modprobe -r snd_ice1712
    19	
    20	### Others
    21	modprobe -r firewire-ohci
    22	modprobe -r firewire_core
    23	service cups stop
    24	modprobe -r ppdev # parallel port
    25	modprobe -r lp    # printer
    26	
    27	### Unbinding devices
    28	echo -n "0000:00/0000:00:13.2"
    > /sys/bus/pci/drivers/ohci_hcd/unbind
    29	echo -n "0000:00/0000:00:13.4" 
    > /sys/bus/pci/drivers/ohci_hcd/unbind
    30	
    31	### Log file
    32	l="log/tuning.log"
    33	#echo "$ lspci -v                       "  > $l
    34	#lspci -v                                 >> $l
    35	#echo                                     >> $l
    36	echo "$ /etc/init.d/rtirq status       "  > $l
    37	/etc/init.d/rtirq status                 >> $l
    38	echo                                     >> $l
    39	echo "$ cat /proc/interrupts | grep 18:" >> $l
    40	cat /proc/interrupts | grep 18:          >> $l
    41	echo -n $(date)" - "$(uname -r)" - "     >> $l
    42	cat /etc/issue                           >> $l
    43	echo "##############################" ; cat $l
    44	
    45	exit 0
    46

Regards,
Ralf

PS:
Btw.
sudo echo foo > /sys/...
doesn't work, it has to be
echo foo | sudo tee /sys/...
sudo bash -c "echo foo > /sys/..."
;)


More information about the Linux-audio-user mailing list