The MATLAB 2017a identifies half number of core on Google Cloud virtual machine.
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Edric Ellis
on 5 Jul 2017
What happens when you run
>> feature('numcores')
on one of those machines? By default, MATLAB (and Parallel Computing Toolbox) considers only physical cores.
See Also
Categories
Find more on MathWorks Cloud Center in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!