The MATLAB 2017a identifies half number of core on Google Cloud virtual machine.

1 view (last 30 days)
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.

Answers (1)

Edric Ellis
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.
  1 Comment
Blue Bird
Blue Bird on 9 Jul 2017
I have down this! It was the half of the core of the virtual machine. By the way, we pay every core in Google cloud. They are definitely real CPUs and not Hyper-Threading.

Sign in to comment.

Categories

Find more on MathWorks Cloud Center in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!