From: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
To: Marko Rauhamaa <marko@pacujo.net>
Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org
Subject: Re: Is the clockevent resolution fine-grained enough?
Date: Fri, 2 Mar 2007 18:04:40 -0300 [thread overview]
Message-ID: <20070302210440.GB11786@khazad-dum.debian.net> (raw)
In-Reply-To: <m3k5xzy2w3.fsf@elektro.pacujo.net>
On Fri, 02 Mar 2007, Marko Rauhamaa wrote:
> I'm afraid you didn't quite understand what I was getting at. Say the
> user programs the frequency to be 109,000 Hz. That means a nominal clock
> interval of ~9174.3119 ns. Now the clockevent interface forces me to
> round it down to 9174 ns. That means the clock interrupts fall behind
> with respect to the other parts in the system that implement 109,000 Hz
> much more to the letter. The error grows by 34 µs every second so that
> after 8 hours, we are lagging by a whole second.
Shouldn't you switch to a design where these errors become jitter instead of
cumulative?
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
next prev parent reply other threads:[~2007-03-02 21:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-02 2:34 Is the clockevent resolution fine-grained enough? Marko Rauhamaa
2007-03-02 16:05 ` Thomas Gleixner
2007-03-02 17:24 ` Marko Rauhamaa
2007-03-02 21:04 ` Henrique de Moraes Holschuh [this message]
2007-03-03 8:54 ` Thomas Gleixner
2007-03-04 2:46 ` Marko Rauhamaa
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=20070302210440.GB11786@khazad-dum.debian.net \
--to=hmh@hmh.eng.br \
--cc=linux-kernel@vger.kernel.org \
--cc=marko@pacujo.net \
--cc=tglx@linutronix.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