Re: [LAD] cpu spikes

From: Fons Adriaensen <fons@email-addr-hidden>
Date: Sun Jan 24 2016 - 17:13:44 EET

On Sun, Jan 24, 2016 at 03:03:08PM +0100, Fokke de Jong wrote:

> I remember reading somewhere that realtime threads cannot run
> more than .95s every second. That would be very bad if it
> actually meant my threads are blocked run for a period of 50ms
> straight…

If your normal load is around 50% you shouldn't ever hit that limit.

Do you lock all memory used by your RT threads ?

If you don't and the system is configured for high swappiness
[1] this sort of thing could happen.

I'm routinely running big real-time convolution matrices without
problems, so it's certainly possible.

[1] <https://en.wikipedia.org/wiki/Swappiness>

-- 
FA
A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Jan 24 20:15:01 2016

This archive was generated by hypermail 2.1.8 : Sun Jan 24 2016 - 20:15:01 EET