All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] How many cores Xenomai can support? how to extend to more cores, thanks!
@ 2011-11-17  0:57 Lou, Yuanzhi
  2011-11-17  8:03 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Lou, Yuanzhi @ 2011-11-17  0:57 UTC (permalink / raw)
  To: xenomai@xenomai.org

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

In Xenomai’s native/task.h define as:

#define T_CPU(cpu) (1 << (24 + (cpu & 7))) /* Up to 8 cpus [0-7] */
#define T_CPUMASK  0xff000000

Which means Xenomai only can support 8 cores at most?

BRs
Lou Yuanzhi


[-- Attachment #2: Type: text/html, Size: 5822 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai-help] How many cores Xenomai can support? how to extend to more cores, thanks!
  2011-11-17  0:57 [Xenomai-help] How many cores Xenomai can support? how to extend to more cores, thanks! Lou, Yuanzhi
@ 2011-11-17  8:03 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2011-11-17  8:03 UTC (permalink / raw)
  To: xenomai

On 11/17/2011 01:57 AM, Lou, Yuanzhi wrote:
> InXenomai’s native/task.h define as:
> 
> #define T_CPU(cpu) (1 << (24 + (cpu & 7))) /* Up to 8 cpus [0-7] */
> 
> #define T_CPUMASK 0xff000000
> 
> Which means Xenomai only can support 8 cores at most?

The Xenomai core has no internal limit on the number of cores beyond the
one Linux defines by CONFIG_NR_CPUS. However, the locking model we use
has a low overhead (code and complexity) with few CPUs used in real-time
mode, at the expense of being sub-optimal with a large number of CPUs.

The API you mention simply reflects that fact.

Again: this design affects the number of CPUs used in real-time mode
(i.e. primary Xenomai mode), not necessarily the overall number of CPUs
present in the system and only available to regular Linux processing.

> 
> BRs
> 
> Lou Yuanzhi
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help


-- 
Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-17  8:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-17  0:57 [Xenomai-help] How many cores Xenomai can support? how to extend to more cores, thanks! Lou, Yuanzhi
2011-11-17  8:03 ` Philippe Gerum

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.