Re: [Alsa-user] arecord under 2.6.15.4-rt17 ->overruns...
Brought to you by:
perex
From: Lee R. <rlr...@jo...> - 2006-03-02 20:32:36
|
On Thu, 2006-03-02 at 21:19 +0100, fons adriaensen wrote: > On Thu, Mar 02, 2006 at 09:03:29PM +0100, Guennadi Liakhovetski wrote: > > > chrt -f -p 50 `pidof "IRQ 5"` > > chrt -f 40 arecord -t wav -f cd -d 600 test.wav > > > > and if there's accidentally an updatedb running in the background, I get > > lots of "Overrun!!! (at least xxxms long)", where xxx can be hundreds of > > milliseconds. > > Is arecord running as a RT process ? If not, it's normal it gets > upset by the sort of disk acces from updatedb. > It's not normal - on any sane distro updatedb runs at a high nice value. And even if it doesn't, the scheduler should be smart enough to give arecord the CPU often enough to avoid underruns even under high disk load. Lee |