[LAD] cpu spikes

Joakim Hernberg jhernberg at alchemy.lu
Mon Jan 25 21:19:44 UTC 2016


On Mon, 25 Jan 2016 12:53:57 +0100
Joakim Hernberg <jhernberg at alchemy.lu> wrote:

> On Mon, 25 Jan 2016 12:23:09 +0100
> Jörn Nettingsmeier <nettings at stackingdwarves.net> wrote:
> 
> > i understand how device drivers can be nasty (graphics cards locking
> > up the pci bus, wifi chips hogging the kernel for milliseconds at a
> > time or worse...) but it seems that a) either kernel preemption and
> > real-time scheduling is terribly buggy or hand-wavey, or b) we're
> > feeding each other snake-oil in recommending to disable userspace
> > things that is running without rt privs.
> > 
> > i'd love to be educated on this.  

2 additional observations, thermal events (cpu overheating) are bad and
will give xruns.  Also I've had problems keeping audio files in my home
dir when using traditional hdd (rust), better to use a different hdd,
or a ssd instead.  Changing i/o scheduler or class and priorities for
CFQ didn't seem to bring any relief.

-- 

   Joakim


More information about the Linux-audio-dev mailing list