Idle labs on Parallel Computing Toolbox

I use a network server that is shared with other users in the company to perform heavy calculations with Matlab.
My question is, does Matlab reserve his parallel workers even when idle?
If, for example, I open a matlabpool of 12 labs, does that mean that even when I'm not using Matlab, the other users have 12 cores less to use for themselves? Or does Matlab use them only when asked to?

 Akzeptierte Antwort

Friedrich
Friedrich am 7 Mär. 2012

1 Stimme

Hi,
Does Matlab reserve his parallel workers even when idle?
Yes, when you open a matlabpool of 12 labs, the others have 12 labs less to use. A matlabpool is like an "interactive job" which takes workers like every other job.

5 Kommentare

Walter Roberson
Walter Roberson am 7 Mär. 2012
Though when MATLAB exits, it releases any matlabpool that was opened in that session.
Yoav Livneh
Yoav Livneh am 7 Mär. 2012
So every time I finish I should close the matlabpool until next time I need to use parallel computing.
Yoav Livneh
Yoav Livneh am 7 Mär. 2012
Thanks for the answer, by the way!
Walter Roberson
Walter Roberson am 7 Mär. 2012
Yes, close the matlabpool when you do not need it.
Note: it sounds as if you might be using the Distributed Computing Server. I have not read enough about the DCS to know when it reserves cores or when it releases them.
Thomas
Thomas am 7 Mär. 2012
The DCS reserves the cores on the 'matlabpool open' command and releases on getting the 'matlabpool close' command

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by