[Xenomai] Parallel Computing?

Yogi A. Patel yapatel at gatech.edu
Thu Aug 21 19:21:44 CEST 2014

Hi -

I have been trying to figure this out - and had a similar question.

When configuring the kernel, there is an option to “enable max number of cpus”. When I enable this, the compile fails and said that there was an error in “gatekeeper with set_num_cpus”. 

Has anyone else experienced a similar error?


On Aug 17, 2014, at 2:30 AM, Philippe Gerum <rpm at xenomai.org> wrote:

> On 08/16/2014 10:59 PM, Yogi A. Patel wrote:
>> Will this approach work with Xenomai 3.x, too?
> Yes.
>> Yogi
>> On Aug 12, 2014, at 3:20 PM, Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org> wrote:
>>> On 08/12/2014 08:56 PM, Yogi A. Patel wrote:
>>>> Hi -
>>>> I am interested in using Xenomai with multiple cores. When I run “cat
>>>> /proc/cpuinfo | grep “model name” I see that there are two CPUs
>>>> listed.
>>>> My system using data acquisition from a NI DAQ (using ANALOGY
>>>> driver), processes it with some model, and then provides some output
>>>> through the NI DAQ.
>>>> I would like to make the system faster (both real-time and
>>>> computation) by off loading the acquisition and data processing parts
>>>> to one CPU and then letting the user interactions and the GUI
>>>> (Qt-based) processed by the other CPU.
>>>> Is this possible? If so, any examples on how to do this?
>>> Xenomai never migrates a thread running in primary mode, so the job of
>>> deciding on which cpu to run a task is left to Linux. So, simply use
>>> sched_setaffinity to decide on which cpu to run a thread.
>>> -- 
>>>                                                               Gilles.
>> _______________________________________________
>> Xenomai mailing list
>> Xenomai at xenomai.org
>> http://www.xenomai.org/mailman/listinfo/xenomai
> -- 
> Philippe.

More information about the Xenomai mailing list