All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Beginner's question / testsuite / latency
Date: Mon, 31 Jul 2006 11:57:32 +0200	[thread overview]
Message-ID: <1154339852.4977.22.camel@domain.hid> (raw)
In-Reply-To: <44CD2C0C.3@domain.hid>

On Mon, 2006-07-31 at 00:00 +0200, Jan Kiszka wrote:

<snip>

> > I'd like to explain why we don't we see any other routines than
> > xnthread_aperiodic_handler called from xntimer_do_tick_aperiodic in the
> > call frame? Even in case of massive jittery (e.g. > 300 us late) in one
> > shot, we should not spin in this code, due to the resync done in
> > xnpod_wait_thread_timeout - assuming we only have a single outstanding
> > timer (+ the host tick, but this should not be an issue).
> 
> xnpod_wait_thread_timeout? Do you mean xnpod_wait_thread_period? How
> should it help us as long as we are in the tick handler?
> 

Yes, I meant xnpod_wait_thread_period; forget about this, brain is
missing ECC feature. I misread the tracer output.

> > 
> >> I rather think, also when looking at Julien's second trace, that we have
> >> some issue with X in user-space here, probably in combination with weird
> >> VIA hardware stalling IRQ delivery for a "few" microseconds. Let's see
> >> if the irqbench gives similar results.
> >>
> > 
> > The problem is that I can reproduce X-related jittery (> 2 ms in a row)
> > on one of my test boxen when dragging windows over the screen, without
> > triggering the NMI watchdog set to 100 us (and guess what, the chipset
> > in question is from VIA).
> 
> Does NMI management happen in the CPU or has the chipset any influence
> as well?

I was referring to something like SMI# -> SMM which disables IRQs _and_
the NMI# and INIT# lines, in which case, the chipset would be at the
root of the problem. Since we cannot guarantee that our existing SMI
work-around blocks all potential SMI sources/events (hence the name), we
cannot exclude such possibility.

>  If yes, I could imagine what VIA does here... Have you already
> checked what irqbench records?
> 

Not yet.

> Jan
> 
-- 
Philippe.




  reply	other threads:[~2006-07-31  9:57 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-20 21:17 [Xenomai-help] Beginner's question / testsuite / latency Julien Heyman
2006-07-20 21:58 ` Jan Kiszka
2006-07-22  9:52   ` Julien Heyman
2006-07-22 17:17     ` Jan Kiszka
2006-07-28 21:17       ` Julien Heyman
2006-07-28 21:32         ` Gilles Chanteperdrix
2006-07-30 17:29           ` Julien Heyman
2006-07-30 17:49             ` Philippe Gerum
2006-07-30 20:39             ` Gilles Chanteperdrix
2006-07-29 14:20         ` Jan Kiszka
2006-07-30 17:36           ` Julien Heyman
2006-07-30 18:03           ` Philippe Gerum
2006-07-30 19:33             ` Jan Kiszka
2006-07-30 20:03               ` Gilles Chanteperdrix
2006-07-30 22:00                 ` Jan Kiszka
2006-07-30 21:23               ` Philippe Gerum
2006-07-30 22:00                 ` Jan Kiszka
2006-07-31  9:57                   ` Philippe Gerum [this message]
2006-07-31 11:39                 ` Gilles Chanteperdrix
2006-07-31 14:19                   ` Philippe Gerum
2006-07-31 20:49                     ` Julien Heyman
2006-08-01 13:13                       ` Gilles Chanteperdrix
2006-08-01 13:38                         ` Philippe Gerum
2006-08-01 14:30                     ` Philippe Gerum
2006-08-01 14:45                       ` [Xenomai-core] [RFC] tame the watchdog (was: Beginner's question / testsuite / latency) Jan Kiszka
2006-08-02  8:52                         ` [Xenomai-core] " Philippe Gerum
2006-08-02 11:04                           ` [Xenomai-core] Re: [RFC] tame the watchdog Jan Kiszka
2006-07-21 13:25 ` [Xenomai-help] Beginner's question / testsuite / latency Gilles Chanteperdrix
2006-07-22  9:58   ` Julien Heyman

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=1154339852.4977.22.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=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.