|
[Sponsors] |
April 29, 2020, 00:42 |
max cpu performance on interFoam
|
#1 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
Hi FOAMers!
I am running 16 cores in parallel over 128 gb of ram in 8 memory channels. Runrunning openfoam in parallel I execute 'sensors' to view my workload and there are 18 processes running at 3% CPU, which implies 54% cpu used. Is there a way to give interFoam more power here? Seems like there should be, but perhaps I'm wrong. |
|
April 30, 2020, 06:31 |
|
#2 |
Member
Thomas Sprich
Join Date: Mar 2015
Posts: 76
Rep Power: 11 |
Hi Josh,
Does your computer have threads? Sensors may be calculating usage as a percentage of the threads which might be 32. If usage was calculated as a percentage of physical cores you would see 18 processes using 6%. 6 * 18 = 104%. With a little rounding errors, this could be right. This does not mean you should try and use all the threads. Generally, OpenFOAM only gains benefit from the physical cores and not threads. You can google this, as there is some debate. Some people have seen improvement from running on threads as well. I hope this helps. Regards, Thomas |
|
April 30, 2020, 14:38 |
|
#3 | |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
Quote:
My cpu does have 32 threads. And yes, I read about thread vs cores, and I agree. Thanks for your response! |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Near wall treatment in k-omega SST | Arnoldinho | OpenFOAM Running, Solving & CFD | 38 | March 8, 2017 14:48 |
interFoam blows up, caused by p_rgh | ch_jaehnel | OpenFOAM Running, Solving & CFD | 0 | December 13, 2016 09:00 |
multiphaseEulerFoam high Courant number | Frenk_T | OpenFOAM | 5 | November 24, 2016 04:23 |
InterFoam performance | giack | OpenFOAM Running, Solving & CFD | 4 | June 14, 2013 11:14 |
performance of the CPU ultraspace III | ztdep | Main CFD Forum | 0 | March 28, 2006 05:35 |