JACK - no xruns until wham! 1500 xruns in a row...

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
Axisential
Established Member
Posts: 10
Joined: Mon Dec 02, 2019 12:41 am

JACK - no xruns until wham! 1500 xruns in a row...

Post by Axisential »

I have a interesting problem where with lower buffer settings (aiming for low latency for live use) I sometimes will get 1500-2000 xruns in a row - basically the sounds will lock up for 10-15 seconds. Outside of that tho, no clicks or pops or anything.

I've tried with two different class compliant USB interfaces (no difference). Intel i7 with 8GB of RAM. Dell e6440 fwiw...

Is there any logging I can look at to start to figure out what's causing this?

Things tried so far -
* Increase buffer size - lockups still happen, just less frequently.
* Hardware switch to turn off wifi - no difference
* RT kernel (and double check I'm in the audio group - yes!) - no difference
User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: JACK - no xruns until wham! 1500 xruns in a row...

Post by bluebell »

I guess something with a higher priority is running during the xruns time, maybe excessive swapping/paging. You could try to "sudo swapoff -a" and see if there's a difference.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

Axisential
Established Member
Posts: 10
Joined: Mon Dec 02, 2019 12:41 am

Re: JACK - no xruns until wham! 1500 xruns in a row...

Post by Axisential »

bluebell wrote:I guess something with a higher priority is running during the xruns time, maybe excessive swapping/paging. You could try to "sudo swapoff -a" and see if there's a difference.
Thanks, will give that a crack. Swap should reactivate after reboot with that command yes?
User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: JACK - no xruns until wham! 1500 xruns in a row...

Post by bluebell »

Axisential wrote:
bluebell wrote:I guess something with a higher priority is running during the xruns time, maybe excessive swapping/paging. You could try to "sudo swapoff -a" and see if there's a difference.
Thanks, will give that a crack. Swap should reactivate after reboot with that command yes?
No reboot needed.

"sudo swapoff -a" deactivates swap.
"sudo swapon -a" activates it again.

With "free" you can display its use.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

Post Reply