Re: interrupt latency

Kurt Garloff (garloff@kg1.ping.de)
Sun, 16 Aug 1998 19:41:57 +0200


On Fri, Aug 14, 1998 at 08:58:15AM +0200, Marc SCHAEFER wrote:
> However, if there is any process running (such as a niced rc5des),
> it seems it can take upto 10ms (next timer tick) for the reschedule
> to happen.

You can change the HZ value in linux/include/asm-i386/param.h to higher
values and recompile your kernel. (My HZ is 200, which I prefer because I do
develop numerical code and I want more exact benchmark times.)
I think, there's nothing wrong going to 1000, if your box is fast enough.
(Every timer interrupt gives you a task switch which has some overhead ...)

-- 
Kurt Garloff, Dortmund 
<K.Garloff@ping.de>
PGP key on http://student.physik.uni-dortmund.de/homepages/garloff

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html