mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Josh Triplett <josh@joshtriplett.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Arjan van de Ven <arjan@infradead.org>,
	john stultz <johnstul@us.ibm.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	lkml <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@tglx.de>, Ingo Molnar <mingo@elte.hu>,
	Andi Kleen <ak@suse.de>,
	nikolag@ca.ibm.com, Darren Hart <dvhltc@us.ibm.com>
Subject: Re: [RFC][PATCH] Introduce CLOCK_REALTIME_COARSE
Date: Wed, 22 Jul 2009 14:39:46 -0700	[thread overview]
Message-ID: <20090722213942.GA4337@josh-work.beaverton.ibm.com> (raw)
In-Reply-To: <1248097754.15751.8867.camel@twins>

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

  reply	other threads:[~2009-07-22 21:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-17 23:39 john stultz
2009-07-18  8:30 ` Thomas Gleixner
2009-07-18 22:09   ` john stultz
2009-07-18 22:30     ` Arjan van de Ven
2009-07-20 11:17       ` Peter Zijlstra
2009-07-20 12:22         ` Paul E. McKenney
2009-07-20 13:33         ` Arjan van de Ven
2009-07-20 13:49           ` Peter Zijlstra
2009-07-22 21:39             ` Josh Triplett [this message]
2009-07-21 22:31       ` john stultz
2009-07-22  1:26         ` john stultz
2009-08-01 12:21         ` Andy Lutomirski
2009-07-18 12:09 ` Ingo Molnar
2009-07-18 22:20   ` john stultz
2009-07-19  3:00 ` Chris Snook
2009-07-19  6:14   ` Arjan van de Ven
2009-07-19  6:48     ` Nicholas Miell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090722213942.GA4337@josh-work.beaverton.ibm.com \
    --to=josh@joshtriplett.org \
    --cc=ak@suse.de \
    --cc=arjan@infradead.org \
    --cc=dvhltc@us.ibm.com \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=nikolag@ca.ibm.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=tglx@tglx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®