Using all cores in parallel computing toolbox

2 visualizaciones (últimos 30 días)
Rajesh
Rajesh el 24 de Abr. de 2016
Respondida: Matt J el 24 de Abr. de 2016
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.

Respuesta aceptada

Matt J
Matt J el 24 de Abr. de 2016
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.

Más respuestas (0)

Categorías

Más información sobre MATLAB Parallel Server en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by