Re: gettimeofday order of magnitude slower with pmtimer, which isdefault
From: Arjan van de Ven
Date: Tue Mar 21 2006 - 04:04:47 EST
On Tue, 2006-03-21 at 09:53 +0100, Andreas Mohr wrote:
> Hi,
>
> On Tue, Mar 21, 2006 at 02:09:50PM +1100, Con Kolivas wrote:
> > On Tue, 21 Mar 2006 01:59 pm, OGAWA Hirofumi wrote:
> > > Yes. However, if machines uses buggy chip, I guessed TSC/PIT would be
> > > more proper as time source.
> >
> > Oh yes but there has been an epidemic of timer problems (fast/slow, lost ticks
> > etc) lately meaning the pm timer is being relied upon more and more.
>
> I think it's reasonable to question whether to use unlikely or not,
> but IMHO omitting unlikely here will not reward well-behaving systems and
> not punish buggy systems, and this doesn't seem quite right from an
> evolutionary point of view
rdtsc is not reliable for any SMP system or any system doing frequency
scaling or C3 state power saving states.
(exception is newest generation processors where that appears to be
changing now)
You can say "but it appears to work on my SMP system".. but are they
still synced after 200 days of uptime? or are they skewed by then by too
much.
-
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/