Re: Why HZ on i386 is 100 ?

Bill Davidsen (davidsen@tmr.com)
Tue, 16 Apr 2002 10:04:38 -0400 (EDT)


On Tue, 16 Apr 2002, Olaf Fraczyk wrote:

> Hi,
> I would like to know why exactly this value was choosen.
> Is it safe to change it to eg. 1024? Will it break anything?
> What else should I change to get it working:
> CLOCKS_PER_SEC?
> Please CC me.

I think you just want to change HZ, and can do that safely. Do note that
some software may be using 100 instead of HZ, so you might get some
problems there.

Think of HZ as "how often do we want to thrash the cache of CPU-bound
processes." More is not necessarily better.

If you want low latency there are low latency and preempt patches. They
will do more the make the system responsive than increasing HZ.

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

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