Re: Priorities of IRQ handlers
From: Steven Rostedt <rostedt@goodmis.org>
Date: 2007-11-27 16:26:50
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, ¶m);
with the appropriate pid, which I look up using ps -efLook 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