Using all cores in parallel computing toolbox

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 MATLAB Parallel Server 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by