Re: [LAU] Too many xruns

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Thursday, October 11, 2012 - 6:33 am

> More information on tweaking your setup:

I've been trying to reduce my xrun troubles. I'm down from > 10
xruns per second to something more like 10 xruns per minute. Still
not good, but better.

I used the realTimeConfigQuickScan.pl script to diagnose things.

https://code.google.com/p/realtimeconfigquickscan/

I'm down to three things reported as "not good" now.

1. Checking checking sysctl inotify max_user_watches... < 524288 - not good
increase max_user_watches by adding 'fs.inotify.max_user_watches = 524288'
to /etc/sysctl.conf and rebooting
For more information, see
http://wiki.linuxmusicians.com/doku.php?id=system_configuration#sysctl.c...

Looking at the link there's a comment, "...it remains very
unclear ... if adjusting this value actually does anything at
all." So, I haven't altered this. Does anyone have
experience saying that this helped them?

2. chrt: failed to set pid 0's policy: Operation not permitted
Checking the ability to prioritize processes with chrt... no - not good
Could not assign a 80 rtprio value. Set up limits.conf.
For more information, see
http://wiki.linuxmusicians.com/doku.php?id=system_configuration#limits.c...

I did make the changes outlined at the above link. I still
get the above report. I'm going to guess that I need some
real-time support from the kernel to make this work. Which
brings me to

3. Kernel with Real-Time Preemption... not found - not good
Kernel without real-time capabilities found
For more information, see
http://wiki.linuxmusicians.com/doku.php?id=system_configuration#installi...

First I looked at this link:
http://wiki.linuxmusicians.com/doku.php?id=system_configuration#the_kern...
Specifically, I looked at the threadirqs kernel option.

grep -e CONFIG_IRQ_FORCED_THREADING=y -e CONFIG_PREEMPT=y /boot/config-`uname -r`
produces "CONFIG_IRQ_FORCED_THREADING=y" and I think that's good.

I altered my /boot/grub2/grub.cfg file to include
"threadirqs" on the stanza for my kernel, like so, but
without all the line breaks.

linux /boot/vmlinuz-3.5.5-2.fc17.x86_64
root=UUID=77edf07a-a49b-48dd-82c8-2f9e5c8691b7 ro nomodeset
rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=us rd.luks=0
LANG=en_US.UTF-8 rhgb quiet threadirqs nouveau.modeset=0
rd.driver.blacklist=nouveau

"uname -r" reports "3.5.5-2.fc17.x86_64" but I don't have
threaded IRQs.

Any ideas on how to improve my IRQs? They are not alterable in the BIOS.

Thanks....

--
Kevin

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user

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

Messages in current thread:
[LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 4:17 am)
Re: [LAU] Too many xruns, S. Massy, (Thu Sep 6, 1:55 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 3:48 pm)
Re: [LAU] Too many xruns, Lorenzo Sutton, (Wed Sep 5, 7:50 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 2:43 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 7:30 pm)
Re: [LAU] Too many xruns, Ralf Mardorf, (Wed Sep 5, 8:02 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 2:47 pm)
Re: [LAU] Too many xruns, Ralf Mardorf, (Wed Sep 5, 7:30 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 7:29 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Wed Sep 5, 7:11 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 7:24 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 6:33 am)
Re: [LAU] Too many xruns, Paul Davis, (Thu Oct 11, 10:55 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 4:17 pm)
Re: [LAU] Too many xruns, Brendan Jones, (Fri Oct 12, 12:33 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Fri Oct 12, 4:07 pm)
Re: [LAU] Too many xruns, Brendan Jones, (Fri Oct 12, 6:55 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Fri Oct 12, 7:01 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 6:01 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 6:17 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 4:50 pm)
Re: [LAU] Too many xruns, SxDx, (Thu Oct 11, 12:24 pm)
Re: [LAU] Too many xruns, R. Mattes, (Thu Oct 11, 3:45 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 11:00 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 7:07 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 8:06 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 8:55 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 3:53 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Oct 11, 5:58 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Oct 11, 9:22 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Oct 11, 6:03 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 5:24 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 3:43 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:02 pm)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 8:18 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Fri Sep 7, 8:25 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Fri Sep 7, 8:30 am)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 9:23 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Fri Sep 7, 9:40 am)
Re: [LAU] Too many xruns, Fernando Lopez-Lezcano, (Sat Sep 8, 6:09 pm)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 10:46 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Fri Sep 7, 11:03 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Sep 6, 7:12 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 4:55 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:08 pm)
Re: [LAU] Too many xruns, Paul Davis, (Thu Sep 6, 5:10 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:30 pm)
Re: [LAU] Too many xruns, Ralf Mardorf, (Fri Sep 7, 2:15 am)
Re: [LAU] Too many xruns, Joakim Hernberg, (Fri Sep 7, 7:52 am)
Re: [LAU] Too many xruns, Paul Davis, (Fri Sep 7, 10:53 am)
[LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Sep 7, 2:21 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Paul Davis, (Fri Sep 7, 4:02 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Fri Sep 7, 3:29 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Ralf Mardorf, (Fri Sep 7, 3:58 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Fri Sep 7, 4:47 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Sep 7, 4:58 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Fri Sep 7, 1:08 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Sep 7, 8:31 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Fri Oct 12, 5:18 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Fernando Lopez-Lezcano, (Sat Sep 8, 6:59 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Kevin Cosgrove, (Sun Sep 9, 4:14 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Len Ovens, (Sat Sep 8, 9:53 pm)
Re: [LAU] PCIe audio gear [was: Too many xruns], Ralf Mardorf, (Mon Sep 10, 10:46 am)
Re: [LAU] PCIe audio gear [was: Too many xruns], Ralf Mardorf, (Fri Sep 7, 2:42 am)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Thu Sep 6, 9:07 am)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 2:36 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 3:50 pm)
Re: [LAU] Too many xruns, Len Ovens, (Thu Sep 6, 5:00 pm)
Re: [LAU] Too many xruns, S. Massy, (Thu Sep 6, 4:54 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Thu Sep 6, 5:04 pm)
Re: [LAU] Too many xruns, Rui Nuno Capela, (Thu Sep 6, 8:51 pm)
Re: [LAU] Too many xruns, Jeremy Jongepier, (Wed Sep 5, 7:42 pm)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Mon Oct 1, 1:35 am)
Re: [LAU] Too many xruns, Fernando Lopez-Lezcano, (Wed Sep 5, 7:55 pm)
Re: [LAU] Too many xruns, Simon Wise, (Wed Sep 5, 5:02 am)
Re: [LAU] Too many xruns, Kevin Cosgrove, (Wed Sep 5, 2:37 pm)