CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Question about number of processors shall I use to speed up the calculation (http://www.cfd-online.com/Forums/main/107659-question-about-number-processors-shall-i-use-speed-up-calculation.html)

lnk October 3, 2012 08:08

Question about number of processors shall I use to speed up the calculation
 
Hi,

I send the simulation jobs to my company's processors for calculation. I mainly use CFX-solver and FineTM. I don't know anything about parallel computing yet. But I heard about more processors may even give lower calculation speed.

May I ask how to decide the number of processors shall I use?

ski October 3, 2012 08:55

You'll need to ensure the the communication between processors is not causing a bottleneck. If you use too many processors, then your code will spend all its time communicating rather than solving.

A conservative estimate may be to use at least 100,000 cells per a cpu core, so if you have a 1M cell mesh, use no more than 10 CPUs. This will most certainly be enough to keep the CPU busy. That said, you will probably find acceptable performance as low as 20,000 cells/core if you have high end hardware connected with infiband. The optimum number depends a lot on the hardware and also how well the code scales, so there is no single answer, but the above figures should give you some idea.


All times are GMT -4. The time now is 14:40.