Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

what are the System Requirements Need for my parallel program speed?

Asked by PRIYANGA on 2 Jul 2012

Sir,

Now I am using MDCS 8 workers, but I'm using two system only. I have start a 4 worker for as each system. But no improvement for my parallel program. What are the system and hardware requirements for need in my parallel job sir. I have no knowledge about hardware. So please any one answer my question.

Thank you so much.

2 Comments

Walter Roberson on 2 Jul 2012

You are forgetting the most important part: your program has to be written in a way that can benefit from parallel processing. This is more than just adding in PARFOR or SMPD statements: the amount of computation work to be done must be significant compared to the amount of memory to be transferred to each worker, or else running the code in parallel can end up being slower.

PRIYANGA on 2 Jul 2012

ok sir thank you,

PRIYANGA

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 2 Jul 2012

If matlabpool() will open a pool with more than one worker for you, then your hardware meets the requirements.

The hardware requirements are relatively simple: your CPU(s) must have multiple cores, or must hyperthread, or else you must have multiple CPUs.

You may also need up to 2 Gb of memory per worker.

These are the hardware requirements to use parallel processing, but meeting those requirements does not guarantee that you will be able to get any performance gain from parallel processing, no matter how cleverly you write your code in MATLAB. There are some kinds of problems that cannot gain any real advantage without specialized memory systems.

0 Comments

Walter Roberson

Contact us