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

From: Alan Cox
Date: Thu May 07 2009 - 16:26:12 EST


> Reducing the number of application interruptions by a factor of 10 is not
> pointless. The lower HZ becomes the more useless it will become for the
> users of jiffies because they will have to create timers and use time
> intervals if the HZ intervals become too large.

More like "the more your performance goes down the toilet" - as
everything is rounded up.

If you want to follow that argument set the default HZ to 1. Then see if
it has any side effects.

Given HZ=1 doesn't work, its fairly clear that all you are doing is
frobbing pointlessly with defaults that have been evolved over about 15
years because they work.

Whereas if you make jiffies jiffies() and it reads a timer it puts the
pain in the right place and you can begin to make actual progress to
making things work properly.
--
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/