Re: [PATCH] x86: Reduce the default HZ value

From: Christoph Lameter
Date: Thu May 07 2009 - 11:31:16 EST


On Thu, 7 May 2009, Alan Cox wrote:

> The tick also still appears to be involved in ntp and in cpu stats where
> a 50Hz tick would mean only 25Hz accuracy on CPU usage etc

That could be fixed. If a thread is running then its using the processor
and that does not change as long as it runs. That alone is enough to
calculate cpu usage.

Only if we want to examine the cpu state periodically while its running
(profiling) then we would have a justification for interrupting the
thread.
--
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/