All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Steven Seeger <steve@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] no-brainer realtime issue
Date: Thu, 16 Feb 2006 17:34:22 +0100	[thread overview]
Message-ID: <43F4A98E.7060508@domain.hid> (raw)
In-Reply-To: <C019E68B.23F6%steve@domain.hid>

Steven Seeger wrote:
> I have a xenomai userspace application that does the following:
> 
> A thread of priority 90 toggles a bit (outb) to move a stepper motor.
> 
> A thread of priority 10 updates the display once a second.
> 
> The motor thread is periodic and uses rt_task_wait_period(). The display
> thread just uses sleep(1).
> 
> My question is this: the priority 90 thread is higher priority, and doesn't
> do anything relating to linux system calls. Whenever the display thread
> updates the display, the motor thread stalls momentarily.

X-window graphic card driver masking hw IRQs? You should see that too when running 
the latency tests while moving windows around the desktop.

Btw, how to you measure/observe the stalled state?

> 
> Any idea why this is?
> 
> Steven
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 

Philippe.


  reply	other threads:[~2006-02-16 16:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-16 16:21 [Xenomai-help] no-brainer realtime issue Steven Seeger
2006-02-16 16:34 ` Philippe Gerum [this message]
2006-02-16 16:41 ` Jan Kiszka
2006-02-16 17:21   ` Philippe Gerum
     [not found] <43F4D077.10003@domain.hid>
2006-02-16 19:48 ` Steven Seeger
2006-02-17  8:17   ` Philippe Gerum
2006-02-17 14:04     ` Steven Seeger
2006-02-17 14:28       ` Philippe Gerum
2006-02-17 14:37         ` Steven Seeger
2006-02-17 15:00         ` Steven Seeger
2006-02-17 15:59           ` Philippe Gerum
2006-02-17 16:05             ` Steven Seeger
2006-02-17 16:27               ` Philippe Gerum
2006-02-17 17:53             ` Steven Seeger
2006-02-17 18:29               ` Philippe Gerum
2006-02-17 18:37                 ` Philippe Gerum
2006-02-21 13:50                 ` Steven Seeger
2006-02-21 15:04             ` Steven Seeger
2006-02-18 13:05       ` Gilles Chanteperdrix

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=43F4A98E.7060508@domain.hid \
    --to=rpm@xenomai.org \
    --cc=steve@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.