All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] parallelport module for measuring	external	interrupt latency
Date: Wed, 03 Jan 2007 21:58:54 +0100	[thread overview]
Message-ID: <459C190E.3080601@domain.hid> (raw)
In-Reply-To: <459C13C5.9010007@domain.hid>

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

Markus Franke wrote:
> Jan Kiszka wrote:
>> Even if the notification is not time-critical, you first have to get out
>> of the Xenomai context in a sane manner. rtdm_nrtsig may help if you
>> don't want to use the RT scheduler for user task wakeup.
> 
> OK. Thank you for the hint with rtdm_nrtsig_*. The kernel-module works now.
> 
> But I have still a problem when generating interrupts with a high
> frequency, let's say 100us. Then I get large latencies in the range of
> 1,5 seconds. Can you see any reason for this. An intervall of 1ms works
> without any problems and the latencies reach maybe 13us in worst case.

Unless you have a very slow hardware that already overruns at 10 KHz
(rather unlikely) or some SMI-related latencies bite you (see
TROUBLESHOOTING) - I have no clue right now. Do standard Xenomai tests
show similar abnormal latencies?

If no, you may want to try the ipipe latency tracer: enable it in the
kernel hacking section and put a xntrace_user_freeze() in your
application right after when it detected some extreme latency. See the
wiki for more details on the tracer.

Jan


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

  reply	other threads:[~2007-01-03 20:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-03  8:47 [Xenomai-help] parallelport module for measuring external interrupt latency Markus Franke
2007-01-03  9:50 ` Jan Kiszka
2007-01-03 10:20   ` Markus Franke
2007-01-03 10:48     ` Jan Kiszka
2007-01-03 20:36       ` Markus Franke
2007-01-03 20:58         ` Jan Kiszka [this message]
     [not found]         ` <459CC4D9.9080404@domain.hid>
2007-01-04 18:27           ` Markus Franke

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=459C190E.3080601@domain.hid \
    --to=jan.kiszka@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.