[arch-general] xruns - differen kenerls & graphics

Ralf Mardorf ralf.mardorf at alice-dsl.net
Mon Sep 24 22:12:40 EDT 2012


On Tue, 2012-09-25 at 00:12 +0200, Joakim Hernberg wrote:
> On Mon, 24 Sep 2012 23:06:57 +0200
> Ralf Mardorf <ralf.mardorf at alice-dsl.net> wrote:
> 
> >   294 FF      85   - 125  0.0 S    irq/18-snd_hdsp	
> >   122 FF      50   -  90  0.0 S    irq/18-ohci_hcd	
> >   126 FF      50   -  90  0.0 S    irq/18-ohci_hcd	
> >   303 FF      50   -  90  0.0 S    irq/18-radeon	
> >   337 FF      50   -  90  0.0 S    irq/18-nouveau	
> 
> This isn't looking all that good..  Afaik, you really ought to prefer
> having that snd_hdsp on it's own irq, but if not, then at least you
> need to raise the priority to around the same for the rest of the
> threads on the same irq...

I guess it's impossible to change the IRQ. Assumed that rtirq fits to
the current kernel version, it's easy to raise the priority of
the others that share IRQ 18 (but it's not wanted).

Note! In the past I never run into this trouble:
http://www.digipedia.pl/usenet/thread/11091/63/

Btw. there's no audio load, so xruns are really strange.

The config was
[spinymouse at archlinux ~]$ grep RTIRQ_NAME_LIST /etc/conf.d/rtirq
RTIRQ_NAME_LIST="rtc snd_hdsp snd_ice1 snd usb i8042"

New trial (the RMR card still get xruns)
[spinymouse at archlinux ~]$ sudo cpupower frequency-set -g performance
[spinymouse at archlinux ~]$ /etc/rc.d/rtirq status
  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
   59 FF      90   - 130  0.0 S    irq/8-rtc0	
  298 FF      85   - 125  0.0 S    irq/18-snd_hdsp	
  331 FF      85   - 125  0.0 S    irq/20-snd_ice1	
  333 FF      85   - 125  0.0 S    irq/21-snd_ice1	
  293 FF      80   - 120  0.0 S    irq/18-radeon	
  106 FF      75   - 115  0.1 S    irq/16-ohci_hcd	
  119 FF      74   - 114  0.0 S    irq/17-ohci_hcd	
  130 FF      73   - 113  0.0 S    irq/17-ohci_hcd	
  104 FF      70   - 110  0.0 S    irq/19-ehci_hcd	
   57 FF      65   - 105  0.0 S    irq/1-i8042	
   20 FF      50   -  90  0.0 S    irq/9-acpi	
  109 FF      50   -  90  0.8 S    irq/22-ahci	
  121 FF      50   -  90  0.0 S    irq/14-pata_ati	
  122 FF      50   -  90  0.0 S    irq/15-pata_ati	
  128 FF      50   -  90  0.0 S    irq/18-ohci_hcd	
  132 FF      50   -  90  0.0 S    irq/18-ohci_hcd	
  285 FF      50   -  90  0.0 S    irq/7-parport0	
  291 FF      50   -  90  0.2 S    irq/22-firewire	
  583 FF      50   -  90  0.0 S    irq/42-eth0	
    3 FF       1   -  41  0.3 S    ksoftirqd/0	
   11 FF       1   -  41  0.3 S    ksoftirqd/1	
[spinymouse at archlinux ~]$ grep RTIRQ_NAME_LIST /etc/conf.d/rtirq
#RTIRQ_NAME_LIST="rtc snd_hdsp snd_ice1 snd usb i8042"
RTIRQ_NAME_LIST="rtc snd radeon ohci_hcd usb i8042"
[spinymouse at archlinux ~]$ jackd --sync -Xalsarawmidi -dalsa -r48000 -p256
jackdmp 1.9.8

[spinymouse at archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:1-1 HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.68 ms (560.54 frames)
Lowest latency: 11.65 ms (559 frames)
Highest latency: 11.75 ms (564 frames)
Peak MIDI jitter: 0.10 ms (5 frames)
Average MIDI jitter: 0.01 ms (0.05 frames)

Jitter Plot:
0.0 - 0.1 ms: 8192

Latency Plot:
11.6 - 11.7 ms: 7822
11.7 - 11.8 ms: 370

Messages sent: 8192
Messages received: 8192
[spinymouse at archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:1-1 HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.69 ms (560.64 frames)
Lowest latency: 11.67 ms (560 frames)
Highest latency: 11.75 ms (564 frames)
Peak MIDI jitter: 0.08 ms (4 frames)
Average MIDI jitter: 0.03 ms (0.06 frames)

Jitter Plot:
0.0 - 0.1 ms: 8186
     > 10 ms: 6

Latency Plot:
11.6 - 11.7 ms: 7709
11.7 - 11.8 ms: 477
     > 21.6 ms: 6

Messages sent: 8192
Messages received: 8192
Xruns: 6
[spinymouse at archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:2-1 TerraTec EWX24/96 MIDI 1 out" "system:2-1 TerraTec EWX24/96 MIDI 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.69 ms (561.05 frames)
Lowest latency: 11.67 ms (560 frames)
Highest latency: 11.75 ms (564 frames)
Peak MIDI jitter: 0.08 ms (4 frames)
Average MIDI jitter: 0.00 ms (0.01 frames)

Jitter Plot:
0.0 - 0.1 ms: 8192

Latency Plot:
11.6 - 11.7 ms: 7771
11.7 - 11.8 ms: 421

Messages sent: 8192
Messages received: 8192
[spinymouse at archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5 "system:2-1 TerraTec EWX24/96 MIDI 1 out" "system:2-1 TerraTec EWX24/96 MIDI 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.69 ms (561.04 frames)
Lowest latency: 11.67 ms (560 frames)
Highest latency: 11.75 ms (564 frames)
Peak MIDI jitter: 0.08 ms (4 frames)
Average MIDI jitter: 0.00 ms (0.01 frames)

Jitter Plot:
0.0 - 0.1 ms: 8192

Latency Plot:
11.6 - 11.7 ms: 7798
11.7 - 11.8 ms: 394

Messages sent: 8192
Messages received: 8192

Regards,
Ralf



More information about the arch-general mailing list