Does matlab create only one worker on each core when you use parallel toolbox?

I have R2011b, use parallel toolbox and wanna know how it duplicates workers. Is it supposed to create just one worker on each core?

 채택된 답변

Edric Ellis
Edric Ellis 2015년 5월 7일
Yes, that's right - the default is to use the number of physical cores (not hyperthreaded cores). You can override this choice by setting the NumWorkers property of the local scheduler.

댓글 수: 4

thanks a lot. so I can have workers more than the number of my physical cores; but is there any upper limit for number of workers?
Yes, in R2011b the limit is 12 for the local scheduler. If you upgrade to R2014a or later, this limit is removed. (There is no limit in R2011b if you use MATLAB Distributed Computing Server workers).
The Parallel Computing Toolbox doesn't assign workers to cores, the OS does as system resources become available.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

질문:

m r
2015년 5월 7일

댓글:

2015년 5월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by