[Xenomai] Parallel Computing?

Philippe Gerum rpm at xenomai.org
Sun Aug 17 08:30:34 CEST 2014


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