mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@linutronix.de>
To: john stultz <johnstul@us.ibm.com>
Cc: George Anzinger <george@mvista.com>,
	Andrea Arcangeli <andrea@suse.de>,
	Tony Lindgren <tony@atomide.com>, Pavel Machek <pavel@suse.cz>,
	Zwane Mwaikambo <zwane@arm.linux.org.uk>,
	Con Kolivas <kernel@kolivas.org>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] dynamic tick patch
Date: Thu, 20 Jan 2005 06:56:59 +0100	[thread overview]
Message-ID: <1106200619.16877.285.camel@tglx.tec.linutronix.de> (raw)
In-Reply-To: <1106178329.21490.19.camel@cog.beaverton.ibm.com>

On Wed, 2005-01-19 at 15:45 -0800, john stultz wrote:
> On Thu, 2005-01-20 at 00:26 +0100, Thomas Gleixner wrote:
> > On Wed, 2005-01-19 at 14:59 -0800, George Anzinger wrote:
> > > I don't think you will ever get good time if you EVER reprogramm the PIT.
> > 
> > Why not ? If you have a continous time source, which keeps track of
> > "ticks" regardless the CPU state, why should PIT reprogramming be evil ?
> 
> That's a big if.  The problem is that while the PIT has its problems
> (such as lost ticks), it runs at a known frequency and is reasonably
> accurate. Time sources like the TSC have the problem that it doesn't run
> at a known frequency, and thus we have to calibrate it (usually using
> the PIT). Unfortunately this calibration is not extremely accurate
> (George can go on to the reasons why), which causes the TSC to be a poor
> stand alone time source.
>
> That said, the PIT is a poor time source as well, as it does loose ticks
> and is very slow to access. ACPI PM and HPET are better as they don't
> have the lost tick problem, but they are still off chip and slower to
> access then the TSC.

And they aren't available on every board - especially not on embedded
ones. 

> For an example of your ideal continuous timesource, check out the
> timebase on PPC/PPC64. Other arches also have similar well behaved time
> hardware. 

Yes, I'm aware of that. Unfortunately we live in the x86 universe. 

tglx



  reply	other threads:[~2005-01-20  5:57 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-19  0:05 Tony Lindgren
2005-01-19  0:22 ` Lee Revell
2005-01-19  1:04   ` Tony Lindgren
2005-01-19  4:21 ` Benjamin Herrenschmidt
2005-01-19  5:07   ` Tony Lindgren
2005-01-19  5:21     ` Tony Lindgren
2005-01-19  5:44       ` Benjamin Herrenschmidt
2005-01-19  6:26         ` Tony Lindgren
2005-01-19  9:45           ` Pavel Machek
2005-01-19  5:28     ` Benjamin Herrenschmidt
2005-01-19  6:37       ` Tony Lindgren
2005-01-19  7:08         ` Benjamin Herrenschmidt
2005-01-19  7:31           ` Tony Lindgren
2005-01-19 14:11       ` Stephen Frost
2005-01-19 17:17         ` Tony Lindgren
     [not found]         ` <OFDC470564.D4624EB3-ON41256F8E.00512848-41256F8E.005428CC@de.ibm.com>
2005-01-19 17:37           ` Tony Lindgren
2005-01-19  9:43 ` Pavel Machek
2005-01-19 17:13   ` Tony Lindgren
2005-01-19 17:48     ` Andrea Arcangeli
2005-01-19 18:19       ` Tony Lindgren
2005-01-19 19:12         ` Andrea Arcangeli
2005-01-19 19:17           ` Tony Lindgren
2005-01-19 19:34             ` Tony Lindgren
2005-01-19 22:42               ` Andrea Arcangeli
2005-01-19 22:59       ` George Anzinger
2005-01-19 23:17         ` Tony Lindgren
2005-01-20  0:24           ` George Anzinger
2005-01-20  8:04             ` Tony Lindgren
2005-01-20 23:10               ` George Anzinger
2005-01-21 17:35                 ` Tony Lindgren
2005-01-21 20:23                   ` George Anzinger
2005-01-19 23:26         ` Thomas Gleixner
2005-01-19 23:45           ` john stultz
2005-01-20  5:56             ` Thomas Gleixner [this message]
2005-01-20  0:39           ` George Anzinger
2005-01-20  3:15         ` Valdis.Kletnieks
2005-01-19 11:36 ` Pavel Machek
2005-01-19 17:11   ` Tony Lindgren
2005-01-19 17:30     ` Arjan van de Ven
2005-01-19 17:41       ` Tony Lindgren
2005-01-19 22:06     ` Pavel Machek
2005-01-19 23:08       ` Tony Lindgren
2005-01-19 23:46         ` Pavel Machek
2005-01-19 23:53           ` Tony Lindgren
2005-01-19 23:59         ` Pavel Machek
2005-01-20  0:07           ` Tony Lindgren
2005-01-20  0:44             ` Pavel Machek
2005-01-20  0:54             ` Pavel Machek
2005-01-20  7:39               ` Tony Lindgren
2005-01-19 22:20     ` Pavel Machek
2005-01-20  4:02 ` Zwane Mwaikambo
2005-01-21 17:48   ` Tony Lindgren
2005-01-21 18:27     ` Zwane Mwaikambo
2005-01-21 18:38       ` Tony Lindgren
2005-01-21 18:54       ` Pavel Machek
2005-01-21 21:23         ` Zwane Mwaikambo
2005-01-21 21:29           ` Pavel Machek
2005-01-21 20:25       ` George Anzinger
2005-01-21 21:38         ` Zwane Mwaikambo
2005-01-22  7:24           ` George Anzinger

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=1106200619.16877.285.camel@tglx.tec.linutronix.de \
    --to=tglx@linutronix.de \
    --cc=andrea@suse.de \
    --cc=george@mvista.com \
    --cc=johnstul@us.ibm.com \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@suse.cz \
    --cc=schwidefsky@de.ibm.com \
    --cc=tony@atomide.com \
    --cc=zwane@arm.linux.org.uk \
    /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®