Re: The "best" value of HZ

From: Randy.Dunlap
Date: Thu Oct 27 2005 - 21:36:47 EST


On Fri, 28 Oct 2005 01:18:41 +0200 Claudio Scordino wrote:

> Hi,
>
> during the last years there has been a lot of discussion about the "best"
> value of HZ... On i386 was 100, then became 1000, and finally was set to 250.
> I'm thinking to do an evaluation of this parameter using different
> architectures.
>
> Has anybody thought to give the possibility to modify the value of HZ at boot
> time instead of at compile time ? This would allow to easily test different
> values on different machines and create a table containing the "best" value
> for each architecture... At this moment, instead, we have to recompile the
> kernel for each different value :(
>
> Do you think there would be much work to do that ?

Not a lot. Could be useful.

> Do you think it would be a desired feature the knowledge of the best value for
> each architecture with more precision ?

In this thread (around 2005-july-14)
Subject: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
there was some interest in that, and the beginnings of a patch.
But the dynamic tick patch seems to have sidelined this one.

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