How to disable 2 cores on SABRE for SD board

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

How to disable 2 cores on SABRE for SD board

跳至解决方案
1,079 次查看
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?

标签 (3)
0 项奖励
回复
1 解答
898 次查看
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 项奖励
回复
2 回复数
899 次查看
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 项奖励
回复
898 次查看
wpflueger
Contributor I

Thanks - that's it!

0 项奖励
回复