12

I have just put together a new rig (i7-4770K, 512gb SSD, 16gb DDR3 2133 mhz ram), and installed MATLAB r2013a. When I invoke the matlabpool command it takes an extremely long time to open up each individual worker (the ones you see open in task manager). On my old rig it was about 10 seconds, but my new one takes 1 minute. I have tried with just 1 additional worker and it takes a long time.

Any help would be appreciated.

Thanks

7
  • What is the OS? Do you have anything running in the background? What is the CPU load?
    – Eitan T
    Jun 16, 2013 at 11:18
  • 1
    Hi, its windows 8 x64. Its a fresh install so very few background processors are running. The CPU load is basically 0% while I'm waiting for each worker to open. Jun 16, 2013 at 12:01
  • Mine takes a while to do it as well, in both Windows and Mac OS X. Not quite a minute, but probably like 25 seconds. Jul 15, 2013 at 16:19
  • thanks for the support this definitely seems like a rare yet annoying problem. Its strange it happens on windows and mac. Mine takes about that too, 25 seconds to open each worker, and on a hyper threaded quad that's a long time for 8 workers lol. Maybe its something to do with a certain motherboard / cpu / ram combo... Jul 16, 2013 at 6:51
  • I imagine it to be fairly simple, but could you show exactly what you do? Also, did you try it on any other (similar) computers? Jul 24, 2013 at 10:18

2 Answers 2

5

You can try executing the following to eliminate one of the newer features (included in versions after MATLAB R2012a) that has caused some people (including myself) problems:

distcomp.feature( 'LocalUseMpiexec', false )

Mathworks made some changes to the way the local scheduler launches the workers for R2010a, that change reverts it back to R2009b.

2
  • Amazing, that fixed it! Thanks! I hope this helps a lot of other people searching with this problem. Oct 5, 2013 at 5:39
  • Wow! Thanks a lot! The time is reduced by ~ 7 times for me!
    – p8me
    Oct 7, 2013 at 13:31
0

This is indeed quite weird. In fact, MathWorks website states:

For disk-intensive MATLAB applications or to improve the start-up time of MATLAB, you can take advantage of technologies such as solid-state drives or RAID.

You can try to use this toolbox, it may solve your problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.