I’m trying to find out a bit more about how the Linux implementation for i.MX8 uses the two core clusters (A72 and A53). Does the OS / CPU configuration allow for full heterogeneous multiprocessing via global task scheduling?
Hi @BrunoSSB and Welcome to the Toradex community!
Regarding your question, could you explain your application? What are you trying to do?
Thanks and best regards,
I am just using evaluation.
Is this possible or not ? Please help me with my question.
Actually you can set up affinity for a given application as discussed here: https://www.toradex.com/community/questions/32299/setting-cpu-affinity-kernel-support.html and additionally you can set up the scheduler to not use the A72 cores unless it is asked by OS.
this is common for one cluster architecture.
In this case, the 8QM has two CPU clusters, would this be supported on one OS for both clusters?
That would be the question.
thanks in advance.
Hi @BrunoSSB , it is still the same with iMX8QM having two CPU clusters.
root@apalis-imx8:~# ./hello_affinity sched_getaffinity = 1 1 1 1 1 1 sched_getcpu = 2 sched_getaffinity = 0 1 0 0 0 0 sched_getcpu = 1