IMx6Q SabreSD: Explicitly running processes in different cores - Linux 3.0.35 (Ubuntu 12.04 RFS)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMx6Q SabreSD: Explicitly running processes in different cores - Linux 3.0.35 (Ubuntu 12.04 RFS)

464 Views
nvkumar
Contributor I

Hello,

As SabreSD has 4 cores, how can we run applications(Processes) explicitly on different cores, for examples Process1 --> Core1, Process2 --> Core2, Process3 --> Core3 and Process4-->Core4.

Also is it possible to different threads of the same process in different cores.

Here are the details of our system:

Hardware: i.Mx6Q SabreSD Board.

OS: Kernel - 3.0.35, RootFS - Ubuntu 12.04

Labels (2)
0 Kudos
1 Reply

350 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I believe you can use this function  sched_setaffinity(2) - Linux man page

I hope that helps.

Alejandro

0 Kudos