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?
>> 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
> 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:
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.
Xenomai-core mailing list