The MATLAB 2017a identifies half number of core on Google Cloud virtual machine.
2 次查看(过去 30 天)
显示 更早的评论
The MATLAB 2017a identifies half number of core on Google Cloud virtual machine. This could be a bug of MATLAB 2017a. When you start parallel pool of MATLAB 2017a with defaults set, one always gets the number of worker is equal to the half of cores. A virtual machine with eight cores starts with four workers, and sixteen cores with eight workers. When all these workers fully run, fifty percent CUP is used. Manually set the number of worker to the number of cores can fix this problem.
0 个评论
回答(1 个)
Edric Ellis
2017-7-5
What happens when you run
>> feature('numcores')
on one of those machines? By default, MATLAB (and Parallel Computing Toolbox) considers only physical cores.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Licensing on Cloud Platforms 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!