Re: Increasing HZ (patch for HZ > 1000)

From: Martin J. Bligh
Date: Thu Dec 11 2003 - 02:08:39 EST


> I think this may be of interest to some people. I've attached a patch
> that makes it possible to increase HZ up to 10000. The patch adds some
> HZ-related defines (e.g. SHIFT_HZ) for higher HZ values. It also removes
> some shift by negative number and divide by zero (e.g. in bogomips
> computation) and prevents some overflows. I'm not sure I fixed
> everything, but right now it seems to work with HZ=10000. The only thing
> I'm seeing are messages such as: "orinoco_lock() called with
> hw_unavailable (dev=f75c8000)" and "eth1: IRQ handler is looping too
> much! Resetting.".

Why would you want to *increase* HZ? I'd say 1000 is already too high
personally, but I'm curious what you'd want to do with it? Embedded
real-time stuff?

M.

-
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/