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

From: Alan Cox
Date: Tue May 05 2009 - 17:45:00 EST


> What is the benefit of this?

I believe the "benefit" is that a certain posters proprietary
virtualisation product works better.

> I can see at least one immediate downside: some timeout values in the
> kernel are still maintained in units of HZ (like poll, I believe), and
> so with a lower HZ value we'll have higher roundoff errors.

And HZ=100 actually causes real problems for some video work (not in
Europe where its just peachy). We switched to 1000Hz a very long time ago
because it improved desktop feel and responsiveness. We switched to
tickless to keep that behaviour with good power and idle behaviour.

If we still have problems that give virtualisers hiccups then they will
be giving real processor power management the same grief so I don't think
meddling with HZ to harm the desktop is the right move - but if there are
improvements to tickless (eg timer granularity and bunching under
virtualisation) that would be far better to explore.

Alan
--
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/