Re: 2.6.14-rc3-rt9 - a few xruns misses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



NOTE: THere are many messages I haven't read through yet so I may send
more data later as per requests there.

On 10/6/05, Ingo Molnar <[email protected]> wrote:
>
> * Mark Knecht <[email protected]> wrote:
>
> > Hi,
> >    This is nothing particularily new. I'm just presenting it to
> > represent what I'm seeign and get some guidance about how to find out
> > what's going on.
>
> lets first check whether all the RT priorities are set up correctly for
> your audio setup. Could you send me your /proc/interrupts, your .config
> and the output of:
>
>   ps -eo pid,pri,rtprio,cmd
>
> there are lots of built-in methods in the -rt kernel to figure out the
> source of latencies. If the default methods do not show anything then
> worst-case we can activate the kernel's latency tracer to record the
> actual xrun critical path.
>
>         Ingo
>

Hi Ingo,
   OK, so starting the day I saw that you had posted -rt10 so that's
what I'm working with now:

lightning ~ # uname -a
Linux lightning 2.6.14-rc3-rt10 #1 SMP PREEMPT Thu Oct 6 08:14:03 PDT
2005 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
lightning ~ #


The sound card that is critical to this machine is the hdsp one at IRQ
58. The one at 225 is not used in realtime mode.

lightning ~ # cat /proc/interrupts
           CPU0
  0:      39462    IO-APIC-edge  timer
  1:        210    IO-APIC-edge  i8042
  7:          2    IO-APIC-edge  lpptest
  8:          0    IO-APIC-edge  rtc
  9:          0   IO-APIC-level  acpi
 12:       6286    IO-APIC-edge  i8042
 14:         48    IO-APIC-edge  ide0
 50:          2   IO-APIC-level  ehci_hcd:usb1
 58:       3922   IO-APIC-level  hdsp
 66:          2   IO-APIC-level  ohci1394
217:      13592   IO-APIC-level  ohci_hcd:usb2, eth0
225:          0   IO-APIC-level  libata, NVidia CK804
233:      11973   IO-APIC-level  libata
NMI:         72
LOC:      39417
ERR:          1
MIS:          0
lightning ~ #

lightning ~ # cat /proc/asound/cards
0 [CK804          ]: NFORCE - NVidia CK804
                     NVidia CK804 with ALC850 at 0xda103000, irq 225
1 [DSP            ]: H-DSP - Hammerfall DSP
                     RME Hammerfall HDSP 9652 at 0xda000000, irq 58
lightning ~ #

lightning ~ # ps -eo pid,pri,rtprio,cmd
  PID PRI RTPRIO CMD
    1  23      - init [3]
    2 139     99 [migration/0]
    3  41      1 [softirq-high/0]
    4  41      1 [softirq-timer/0]
    5  41      1 [softirq-net-tx/]
    6  41      1 [softirq-net-rx/]
    7  41      1 [softirq-scsi/0]
    8  41      1 [softirq-tasklet]
    9  34      - [desched/0]
   10  41      1 [events/0]
   11  28      - [khelper]
   12  28      - [kthread]
   14  19      - [kacpid]
   15  89     49 [IRQ 9]
  130  29      - [kblockd/0]
  133  29      - [khubd]
  202  22      - [pdflush]
  203  24      - [pdflush]
  205  27      - [aio/0]
  204  14      - [kswapd0]
  798  88     48 [IRQ 8]
  801  87     47 [IRQ 7]
  802  29      - [kseriod]
  805  86     46 [IRQ 12]
  815  85     45 [IRQ 6]
  850  84     44 [IRQ 14]
  861  29      - [ata/0]
  865  27      - [scsi_eh_0]
  866  27      - [scsi_eh_1]
  867  83     43 [IRQ 225]
  870  27      - [scsi_eh_2]
  871  27      - [scsi_eh_3]
  872  82     42 [IRQ 233]
  887  81     41 [IRQ 50]
  893  80     40 [IRQ 217]
  908  79     39 [IRQ 1]
  912  24      - [kjournald]
  970  26      - udevd
 4545  78     38 [IRQ 58]
 4599  24      - [khpsbpkt]
 4694  77     37 [IRQ 66]
 4695  23      - [knodemgrd_0]
 6321  24      - /usr/sbin/syslog-ng
 7111  23      - /usr/sbin/cupsd
7117  76     36 [IRQ 4]
 7188  22      - /usr/sbin/sshd
 7224  23      - /usr/sbin/cron
 7343  23      - /sbin/portmap
 7370  27      - [rpciod/0]
 7371  23      - [lockd]
 7394  22      - /sbin/agetty 38400 tty1 linux
 7398  22      - /sbin/agetty 38400 tty2 linux
 7400  22      - /sbin/agetty 38400 tty3 linux
 7401  23      - /sbin/agetty 38400 tty4 linux
 7408  23      - /sbin/agetty 38400 tty5 linux
 7409  23      - /sbin/agetty 38400 tty6 linux
 7527  23      - /usr/bin/gdm
 7529  23      - /usr/bin/gdm
 7534  23      - /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth
-nolisten tcp vt7
 7567  23      - gnome-session
 7582  23      - /usr/bin/ssh-agent -- gnome-session
 7584  23      - /usr/libexec/gconfd-2 5
 7587  21      - /usr/bin/gnome-keyring-daemon
 7589  23      - /usr/libexec/bonobo-activation-server --ac-activate
--ior-output-fd=19
 7591  23      - /usr/libexec/gnome-settings-daemon
--oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oa 7601  24      -
xscreensaver -nosplash
 7627  24      - metacity --sm-save-file 1126471293-7521-180409387.ms
 7629  23      - nautilus --sm-config-prefix /nautilus-pR56zY/
--sm-client-id 11c0a80138000112560470300 7631  23      - gnome-panel
--sm-config-prefix /gnome-panel-Ckbfvi/ --sm-client-id
11c0a80138000112627 7648  23      - /usr/libexec/gnome-vfs-daemon
--oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factory --oaf 7656  23     
- /usr/libexec/mapping-daemon
 7659  24      - /usr/libexec/mixer_applet2
--oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-i 7661  23  
   - /usr/libexec/clock-applet
--oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory --oaf-io 7663  23 
    - /usr/libexec/wnck-applet
--oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd= 7665  23
     - /usr/bin/gnome-terminal
 7666  21      - gnome-pty-helper
 7667  24      - bash
 7672  22      - su -
 7675  23      - -bash
 8398  24      - hdspmixer
 8400  24      - qjackctl
 8402  20      - /usr/bin/jackd -R -dalsa -dhw:1 -r44100 -p128 -n2
 8410  23      - /bin/bash /usr/libexec/mozilla-launcher
 8421  24      - /opt/firefox/firefox-bin
 8437  22      - ps -eo pid,pri,rtprio,cmd
lightning ~ #


Even with Jack running I don't see the jackd process getting any
special priority. Is this correct, or is that part that gets higher
prioity just not listed here.

.config attached.

Thanks!

- Mark

Attachment: knecht.config-2.6.14-rc3-rt10.bz2
Description: BZip2 compressed data


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux