|
[Sponsors] |
December 12, 2019, 07:55 |
Core to ram ratio for openfoam
|
#1 |
New Member
Edward
Join Date: Jul 2011
Location: The Netherlands
Posts: 4
Rep Power: 15 |
Hi, I like to know what is the best core to ram ratio. For example, 1 core to 1GB - 10GB. Thanks in advance.
|
|
December 12, 2019, 08:38 |
|
#2 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
In my opinion, the relevance of this metric is debatable at best.
There is only one real constraint: the total amount of memory required to fit your model. If the simulation requires 100GB of RAM, then the machine needs 100GB (typically populated as 128GB) of RAM. You can run it regardless of how many cores the machine has. Sure, having more cores will tend to solve the model faster. But the real bottleneck here will be memory bandwidth, as proven time and time again in the sticky thread in the hardware sub-forum. This means that at a certain point, CPUs with higher core counts will not solve the model any faster. An extreme example of this is the TR 3960X CPU added recently. Here are the numbers: Code:
# cores Wall time (s): ------------------------ 1 550.49 2 299.15 4 161.65 6 120.55 8 101.56 12 99.13 16 93.74 20 93.71 24 93.65 Switching from the 24-core Threadripper CPU to its 32-core variant (or even 64 cores later down the line) would change the "cores/GB" ratio, but do absolutely nothing for the solver performance. In conclusion: I would separate the decision for system memory and CPU. Get the CPU(s) that perform best within your given budget. And make sure you have enough memory to fit your largest simulations. Edit: this should be moved to OpenFOAM or hardware sub-forum |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with divergence | TDK | FLUENT | 13 | December 14, 2018 07:00 |
M.2 SSD as substitude for RAM...optimum core number | fonograph | Hardware | 1 | January 14, 2018 06:26 |
solving a conduction problem in FLUENT using UDF | Avin2407 | Fluent UDF and Scheme Programming | 1 | March 13, 2015 03:02 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
pressure eq. "converges" after few time steps | maddalena | OpenFOAM Running, Solving & CFD | 69 | July 21, 2011 08:42 |