Re: 2.6.14-rc3-rt10 - xruns & config questions

From: Mark Knecht
Date: Thu Oct 06 2005 - 15:55:53 EST


On 10/6/05, Mark Knecht <markknecht@xxxxxxxxx> wrote:
> On 10/6/05, Ingo Molnar <mingo@xxxxxxx> wrote:
> >
> > * Mark Knecht <markknecht@xxxxxxxxx> wrote:
> >
> > > I am still getting a few xruns even after raising Jack's priority
> > > level to 80. I am wondering whether it's fair to report these when I
> > > have CONFIG_DEBUG_PREEMPT set?
> >
> > > 4559 78 38 [IRQ 58]
> >
> > > 58: 257570 IO-APIC-level hdsp
> >
> > IRQ 58 is your audio interrupt, right? You should raise that one to prio
> > 80 too. (via chrt)
> >
> > > Since my NIC is getting a higher priority than both my sound card and
> > > my 1394 audio drives (IRQ217 vs. IRQ58/IRQ66) I assume that network
> > > activity might possibly sometimes cause a problem? Or is this not
> > > true?
> >
> > yeah, that could be the case.
> >

>
> Can you suggest how I might be able to do this at boot time?

Apologies for answering myself...

I found an old conversation that answered this, at least when I'm
logged in as root. Hopefully it will work at boot time also:

chrt -f -p 80 `pidof "IRQ 58"`

I noted that the default chrt command changed the IRQ process from
SCHED_FIFO to SCHED_RR so I assume I really should leave it at
SCHED_FIFO?

Thanks,
Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/