From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Shashank Bhatia <shashank.bhatia@domain.hid>
Cc: Xenomai Help <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] Regarding enabling SMP with Xenomai
Date: Sat, 20 Jun 2009 15:42:53 +0200 [thread overview]
Message-ID: <4A3CE75D.1050005@domain.hid> (raw)
In-Reply-To: <1245495740.3498.8.camel@domain.hid>
Shashank Bhatia wrote:
> Dear All,
> I have been trying to install Xenomai on my Dual Core
> Intel Machine. This CPU has 2 cores, so i wanted to enable the SMP flag
> in the kernel configuration.
>
> I started with downloading kernel ver 2.6.25.11 from kernel.org, and got
> adeos patch as well as xenomai-2.4.7 downloaded. I used the
> prepare-kernel script for patching.
These are outdated versions. Especially on x86, especially with SMP
configuration. So, please use the latest stable release of Xenomai
(xenomai-2.4.8), using the I-pipe patches it proposes. And we also would
be interested if you could test of the release candidate which has just
been released.
>
> When i go to the make menuconfig. The real time subsystem section gives
> a meassage that either the HPET_TIMER must be turned off or
> X68_LOCAL_APIC must be turned off.
>
> After a lot of trials, i failed to find the options for turning of the
> X86_LOCAL_APIC flag.
That is because SMP mode needs local APIC, so, if you want to disable
local APIC, you need to disable SMP. But I think you misunderstood the
message, the message is: "NOTE: Xenomai needs either X86_LOCAL_APIC
enabled or HPET_TIMER disabled.", so what you should do is disable
HPET_TIMER.
>
> Then i went on to fiddle and do some trials.
>
> I tried with subarchitecture type PC compatible, and the Processor type
> to be Core2 or newer. The xenomai gets installed, but the latency i get
You should always choose the processor which you really have, this is in
the FAQ too.
> is really high. I am getting a maximum latency of around 30 us and even
> this is not constant. it varies a lot.
30us is a bit high, but not that high. An SMI induced latency is
something larger than, say, 80us. You should try more recent releases to
see if you get better results.
>
> After some googling i found that i must have the SMI workaround.
> I enabled that and recompiled my kernel. But could not get good
> latencies still.
Why using Google? Xenomai documentation is available on Xenomai site.
The SMI option is described in an FAQ. And also in the TROUBLESHOOTING
option which comes with Xenomai sources.
--
Gilles.
next prev parent reply other threads:[~2009-06-20 13:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-20 11:02 [Xenomai-core] Regarding enabling SMP with Xenomai Shashank Bhatia
2009-06-20 13:42 ` Gilles Chanteperdrix [this message]
2009-06-22 11:24 ` Shashank Bhatia
2009-06-22 12:00 ` 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=4A3CE75D.1050005@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=shashank.bhatia@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.