Re: [PATCH] x86: Reduce the default HZ value
From: Paul E. McKenney
Date: Thu May 07 2009 - 15:06:48 EST
On Thu, May 07, 2009 at 02:12:15PM -0400, Christoph Lameter wrote:
> To get back to the main point: I agree with Alok that the default HZ needs
> to be as low as possible. The remaining justification is the load
> balancing and possible context switching between multiple tasks contenting
> for a processor.
>
> Is it enough if this occurs 100 times per second?
I am sorry, I got into solution mode too quickly in my earlier posts.
As long as you have enough memory for the callbacks, and as long
as you don't mind things like netfilter changes taking longer, RCU
doesn't much care what value HZ has.
> If so then we should change the default in kernel/Kconfig.hz.
But some workloads and users do care deeply about memory size and
netfilter-change speed, of course. So perhaps HPC workloads need
a different default HZ value.
Thanx, Paul
--
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/