All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: gmane@domain.hid
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Tiny Core Linux + xenomai/RTAI
Date: Tue, 05 Apr 2011 19:17:52 +0200	[thread overview]
Message-ID: <4D9B4EC0.5080701@domain.hid> (raw)
In-Reply-To: <infaa9$eoe$1@domain.hid>

Robert Berger wrote:
> Hi Krishna,
> 
> On 04/05/2011 04:48 PM, krishna m wrote:
>> Has anyone tried applying Xenomai or RTAI patch to the tiny core Linux?
> 
> No
> 
>> Will it give a better performance compared to the plain vanilla Linux
>> because the kernel footprint is small?
> 
> I guess the Linux Kernel is pretty much the same with the vanilla
> kernel. The reason it might offer better performance does most likely
> not come from the kernel, but because in such a small system less
> services are running, which might eat less CPU time.
> 
> Will performance be better?
> 
> Depends on what you mean with performance.
> 
> If you apply Xenomai/RTAI to a vanilla Linux kernel throughput and
> number crunching (performance) will get worse and determinism will get
> better.
> 
> Real-time is not about "performance" (speed, throughput), but about
> determinism and those are conflicting requirements.
> 
> You can have a look at an article of mine for a more detailed
> explanation of what I mean:
> http://www.eetimes.com/design/embedded/4204740/Getting-real--time--about-embedded-GNU-Linux

Ok, we are on Xenomai-core, so, let us discuss. If we admit that the OP
is indeed talking about latencies (a quantifiable measure of
determinism), suggesting that the effect on cache of the Linux kernel
might influence the latencies is not completely irrelevant: the
benchmark we make with Xenomai tend to consistently show that cache
thrashing by the Linux kernel has an effect on latencies.

Also, having shorter latencies means that we cover a larger range of
user-application needs. So, we try to have short latencies.

-- 
					    Gilles.


  reply	other threads:[~2011-04-05 17:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 13:48 [Xenomai-core] Tiny Core Linux + xenomai/RTAI krishna m
2011-04-05 14:51 ` Robert Berger
2011-04-05 17:17   ` Gilles Chanteperdrix [this message]
2011-04-05 18:36     ` Robert Berger
2011-04-05 19:12       ` Gilles Chanteperdrix
2011-04-06 16:57         ` krishna m
2011-04-05 15:22 ` 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=4D9B4EC0.5080701@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=gmane@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.