lkml.org 
[lkml]   [2009]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] Introduce CLOCK_REALTIME_COARSE
On Mon, Jul 20, 2009 at 03:49:14PM +0200, Peter Zijlstra wrote:
> On Mon, 2009-07-20 at 06:33 -0700, Arjan van de Ven wrote:
> > > Maybe power64, sparc64 and s390x qualify, but certainly nothing on x86
> > > does.
> >
> > the x86 on my desk disagrees.
>
> >From what I know even nehalem doesn't have fully synced tscs when your
> machine is large enough, and the timers are still a tad expensive.

All single-socket Nehalem boards have synced TSCs, and some multi-socket
Nehalem boards have synced TSCs, notably Intel's. I don't know if you
can safely rely on the latter, though.

> Maybe your desktop is next-gen? 't would be nice to finally have an x86
> that has usable clock and timer hardware.

x86 CPUs with the ARAT feature ("always running APIC timer") will let
you use the local APIC even in deep C-states. I don't know about the
overhead of the local APIC.

- Josh Triplett


\
 
 \ /
  Last update: 2009-07-22 23:43    [W:0.049 / U:3.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site