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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,004 次查看
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

标签 (2)
标记 (4)
0 项奖励
回复
1 回复

890 次查看
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 项奖励
回复