From: George Anzinger <george@mvista.com>
To: Christoph Lameter <clameter@engr.sgi.com>
Cc: Alex Williamson <alex.williamson@hp.com>,
john stultz <johnstul@us.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: Need better is_better_time_interpolator() algorithm
Date: Fri, 26 Aug 2005 12:51:42 -0700 [thread overview]
Message-ID: <430F72CE.8080702@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0508261231440.16138@schroedinger.engr.sgi.com>
Christoph Lameter wrote:
> On Fri, 26 Aug 2005, Alex Williamson wrote:
>
>
>> Would we ever want to favor a frequency shifting timer over anything
>>else in the system? If it was noticeable perhaps we'd just need a
>>callback to re-evaluate the frequency and rescan for the best timer. If
>>it happens without notice, a flag that statically assigns it the lowest
>>priority will due. Or maybe if the driver factored the frequency
>>shifting into the drift it would make the timer undesirable without
>>resorting to flags. Thanks,
>
>
> Timers are usually constant. AFAIK Frequency shifts only occur through
> power management. In that case we usually have some notifiers running
> before the change. These notifiers need to switch to a different time
> source if the timer frequency will be shifting or the timer will become
> unavailable.
>
If there is a notifier, I presume we can track it. We might want to
refine things so as to not hit too big a bump when the shift occures,
but I think it is doable. The desirability of doing it, I think,
depends on the availablity of something better. The access time of the
TSC is "really" enticing. Even so, I think a _good_ clock would not
depend on long term accuracy of something as fast as the TSC. Vendors
are even modulating these to reduce RFI, but still, because of its
speed, it makes the best interpolator for the jiffie to jiffie times.
--
George Anzinger george@mvista.com
HRT (High-res-timers): http://sourceforge.net/projects/high-res-timers/
next prev parent reply other threads:[~2005-08-26 19:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-25 16:44 Need better is_better_time_interpolator() algorithm Alex Williamson
2005-08-25 17:36 ` john stultz
2005-08-25 18:43 ` Alex Williamson
2005-08-25 19:02 ` john stultz
2005-08-26 15:39 ` Christoph Lameter
2005-08-26 16:18 ` Alex Williamson
2005-08-26 19:16 ` George Anzinger
2005-08-26 19:26 ` Alex Williamson
2005-08-26 19:33 ` Christoph Lameter
2005-08-26 19:51 ` George Anzinger [this message]
2005-08-27 11:55 ` Pavel Machek
2005-08-29 17:00 ` Christoph Lameter
-- strict thread matches above, loose matches on Subject: below --
2005-08-25 21:40 linux
2005-08-25 23:07 ` Alex Williamson
2005-08-26 16:48 ` 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=430F72CE.8080702@mvista.com \
--to=george@mvista.com \
--cc=alex.williamson@hp.com \
--cc=clameter@engr.sgi.com \
--cc=johnstul@us.ibm.com \
--cc=linux-kernel@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