How to disable 2 cores on SABRE for SD board

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

How to disable 2 cores on SABRE for SD board

Jump to solution
939 Views
wpflueger
Contributor I

I'm evaluating the yocto linux distro on the sabresd board with i.mx6Quad processor.

Now I want to test the performance with a dual core processor.

How can I switch off 2 cores to get the dual core performance tested?

Labels (3)
0 Kudos
1 Solution
758 Views
AlbertT
Contributor V

You can disable cores in /sys/devices/system/cpu

For instance to disable CPU2  : echo 0 > /sys/devices/system/cpu/cpu2/online

View solution in original post

0 Kudos
2 Replies
759 Views
AlbertT
Contributor V

You can disable cores in /sys/devices/system/cpu

For instance to disable CPU2  : echo 0 > /sys/devices/system/cpu/cpu2/online

0 Kudos
758 Views
wpflueger
Contributor I

Thanks - that's it!

0 Kudos