All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Angielski <jeff@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] How to chose between xenomai and preempt RT
Date: Wed, 03 Jun 2009 09:36:17 -0400	[thread overview]
Message-ID: <4A267C51.4010304@domain.hid> (raw)
In-Reply-To: <4A258624.4020508@domain.hid>

Gilles Chanteperdrix wrote:
>>
>> As time marches on, the CONFIG_PREEMPT is getting closer to hard 
>> realtime, especially with the interrupt threading, but I don't think 
>> that time is now.
> 
> threaded interrupts are no silver bullet, they are essentially replacing
> interrupt latencies with kernel-space scheduling latencies; on x86, this
> may not make that much of a difference, but on low-end platform it does.
> 
> See also:
> https://mail.gna.org/public/xenomai-help/2008-05/msg00043.html
> https://mail.gna.org/public/xenomai-help/2009-06/msg00005.html

I meant to write PREEMPT_RT is getting closer to hard realtime.  Sorry 
for the confusion.

As for the interrupt threads, the advantage is not in the latency, it is 
in the ability to control the scheduling of the handlers.  In theory, 
you can schedule your handler the have the highest priority handler.

I totally agree on the different real life performance on the low end 
platforms vs the x86 desktops.

In the end, I think this is a good discussion to have [and keep up to 
date] since it bring out the fundamental design choices of doing 
realtime using Linux.

-- 
Jeff Angielski
The PTR Group
www.theptrgroup.com


  reply	other threads:[~2009-06-03 13:36 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01 22:14 [Xenomai-help] How to chose between xenomai and preempt RT Adrien LECOINTRE
2009-06-02 19:43 ` Jeff Angielski
2009-06-02 20:05   ` Gilles Chanteperdrix
2009-06-03 13:36     ` Jeff Angielski [this message]
2009-06-03 14:30       ` Gilles Chanteperdrix
2009-06-02 20:15   ` Jan Kiszka
     [not found] <2060886493.147971244020544226.JavaMail.root@domain.hid>
2009-06-03  9:17 ` Adrien LECOINTRE
2009-06-03  9:34   ` Gilles Chanteperdrix
2009-06-03  9:44     ` Gilles Chanteperdrix
2009-06-03 12:16   ` 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=4A267C51.4010304@domain.hid \
    --to=jeff@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.