All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: John Morris <john@zultron.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] 32-bit regression tests:  CLOCK_REALTIME wonkiness
Date: Sat, 19 Jan 2013 21:25:28 +0100	[thread overview]
Message-ID: <50FB0138.2090400@xenomai.org> (raw)
In-Reply-To: <50FAFF77.8020803@zultron.com>

On 01/19/2013 09:17 PM, John Morris wrote:

> Hi list,
> 
> These are the final tests on 32-bit before the initial RedHat packages
> can be released for wider testing.
> 
> On this host, a Dell Celeron with ICH5 chipset, the CLOCK_REALTIME
> numbers look funny.  All other tests run correctly.
> 
> ++ /usr/lib/xenomai/clocktest -T 30
> == Tested clock: 0 (CLOCK_REALTIME)
> CPU      ToD offset [us] ToD drift [us/s]      warps max delta [us]
> --- -------------------- ---------------- ---------- --------------
>   0                  0.0            0.000          0            0.0
> ^[[1A  0           -1074721.3           39.245          0            0.0
> ^[[1A  0           -1074711.5           39.172          0            0.0
> ^[[1A  0           -1074701.8           39.096          0            0.0
> ^[[1A  0           -1074691.9           39.184          0            0.0
> 
> This is Gilles's i-pipe dev tree and xenomai master pulled yesterday,

> kernel 3.5.7.


Nothing really wrong here, the ToD offset is due to the fact that the
realtime clock was changed between the time Xenomai read it to set its
own realt-ime clock, and the time clocktest is run, and the drift is due
to the tsc frequency adjustments made by Linux after Xenomai is started.

-- 
                                                                Gilles.


  reply	other threads:[~2013-01-19 20:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-19 20:17 [Xenomai] 32-bit regression tests: CLOCK_REALTIME wonkiness John Morris
2013-01-19 20:25 ` Gilles Chanteperdrix [this message]
2013-01-19 20:32   ` John Morris
2013-01-19 20:34     ` Gilles Chanteperdrix
2013-01-19 22:12 ` John Morris
2013-01-19 22:14   ` Gilles Chanteperdrix
2013-01-19 22:16     ` Gilles Chanteperdrix
2013-01-19 22:50       ` John Morris
2013-01-19 22:52         ` Gilles Chanteperdrix
2013-01-19 22:57           ` John Morris
2013-01-19 23:03             ` Gilles Chanteperdrix
2013-01-20 19:22               ` John Morris

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=50FB0138.2090400@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=john@zultron.com \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.