[Xenomai] Parallel Computing?

Yogi A. Patel yapatel at gatech.edu
Sat Aug 16 22:59:00 CEST 2014

Will this approach work with Xenomai 3.x, too?


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.

More information about the Xenomai mailing list