Re: [LAU] Regular Xruns?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: James Stone <jamesmstone@...>
Cc: Arnold Krille <arnold@...>, <linux-audio-user@...>
Date: Friday, August 7, 2009 - 8:44 am

On Fri, Aug 07, 2009 at 09:09:56AM +0100, James Stone wrote:

That ERR is interesting. Does the xrun correspond to increments of ERR?

> ~/jack_stuff$ ./irq_check 5

One of the things that increased priority on an IRQ doesn't do is
prevent other drivers from hogging the CPU during an interrupt. All
drivers that handle interrupts can be a cause, if they contain coding
flaws. If you can remove all drivers you don't need, reducing the
/proc/interrupts list of drivers to a bare minimum, you can effectively
exclude some of the problem space.

> start)

Does the problem happen without this line? I can imagine that a flawed
PCI transaction might take a lot longer than it should, and if you
increase the latency timer it may allow for more time not doing
anything.

> But still get xruns every 14 mins!!!

Fascinating. This will make it easier to diagnose if it happens so
regularly. Things I think you should try:

1. be in a text console (chvt 1) at the time of one of the expected
events, and see if it still occurs ... this is so that you can exclude
interrupts from your graphics adaptor as being a contributor, since I
note that there are many interrupts counted on IRQ 10, which is shared
between USB and Nvidia.

2. disconnect all unnecessary USB devices, see if the problem goes
away, since I note that there are many USB interrupts counted on IRQ 10
and 11, ... you might even go so far as disconnecting a USB keyboard and
mouse for the time of one of the expected events.

3. look for cron events around that time, e.g. by reading the cron
configuration files, or brute force using "strace -o cron -p `pgrep
cron`", to see if the overrun is contributed to by scheduled activity.

--
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] Regular Xruns?, David Baron, (Thu Aug 6, 12:44 pm)
Re: [LAU] Regular Xruns?, James Stone, (Thu Aug 6, 8:05 pm)
Re: [LAU] Regular Xruns?, Arnold Krille, (Thu Aug 6, 8:38 pm)
Re: [LAU] Regular Xruns?, James Stone, (Fri Aug 7, 12:11 am)
Re: [LAU] Regular Xruns?, Arnold Krille, (Fri Aug 7, 7:14 am)
Re: [LAU] Regular Xruns?, James Stone, (Fri Aug 7, 8:10 am)
Re: [LAU] Regular Xruns?, James Cameron, (Fri Aug 7, 8:44 am)
Re: [LAU] Regular Xruns?, James Stone, (Fri Aug 7, 12:54 pm)
Re: [LAU] Regular Xruns?, James Cameron, (Sat Aug 8, 5:26 am)
Re: [LAU] Regular Xruns?, James Cameron, (Sat Aug 8, 7:29 am)
Re: [LAU] Regular Xruns?, David Baron, (Sat Aug 8, 7:53 pm)
Re: [LAU] Regular Xruns?, James Cameron, (Sat Aug 8, 11:58 pm)
Re: [LAU] Regular Xruns?, Arnold Krille, (Fri Aug 7, 12:58 pm)
Re: [LAU] Regular Xruns?, david, (Sat Aug 8, 10:13 pm)
Re: [LAU] Regular Xruns?, Ken Restivo, (Sat Aug 8, 2:16 am)
Re: [LAU] Regular Xruns?, Paul Davis, (Sun Aug 9, 11:36 am)
Re: [LAU] Regular Xruns?, David Baron, (Sun Aug 9, 11:57 am)
Re: [LAU] Regular Xruns?, James Stone, (Sun Aug 9, 11:41 am)
Re: [LAU] Regular Xruns?, Paul Davis, (Sun Aug 9, 12:36 pm)
Re: [LAU] Regular Xruns?, James Cameron, (Sun Aug 9, 11:37 pm)
Re: [LAU] Regular Xruns?, James Cameron, (Mon Aug 10, 2:43 am)
Re: [LAU] Regular Xruns?, David Baron, (Sun Aug 9, 11:59 am)
Re: [LAU] Regular Xruns?, Arnold Krille, (Sat Aug 8, 7:14 am)
Re: [LAU] Regular Xruns?, James Stone, (Fri Aug 7, 10:50 am)
Re: [LAU] Regular Xruns?, Ken Restivo, (Fri Aug 7, 2:05 am)
Re: [LAU] Regular Xruns?, Patrick Shirkey, (Fri Aug 7, 1:48 am)
Re: [LAU] Regular Xruns?, James Stone, (Fri Aug 7, 2:03 am)
Re: [LAU] Regular Xruns?, Peder Hedlund, (Thu Aug 6, 12:53 pm)
Re: [LAU] Regular Xruns?, Dave Phillips, (Thu Aug 6, 1:08 pm)
Re: [LAU] Regular Xruns?, cal, (Thu Aug 6, 12:51 pm)
Re: [LAU] Regular Xruns?, david, (Sat Aug 8, 10:04 pm)
Re: [LAU] Regular Xruns?, David Baron, (Thu Aug 6, 1:45 pm)
Re: [LAU] Regular Xruns?, Paul Davis, (Sun Aug 9, 11:28 am)
Re: [LAU] Regular Xruns?, James Cameron, (Sun Aug 9, 11:19 pm)