CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Hardware

How much RAM is enough

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 6, 2020, 07:56
Question How much RAM is enough
  #1
Member
 
Stabum's Avatar
 
Join Date: Aug 2012
Location: Italy
Posts: 66
Rep Power: 13
Stabum is on a distinguished road
Hello everybody,
I've seen a very interesting video on YT, in which a CFD simulation was launched in Fluent 18.2 using an increasing number of cores. The simulation (always the same in terms of settings) was faster as the core number had been increased (2 cores, 3 cores, 4 cores). After the 4th, with 5, 6, and more cores, the simulation time was always the same and did not show any improvement. Then the guy increased the amount of RAM used and relaunched the simulations all over again. And he descovered that the simulation times, this time, continued to decrease even with 7, and 8 and more cores used.
At the end of the day, it seems that, if you have 4 or more GB of RAM per core used, the simulation times continue to decrease: the added core "works" and the curve "sim time vs number of cores" has a negative slope.

Now, let's imagine to use a Threadripper 3970X (32 cores) CPU. If we want to make all these cores effective and useful in terms of simulation times reduction, we should then have 32x4=128 GB of RAM.

Have you ever faced this RAM/core correlation?
I'm really curious of reading about your personal experiences.

Thanks a lot,
kind regards!

Last edited by Stabum; November 6, 2020 at 10:05.
Stabum is offline   Reply With Quote

Old   November 6, 2020, 10:03
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,399
Rep Power: 46
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I'm afraid that's not how things work with Fluent, or any other CFD solver. Memory per core is pretty much a meaningless metric. Either the simulation fits into RAM, or it doesn't.

That guy on youtube with undisclosed hardware most likely ran into one of two issues, or a combination of both:
1) His simulation didn't fit into memory before upgrading it. This is rather unlikely, because the performance impact would be so severe that it should raise questions about the validity of the test
2) By upgrading to more memory, he accidentally unlocked additional memory channels. This can actually speed up CFD simulations, and enable scaling up to higher core counts.

Edit: I think I found the video you are referring to. It is packed with poor practices and misleading information. My brutally honest opinion: try to forget what you took away from this particular source of information.
flotus1 is offline   Reply With Quote

Old   November 6, 2020, 10:15
Default
  #3
Member
 
Stabum's Avatar
 
Join Date: Aug 2012
Location: Italy
Posts: 66
Rep Power: 13
Stabum is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
I'm afraid that's not how things work with Fluent, or any other CFD solver. Memory per core is pretty much a meaningless metric. Either the simulation fits into RAM, or it doesn't.

That guy on youtube with undisclosed hardware most likely ran into one of two issues, or a combination of both:
1) His simulation didn't fit into memory before upgrading it. This is rather unlikely, because the performance impact would be so severe that it should raise questions about the validity of the test
2) By upgrading to more memory, he accidentally unlocked additional memory channels. This can actually speed up CFD simulations, and enable scaling up to higher core counts.
Hello, and thanks a lot for your answer.
I understand point (2) of your answer. I don't understand the first one. I mean: if it's true what you say (Either the simulation fits into RAM or not) and I agree, the point is that the simulations (no matter how many cores were used) did start and came to the end. As long as the number of cores used was 4, every time a core was added, the simulations were faster; with 5 or more cores, the simulation time remained the same.

Thanks again


ref. https://www.youtube.com/watch?v=NguWpYd5daY
time: 3:18

Please note that in the two graphs the duration of the simulation with 1, 2, 3, 4 CPUS is exactly the same.
Stabum is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
M.2 SSD as substitude for RAM...optimum core number fonograph Hardware 1 January 14, 2018 05:26
Insufficient RAM for Intel XEON E5-2699 v4 alexp88 Hardware 4 January 2, 2017 04:18
mother board and ram amount. zero_custom Hardware 4 January 4, 2016 16:27
ECC vs. non ECC ram: My opinion ghost82 Hardware 19 February 13, 2014 09:32
New workstation for different usage scenarios - CPU and RAM natem Hardware 6 August 7, 2013 02:47


All times are GMT -4. The time now is 18:43.