mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Christoph Lameter <clameter@engr.sgi.com>
To: Alex Williamson <alex.williamson@hp.com>
Cc: tony.luck@intel.com, linux-kernel@vger.kernel.org
Subject: Re: long delays (possibly infinite) in time_interpolator_get_counter
Date: Sat, 30 Jul 2005 11:10:01 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.62.0507301105120.25104@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <1122742054.28719.58.camel@localhost.localdomain>

On Sat, 30 Jul 2005, Alex Williamson wrote:

> On Fri, 2005-07-29 at 16:31 -0700, Christoph Lameter wrote:
> > What you are dealing with is a machine that is using ITC as a time bases. 
> > That is a special case.
> 
>    The default time source for ia64 systems is a "special case"?  4
> socket and smaller boxes typically do not have any other time source.

It is a special case because we typically use other time sources. The 
limitations of cycle counters in SMP environments are well known and most 
hardware manufacturers have dealt with this issue by using another clock 
source.

>    And what if you don't have any HPET and aren't willing to take that
> risk?  We need a solution that works with all time sources.  A system
> with the default time source should not hang or have unreasonable delays
> with the standard setup.  Why is a synchronized ITC driven from a common
> clock such a terrible time source for small systems

If it is really synchronized then you can run with "nojitter" without any 
issue. Then you wont have to deal with the cmpxchg and everything is fine. 
But I suspect that the ITC are NOT truly synchronized (it has an 
"offset" that may be nonzero right?) otherwise you would have used nojitter.

> in progress.  In any case, I think we need to focus on a solution that
> works well on all systems, not just those with extra timer hardware.

Extra timer hardware is necessary to fix the ITC deficiency. You are at 
the source of the problem. Fix the damn hardware to provide a standardized 
synchronized clock or provide a truly synchronized ITC.

  reply	other threads:[~2005-07-30 18:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-29 22:06 tony.luck
2005-07-29 23:31 ` Christoph Lameter
2005-07-30 16:47   ` Alex Williamson
2005-07-30 18:10     ` Christoph Lameter [this message]
2005-07-31 17:02       ` Alex Williamson
2005-07-31 20:00         ` Christoph Lameter
2005-08-01 16:57       ` Bjorn Helgaas
2005-08-01 17:04         ` Christoph Lameter
2005-07-30  0:32 ` Christoph Lameter

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=Pine.LNX.4.62.0507301105120.25104@schroedinger.engr.sgi.com \
    --to=clameter@engr.sgi.com \
    --cc=alex.williamson@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony.luck@intel.com \
    /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®