Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux-audio-user <linux-audio-user@...>
Date: Sunday, June 19, 2011 - 8:46 pm

Hi all,

I just wanted to report that I finally have joy regarding the
Pianoteq/JACK issues I've been plagued by!

What worked for me is disabling 'CPU overload detection' (in
Pianoteq). I had already disabled 'multicore' in the same 'Performance
dialog', and just to be extra sure, I took all of my WIFI connections
offline, as well as unloading the drivers for wireless all together
while I played (in this case, it was 'ndiswrapper'). I don't think it
was causing a problem, but every extra thing that eats CPU or memory
that I don't need while playing doesn't hurt to take offline.

Just FYI, for anyone who can find the information useful, my setup:

* ASUS EEEPC 1000HE
* Lexicon Lambda outboard USB sound interface, IRQ made RT priority
with 'chrt -p 99 XXXX', XXXX being the process ID of the IRQ handling
the USB sound interface, found with 'cat /proc/interrupts' and 'lsusb'
* Arch Linux, which I recommend over Ubuntu anyday for minimalists who
want to squeeze every last drop of bloat (and thus benefit
performance) out of their boxes.
* output of 'uname -a' : Linux myhost 2.6.33-rt #1 SMP PREEMPT RT Sat
Aug 7 09:40:44 UTC 2010 i686 Intel(R) Atom(TM) CPU N280 @ 1.66GHz
GenuineIntel GNU/Linux
* output of 'jackd -V': jackd version 0.120.2 tmpdir /dev/shm protocol 24
* jackd command: 'jackd -dalsa -r44100 -p128 -n3'

I've heard that many USB interfaces seem to need 3 soft buffer periods
per hardware buffer periods ('-n3' in the jackd command above). I knew
this already, and that wasn't my issue, but I'm just saying this to
other folks who may have problems with outboard USB sound interfaces,
that I've found it to be true in the case of the Lexicon Lambda: it
would choke and bleed xruns on things like '-p256 -n2' but I got as
low as '-p64 -n3', no problem! In this case, since I'm prepping for a
live situation, I'm doubling everything from the lowest possible
latency setting by default for insurance ('-p128' instead of '-p64')
because I can't afford a hard lock or crash in the show....

Thanks again!

AKJ

On Sun, Jun 12, 2011 at 2:40 AM, Aaron Krister Johnson
wrote:

--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org
_______________________________________________
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] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Sun Jun 12, 7:40 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Sun Jun 19, 8:46 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Tue Jun 14, 7:11 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Ralf Mardorf, (Tue Jun 14, 11:44 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Paul Davis, (Tue Jun 14, 11:30 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Lorenzo Sutton, (Wed Jun 15, 8:32 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Ralf Mardorf, (Tue Jun 14, 12:43 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Gerhard Zintel, (Tue Jun 14, 11:14 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Jeremy Jongepier, (Tue Jun 14, 7:28 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Tue Jun 14, 7:36 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Jeremy Jongepier, (Tue Jun 14, 8:00 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Paul Davis, (Sun Jun 12, 1:47 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Atte André Jensen, (Sun Jun 12, 9:08 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Sun Jun 12, 4:49 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Paul Davis, (Sun Jun 12, 8:23 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Mon Jun 13, 12:31 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Paul Davis, (Mon Jun 13, 1:02 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Mon Jun 13, 7:08 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Mon Jun 13, 7:06 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Robin Gareus, (Mon Jun 13, 9:54 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Igor Brkic, (Sun Jun 12, 12:16 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Ralf Mardorf, (Sun Jun 12, 9:44 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Jeremy Jongepier, (Sun Jun 12, 9:59 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Ralf Mardorf, (Sun Jun 12, 10:15 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, James Warden, (Sun Jun 12, 10:47 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Ralf Mardorf, (Sun Jun 12, 12:30 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Sun Jun 12, 5:08 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Ralf Mardorf, (Sun Jun 12, 6:28 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Ralf Mardorf, (Sun Jun 12, 12:35 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, rosea.grammostola, (Sun Jun 12, 9:36 am)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Aaron Krister Johnson, (Sun Jun 12, 4:45 pm)
Re: [LAU] Jack vs. Alsa, PianoTeq demo: Alsa wins!, Paul Davis, (Sun Jun 12, 8:21 pm)