Subject: Re: HTB accuracy for high speed

From: Stephen Hemminger <[email-masked]>
Date: Mon, 18 May 2009 15:02:34 -0700

On Mon, 18 May 2009 09:13:14 -0700
Stephen Hemminger <[email-masked]> wrote:

> On Mon, 18 May 2009 11:01:21 +0100
> Antonio Almeida <[email-masked]> wrote:
> 
> > Hi!
> > 
> > cat /sys/devices/system/clocksource/clocksource0/current_clocksource
> > returns "jiffies"
> 
> That is the slowest of the choices. Better ones are hpet and tsc, but you
> hardware doesn't support them.
> 
> You should compile your kernel with HZ=1000 and the resolution will be better
> (but with some loss of performance).
> --

Are you using one of the AMD dual core machines?  That processor has the bad
design flaw that the TSC counter is not synced between core's so the kernel can't
use it. You might even be better off running a non SMP kernel on that box.