CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Parallel Computing on Multi-Core Processors (https://www.cfd-online.com/Forums/cfx/24078-parallel-computing-multi-core-processors.html)

Upgrading Hardware June 5, 2007 13:19

Parallel Computing on Multi-Core Processors
 
Hi Experts,

I see from some recent posts on here that multi-core processors are being used on CFX calculations now.

Could someone clarify how this works in words understandable by someone that knows a lot about CFD, but not as much about modern computer architecture and parallel computing?

Is this true parallel computing as would be done on many processors? Are PVM and MPI still both useable? If you have a cluster with 4 quadcore processors, do you really have 16 processors at work, or just 4 really quick processors? How does this work in terms of RAM allocation? One of the benefits of a 'standard' parallel job is that you can run bigger jobs as each processor has it's own RAM, is this advantage lost when using a quadcore? How about memory limitations due to the bus?

Anyway, these are probably really basic questions and I know that some of you guys on here have all the answers!

Don't all answer at once :p


Alex June 5, 2007 14:45

Re: Parallel Computing on Multi-Core Processors
 
Running CFX on multi-core processors works exactly as if each core were a separate processor. PVM and MPI still work, but there are distinctions to be made between local (i.e. all processors housed in same computer) and distributed (processors spread among multiple computers.) Each core still has it's own RAM, but this is of course limited by how much RAM is installed on each processor. You can still get the same benefit of increasing job size if you stack the multi-core processor with 2-4 Gb of RAM per core. As far as actual benefits and limitations due to the bus, see the posts from Joe and Stu from the past few days. The selling points for multi-core processing are vast, including that it allows for huge space, power, and cooling savings in cluster architecture.

Joe June 5, 2007 15:55

Re: Parallel Computing on Multi-Core Processors
 
Dual core Conroe-arch Intel (Desktop and Server) and AMD (Opeteron) cpus scale virtually linearly with all combinations of single socket (desktop), dual socket (intel server and amd server) and quad socket (amd server).

The only caveats are:

-Quad core intel chips (desktop and server) only allow you to utilise 3 of the 4 cores effectively. There are no quad core

-AMD server chips available now and probably wont be until late 2007.

Linking boxes via a simple gige interconnect gives virtually linear scaling for <24 cores in my experience.


Joe June 5, 2007 15:58

Re: Parallel Computing on Multi-Core Processors
 
Memory scaling is pretty linear too. If your problem took 4 GB to run on one core it will take 1 GB per core if you run on 4 etc.

Upgrading Hardware June 5, 2007 16:23

Re: Parallel Computing on Multi-Core Processors
 
Thanks guys ... I knew you would come up with the goods!

Frank June 6, 2007 17:58

Re: Parallel Computing on Multi-Core Processors
 
Could you give more information on communication protocols for HPC computing?

What do most people use? Ethernet, Gigabit ethernet, Myrinet, Infiniband ... something else?

Joe June 7, 2007 15:54

Re: Parallel Computing on Multi-Core Processors
 
Gige is perfectly fine for less than 32 cores.

If you account for the outrageous costs of exotic interconnects gige is still cheaper over 64 cores.


All times are GMT -4. The time now is 16:44.