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
1,169 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
Reply
1 Solution
988 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
Reply
2 Replies
989 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
Reply
988 Views
wpflueger
Contributor I

Thanks - that's it!

0 Kudos
Reply