From: "Karl Reichert" <Karl-Trampe@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Pros/Contras Xenomai - CONFIG_PREEMPT_RT
Date: Tue, 06 May 2008 18:06:03 +0200 [thread overview]
Message-ID: <20080506160603.216980@domain.hid> (raw)
Hello all,
I'm currently reading some documents about (standard) linux kernel 2.6.23 and it's latest changes. I saw, that it has high resolution timers available, which can reduce interrupt latency a lot. It's said that they also reduced critical sections occurence and their duration, all in all bringing linux closer to real time requirements.
I also checked the real time patches of Ingo Molnar and Thomas Gleixner (CONFIG_PREEMPT_RT) and the wiki [1] states, that their patches are replacing most kernel spinlocks with mutexes that support priority inheritance, as well as moving all interrupt and software interrupts to kernel threads. Latency tests state times of 24us for a Pentium 4, 2.8 GHz with their patches applied. [2], [3]
I see a lot of advantages from this solution:
1) As their patches do have a good chance to be included in linux kernel in future, one doesn't has to patch anymore the kernel to get real time behavoir.
2) There is only one API to use. No matter if you are creating a program as real time task or not, you can use the same API.
3) One can use CPU isolation on dual core machines, making one core running only real time tasks and the other the rest.
4) As they don't use anything like nucleus, there is less overhead.
These are the thoughts running through my mind at the moment. I would like to discuss these with you. What do you think about this? Where do you see pros and contras for xenomai / CONFIG_PREEMPT_RT?
Thanks in advance for your input!
Karl
[1] http://rt.wiki.kernel.org/index.php/Main_Page
[2] http://linuxdevices.com/files/article081/Siro.pdf
[3] http://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch
next reply other threads:[~2008-05-06 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-06 16:06 Karl Reichert [this message]
2008-05-06 16:16 ` [Xenomai-help] Pros/Contras Xenomai - CONFIG_PREEMPT_RT Gilles Chanteperdrix
2008-05-06 17:27 ` Jan Kiszka
2008-05-06 19:19 ` Wolfgang Denk
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=20080506160603.216980@domain.hid \
--to=karl-trampe@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.