#603957 linux-2.6: consider raising CONFIG_HZ to 1000

#603957#5
Date:
2010-11-18 21:08:27 UTC
From:
To:
Hi,

I think I mentioned this a while back on irc, but filing here for
reference.  clock_gettime(CLOCK_MONOTONIC) is expensive, so people want
to use CLOCK_MONOTONIC_COARSE instead.  See e.g.
http://lists.x.org/pipermail/xorg-devel/2010-August/012483.html
However X would like millisecond granularity, which means HZ=1000
instead of the current 250, in order to be able to use the coarse timer.
Maybe something to consider for wheezy?

Cheers,
Julien

#603957#10
Date:
2010-12-27 18:24:07 UTC
From:
To:
Patch is now in xserver master:
http://cgit.freedesktop.org/xorg/xserver/commit/?id=44adb31bfece29260a9bbd9075c9212ebf00d24d

It only uses CLOCK_MONOTONIC_COARSE if its resolution is
sub-millisecond.

Cheers,
Julien