フィルターのクリア

Using all cores in parallel computing toolbox

1 回表示 (過去 30 日間)
Rajesh
Rajesh 2016 年 4 月 24 日
回答済み: Matt J 2016 年 4 月 24 日
I want to use all the core present in my pc. I have used matlabpool('open',core number) command at the starting of the program and matlabpool('close') at the end. But it took longer time than single core job. I'm using R2009a version. please help.

採用された回答

Matt J
Matt J 2016 年 4 月 24 日
You can open the Task Manager and view how many threads are crunching under the Performance tab. If all available threads show activity, then it could simply be that running in parallel is sub-optimal compared to running serially. This can happen, for example, if the size of the task is small compared to the overhead of setting up parallel workers and communicating data to them.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Parallel Server についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by