All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Syed Amer Gilani <amg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] tool for external jitter measurement
Date: Wed, 29 Nov 2006 14:50:41 +0100	[thread overview]
Message-ID: <456D9031.30807@domain.hid> (raw)
In-Reply-To: <ac3922a00611290435j11e339a1l55743fe4e9cb43d0@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1001 bytes --]

Syed Amer Gilani wrote:
> I wrote with my little Xenomai experience a rtdm kernel module witch
> generates an external signal to measure it on an Oscilloscope. The
> Result is satisfying. With no other load there is nearly no jitter.
> With "dd if=/dev/zero of=/dev/null" and "ping -f" from an external
> machine the jitter is +-15µsec.

15 us looks fairly good, maybe too good. You may also want to try the
cache calibrator as load (see TROUBLESHOOTING for details).

> My Question now is if my approach is OK or is there a better way to
> generate the signal with Xenomai which would result in better results.
> Maybe by using hardware timer interrupt or something?

We have postponed the API definition for RTDM timers until the nucleus
timers have been reworked (scheduled for 2.4), but that service would
probably give you even better results (no reschedule, pins will be
toggled in IRQ context). Check drivers/testing/timerbench.c for a hack
to achieve this already.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      parent reply	other threads:[~2006-11-29 13:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-29 12:35 [Xenomai-help] tool for external jitter measurement Syed Amer Gilani
2006-11-29 12:43 ` [Xenomai-help] " Syed Amer Gilani
2006-11-29 13:50 ` Jan Kiszka [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=456D9031.30807@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=amg@domain.hid \
    --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.