OpenFOAM + Hyperthreading
I asked my engineering supervisor whether Intel's hyperthreading technology benefits OpenFOAM computing, which to my surprise it does not.
He explained because there are only 4 physical cores doing work, and tasks will just bounce between either the physical or virtual core pair.
Is this correct?
yes that is correct
Thanks for the reply ;)
You came to and old debate, that face AMD opteron multi-core, against Intel multi thread....You can find many 3d on this subj on this forum...
Inter HT CPU have 2 thread per core.
The MAIN point is that each core can have just ONE single thread working at any time.
Where is the deal ?
IF a memory I/O is required, when the thread is working for fetching the data, the other thread can proceed on the same core.
In general terms, this lead to a performance improvement.(approx 20%-30%)
BUT, coming to HPC on CFD, another consideration becomes important: Memory access/bandwidth consideration.
if the memory accessed by the thread are on "different" memory area, so that the chace doesn't help, HT on more thread could give performance downgrade, instande of speed up.
It is the case of CFD with a huge cell number.
Even more, dividing the memory bandwidth between more cores/Threads degrade the memory access performance for each single core/thread.
(it's the origin of the debate AMD/Intel: it is better a multi CPU (AMD) or a multi core (Intel) based workstation ?)
You can find interesting result and comparison on a "famous" article:
hope it helps...
|All times are GMT -4. The time now is 19:21.|