From: Jan Kiszka <jan.kiszka@domain.hid>
To: Markus.Franke@domain.hid
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] measuring context switch primary<->secondary mode
Date: Thu, 30 Nov 2006 16:34:16 +0100 [thread overview]
Message-ID: <456EF9F8.6080409@domain.hid> (raw)
In-Reply-To: <456EE9C4.6000203@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]
Markus Franke wrote:
> Jan Kiszka wrote:
>> CONFIG_PREEMPT helps here to reduce the worst case (PREEMPT_RT even
>> more, but it currently collides with patching the kernel). On the other
>> hand, it increases the overhead for your Linux subsystem (check with
>> lmbench e.g.). Still, depending on what you need, you are able to tune
>> Linux'es own preemption model freely when using Xenomai and I-pipe.
>
> So at the moment it is not possible to use PREEMPT_RT-Patch and
> Xenomai/Adeos together?
[adding the list to CC again]
If you browse the Xenomai and I-pipe code, you will find some hints that
this once worked and Xenomai is basically prepared for it.
To combine both patches today, we would have to adopt I-pipe not only to
genirq (which is almost done for 2.6.19), but also to the full
hrtimer+dyntick (clocksource/clockevent) infrastructure. Moreover, quite
some time has passed since the last I-pipe/-rt combo patch, and both
PREEMPT_RT and I-pipe changed since then. Do there might be more subtle
issues hidden for a combination.
Still, this is technically feasible and will come over the time when
PREEMPT_RT continues to "leak" into mainline. The question is if using
the result (CONFIG_IPIPE+CONFIG_PREEMPT_RT) is also what you want:
Combining both strategies also means adding overhead of I-pipe's
paravirtualisations and PREEMPT_RT's IRQ threading & sleeping locks.
The future development, Xenomai 3, therefore aims at rebasing the
nucleus over the -rt patch while keeping its ability to run
alternatively over vanilla + I-pipe. Depending on your requirements -
full system preemptibility vs. focused RT-subsystem - you will then be
able to switch the model without application or driver rewrites.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
next prev parent reply other threads:[~2006-11-30 15:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-29 9:18 [Xenomai-help] measuring context switch primary<->secondary mode Markus Franke
2006-11-29 9:54 ` Gilles Chanteperdrix
2006-11-29 11:40 ` Markus Franke
2006-11-30 10:19 ` Ulrich Schwab
2006-11-30 13:48 ` Markus Franke
2006-11-30 14:04 ` Jan Kiszka
[not found] ` <456EE9C4.6000203@domain.hid>
2006-11-30 15:34 ` Jan Kiszka [this message]
2006-11-30 14:30 ` Ulrich Schwab
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=456EF9F8.6080409@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Markus.Franke@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.