cancel
Showing results for 
Search instead for 
Did you mean: 

How can I run two processes each on a CA7 core?

OBaselga
Associate III

Hi everyone,

I'm coding a C application on Linux which has 2 processes. In order to optimize performance, I would like to run each one on a differente core CA7 - as I'm working whit dual-core STM32MP157F MPU. How can I achieve this? Any useful framework?

Regards

1 REPLY 1
PatrickF
ST Employee

Hi,

I'm not SW expert, but I expect this is automatically (and dynamically) managed by Linux scheduler depending on thread load (default weak affinity).

There is probably some ways to force affinity to specific processor, but I'm not sure it is required except very specific cases.

On Starter Package, you could already use 'top' command, then enable column 'P = Last Used Cpu ' (= Cortex-A7 core 0 or 1) to see real time core usage for each thread.

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.