matlab R2010b on windows server 2008 R2 Xeon 5130 using all cores without parallel specified code

1 view (last 30 days)
Hi, I am running a program including a fminsearch and a fsolve.
The code is NOT written for parallel computing though. I am running the code on tow machines:
Machine A, Matlab R2007a on Windows server 2003 R2 @ Xeon E5410 with 4 cores and 8 threads.
Machine B, Matlab R2010b on Windows server 2008 R2 @ Xeon 5130 with 2 cores and 4 threads.
Wired thing is that on Machine A, one matlab process only use 1 thread, 1/8 of the total cpu usage. But on Machine B, one matlab process use all the 4 threads,100% of the cpu cores are used. But the performance is not improved at all.
Can somebody tell me how to solve the problem on Windows 2008?

Accepted Answer

Walter Roberson
Walter Roberson on 1 Dec 2012
Later MATLAB versions are better at automatically parallelizing some kinds of code. This is a built-in functionality that does not use the parallel toolbox.
  3 Comments
Yi
Yi on 1 Dec 2012
Thanks a lot. Walter. It solves the problem.
Still wondering why the automatically parallel does not improve the performance.

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!