All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] What does activating SMP mean?
@ 2018-10-01  5:33 박재호
  2018-10-01  7:42 ` Per Oberg
  0 siblings, 1 reply; 3+ messages in thread
From: 박재호 @ 2018-10-01  5:33 UTC (permalink / raw)
  To: xenomai

Hi, all



I thought that activating SMP makes tasks using all cpu cores, but I realized that it doesn't.

I did not explicitly specify the CPU when I created the task.

I have created two xenomai tasks and checked to see how much cpu share the task has on any cpu with / proc / xenomai / stat.

As a result, we confirmed that only one cpu of two cpu works.



So we used T_CPU () to allocate different CPU cores for each task when we created the task.

As a result, you can see that both tasks are running on two CPUs.



I expected to use both CPUs when I enabled SMP, but I did not. Why is not it?

Also, does one task only run on one cpu?





The environment I used is shown below.

------------------------------------------------------------------------

zybo-z7-20(zynq-7000)

Dual-Core ARM Coretex-A9 MPCore Up to 866MHz



xenomai 2.6.5

kernel 3.14.2

ubuntu 14.04

------------------------------------------------------------------------



thank you for your advice.


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

end of thread, other threads:[~2018-10-01  7:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-01  5:33 [Xenomai] What does activating SMP mean? 박재호
2018-10-01  7:42 ` Per Oberg
2018-10-01  7:48   ` Jan Kiszka

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.