From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Yogi A. Patel" <yapatel@gatech.edu>, xenomai@xenomai.org
Subject: Re: [Xenomai] Parallel Computing?
Date: Tue, 12 Aug 2014 21:20:46 +0200 [thread overview]
Message-ID: <53EA690E.50101@xenomai.org> (raw)
In-Reply-To: <D36F9745-B497-4700-8BDC-92281227E1D4@gatech.edu>
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.
next prev parent reply other threads:[~2014-08-12 19:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-12 18:56 [Xenomai] Parallel Computing? Yogi A. Patel
2014-08-12 19:20 ` Gilles Chanteperdrix [this message]
2014-08-16 20:59 ` Yogi A. Patel
2014-08-16 21:34 ` Gilles Chanteperdrix
2014-08-16 21:37 ` Yogi A. Patel
2014-08-17 6:30 ` Philippe Gerum
2014-08-21 17:21 ` Yogi A. Patel
2014-08-21 17:47 ` 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=53EA690E.50101@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
--cc=yapatel@gatech.edu \
/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.