FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-18-2010, 08:08 PM
Julien Cristau
 
Default Bug#603957: linux-2.6: consider raising CONFIG_HZ to 1000

Package: linux-2.6
Version: 2.6.32-27
Severity: wishlist

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

-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
 
Old 12-27-2010, 05:24 PM
Julien Cristau
 
Default Bug#603957: linux-2.6: consider raising CONFIG_HZ to 1000

On Thu, Nov 18, 2010 at 22:08:27 +0100, Julien Cristau wrote:

> 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?
>
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
 

Thread Tools




All times are GMT. The time now is 07:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org