public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] minor cyclone cleanup
Date: Thu, 29 Jul 2004 18:46:30 +0000	[thread overview]
Message-ID: <200407291246.30314.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <200407291054.05720.bjorn.helgaas@hp.com>

On Thursday 29 July 2004 12:37 pm, john stultz wrote:
> With my re-work, the system clock is driven from a time-source, not the
> interval timer. That time-source is the only semi-arch-specific bit in
> the code, so it can be the ITC, the cyclone counter, HPET, or even the
> RTC. Its not all that different then ia64's time_interpolator
> infrastructure, just cleaned up and simplified a bit. 

This might have possibilities.  Is there a way to compare the accuracy
of the ITC, HPET, and RTC, so we can pick the best one?  I know that
SAL_FREQ_BASE can tell us about the ITC and RTC, but I dunno about
the HPET.

> Another idea would be to make a userspace daemon who would read the RTC
> and use the kernel's adjtimex() syscall to manipulate time. This would
> be just like the userspace NTP daemon, only using the RTC instead of a
> timeserver. Not having sub-second resolution would mean it would have to
> be conservative and take quite some time to sync up, but it would be
> possible. 

This is what I had in mind, except that I was thinking about adding
RTC support to NTP rather than writing something from scratch.  NTP
has a lot of scary code that I don't want to replicate.

      parent reply	other threads:[~2004-07-29 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-29 16:54 [PATCH] minor cyclone cleanup Bjorn Helgaas
2004-07-29 17:02 ` john stultz
2004-07-29 17:13 ` Bjorn Helgaas
2004-07-29 18:37 ` john stultz
2004-07-29 18:46 ` Bjorn Helgaas [this message]

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=200407291246.30314.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /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