Running >1 matlabpool jobs with the same local pool
2 ビュー (過去 30 日間)
古いコメントを表示
I have a user who is running parallel jobs using the 'local' matlabpool profile and is encountering problems when running 2 jobs concurrently. He knows that the local system can have 12 workers in the local pool, and so he divided the 2 jobs using 6 workers each, but with the same command:
matlabpool close force local
CoreNum=6;
matlabpool('open','local',CoreNum);
This seems wrong, but I cannot find anywhere in the documentation to verify my suspicions. Can anyone advise?
0 件のコメント
回答 (1 件)
Shashank Prasanna
2014 年 7 月 11 日
Maximum of 1 MATLAB worker per CPU core is recommended. This does not include hyperthreaded virtual cores. As an examples, if you have a dual core i5 processor, then it is recommended you start a local pool of 2 workers. Any more workers will mean they fight for cpu time and you most likely won't see any gain in performance.
参考
カテゴリ
Help Center および File Exchange で Parallel Computing Fundamentals についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!