On Mon, 26 Nov 2007, John Sigler wrote:

> I need to change the priorities of several soft and hard IRQ handlers.
>
> Namely,
>
> o reduce the prio of "softirq-timer" handler to 10
>
> o reduce the prio of IRQ14 and IRQ15 handlers to 20
>    (my flash drives do not support DMA BTW...)
>
> o boost the prio of my I/O boards' IRQ handlers to 60
>    (there can be 1 or 2 boards, the driver is a kernel module
>     which is loaded after the system has booted.)
>
> I've written a short program that calls
>    sched_setscheduler(pid, SCHED_FIFO, &param);
> with the appropriate pid, which I look up using ps -ef

Look for the program "chrt". It does this for you. This program is
avaliable in all major distrobutions of Linux.

>
> I need to automate the process of tweaking priorities.
>
> Can someone offer advice and / or pointers?

Perhaps look at one of the Start up scripts, and add the chrt command
there.

-- Steve
-
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to