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

CFD workstation configuration calling for help 2

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2020, 03:38
Question CFD workstation configuration calling for help 2
  #1
New Member
 
Freewill1's Avatar
 
Join Date: Aug 2014
Posts: 18
Rep Power: 12
Freewill1 is on a distinguished road
Hi,
I post a thread previously here:

CFD workstation configuration calling for help

After reading Alex's constructive suggests, and making a survey in the past few days, I think my main goals is more clear:
to achive over all performance and good scalability for CFD-related job, i.e.,
  • OpenFOAM running up to 10~100M FV nodes
  • Algorithm testing and verification for my own CFD code developing aiming at good parallel performance.

For both jobs, there will be a lot of running of parallel code to solve large-scale linear equations, and I don't want the limitation hardware to get in the way)

Therefore, I am wondering if it possible to reach my key goals with a well-scaling 64-core, 256-GB-RAM machine (or machines).
If so, I don't need to spend much budget for expensive and uneconomical hardware mentioned in the previous thread ($15000~$20000, costs much but of no much use).

So, I thinks its rational to pursue good parallelism (scalability).

Given that Per-Socket Theotetical Memory Bandwidth (204.8 GB/s for EPYC Rome) serving as the memory wall, it seems that the Cores Per RAM Channeal is the key to achieve this scalability for CFD.

According to other people's test (Benchmarking Epyc, Ryzen, and Xeon: Tyranny of Memory) , one should not put more than 2~3 cores per channel in his machine(s).

scalability test.png

Bearing this in mind, a good hardware configuration should include as many memory channels as possible for given budget for CFD usage.

Thus, let one CPU on one socket as a basic computing unit, the above test suggests, take EPYC ROME CPUs as an example, to squeeze their the potentials before breaking the 204.8 GB/s memory wall, ideal cores number for each of this unit are:

8 channelx(2~3) cores/channel = 16~24 cores

If so, computing unit with > 24 core count CPUs are not ideal for the desired scalability, but have to pay much more for useless extra cores (e.g., the 32-core EPYC 7452).

On the other hand, computing unit with < 16 core count CPUs (e.g., 8-core EPYC 7262) can also be avoided because of its low-density (only 8 cores occupying a socket on the motherboard).

Besides, if choosing low core counts CPUs, the extra benefits is their are cheaper (both price and price/core), e.g., for each dual-socket node, prices for key components in my country are:
-CPU:
  • EPYC 7262 ( 8c/3.20GHz)x2: $ 420x8 = $840
  • EPYC 7302 (16c/3.00GHz)x2: $ 970x2 = $1,840
  • EPYC 7402 (24c/2.80GHz)x2: $1,310x2 = $2,620
  • EPYC 7452 (32c/2.35GHz)x2: $1,770x2 = $3,540
  • EPYC 7371 (32c/3.60GHz)x2: $ 950x2 = $1,900 (with 3.6GHz all core turbo capability, and cheaper)
-RAM:
  • 3200MHz, RECC, 16GBx16 = 256GB (for one dual-socket node): ~$170x16 = $2,700
  • 3200MHz, RECC, 8GBx32 = 256GB (for two dual-socket nodes): ~$105x32 = $3,360

-Motherboard: Supermicro H11DSi Rev2.0: ~$560

There are several options to built a ≥64-core machine or machines:
  • option 1: one-node configuration (4 cores/channel): EPYC 7452 (32 cores each)x2 CPUx1 node + 16GBx16 RAM + H11DSix1: ~$6800
  • option 2: one-node configuration (4 cores/channel): EPYC 7371 (32 cores each)x2 CPUx1 node + 16GBx16 RAM + H11DSix1: ~$5200
  • option 3: two-node configuration (3 cores/channel): EPYC 7402 (24 cores each)x2 CPUx2 node + 8GBx16x2 RAM + H11DSix2: ~$9800 (NOTE: 96 cores in total)
  • option 4: two-node configuration (2 cores/channel): EPYC 7302 (16 cores each)x2 CPUx2 node + 8GBx16x2 RAM + H11DSix2: ~$9600
  • option 5: four-node configuration (1 core/channel): EPYC 7262 (8 cores each)x2 CPUx4 node + 8GBx16x4 RAM + H11DSix4: ~$12500 (NOTE: a little reluctant here to put in 512GB to fill all 64 memory slots to feed EPYC CPU's 8 channels capability)

Questions:
- What configuration can achive best scalability, if putting aside the cost?
- In view of the rule of thumb that favors no more than 2~3 cores/channel in a machine/machines, should I stick to option 3, 4 and even 5? Again, slow node-to-node interconnection and its potentially being cumbersome hardware/hardware setup is my concern.
- Although option 1, 2 are not good for scalability, its advantage seems obvious:
  • avoid node-to-node interconnection (10Gbps InfiniBand stuff, several OSs...sounds tedious and repetitive for a two/four-node mini cluster if so)
  • need only one case intead of two (also tedious and repetitive if so)
  • cheaper as a whole (although budget is not my main concern)
Any suggestions?

Last edited by Freewill1; July 10, 2020 at 03:44.
Freewill1 is offline   Reply With Quote

Old   July 5, 2020, 16:04
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I feel like you went into this with the wrong optimization goal.
Scaling is nice and all to highlight the importance of machine balance. But what you probably want is maximum absolute performance.

Quote:
- What configuration can achive best scalability, if putting aside the cost?
You are not paying for per-core licenses with OpenFOAM or your own code. So you are not optimizing for maximum performance per core, but for maximum overall performance.
This means that you can safely ignore any Epyc CPU with less than 24 cores.
The cost of a compute node is not only CPU+board+RAM. Once you factor in the rest of the components, a large number of low core count CPUs becomes less cost-efficient.
BTW: Epyc 1st gen is a no-go with your budget and requirements. Especially the 7371 (16 cores, not 32), which features quite an inflated retail price.

It's either the 7352 (24C) or 7452 (32C). The former if you want to save budget in order to afford more than one machine. The latter if you want to max out the performance of a single machine.
Lower core counts are for people with very strict budget limits, or with very high per-core license costs.

Quote:
In view of the rule of thumb that favors no more than 2~3 cores/channel in a machine/machines, should I stick to option 3, 4 and even 5? Again, slow node-to-node interconnection and its potentially being cumbersome hardware/hardware setup is my concern.
I had hoped that I could clear up the node-interconnect issue. Or non-issue to be more precise.
Hardware and software setup is something you will have to decide for yourself, based on your level of expertise and willingness to spend time on the compute setup, instead of doing something productive.
There is no value in having twice the compute performance, if you have to spend most of your time learning how to set it up, instead of working on your code or actually doing simulations.
flotus1 is offline   Reply With Quote

Old   July 7, 2020, 05:29
Default
  #3
New Member
 
Freewill1's Avatar
 
Join Date: Aug 2014
Posts: 18
Rep Power: 12
Freewill1 is on a distinguished road
Thanks, Alex.

I was more clear about what I need: looing for a 64-core machine/machines with good scalability for CFD usages.

Taking overall performance, CPU-memory balance, and cost-efficiency into consideration, perhaps a dual-socket machine is the one for me.

This is my hardware list with queried prices:
  • CPU: EPYC 7532 x 2 (32x2 cores, each with doubled 256MB L3 cache if compared with 7452 etc.): $1550x2 = $3100
  • RAM: 3200MHz, 2R reg ECC, 32GBx16 = 512GB: $183x16 = $2930
  • Motherboard: Supermicro H11DSI dual-socket: ~$563x1 = $563
  • SSD: Samsung 970 EVO Plus 1TB: $280x1 = $280
Total price: ~$6870
Freewill1 is offline   Reply With Quote

Old   July 7, 2020, 06:16
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
The Epyc 7532 is definitely the fastest 32-core CPU you can get for your application. I usually don't recommend it, because AMDs 1k unit price is 3350$, and barely any retail availability. That's just too much of a premium for a slight performance increase over the cheapest 32-core Rome CPU.
If you can get one for only 1550$, it is a no-brainer.

Edit: as always, make sure to get a revision 2 board. Getting these CPUs to run on rev. 1 would require some hacks. I only read from other people how it could be done, never went there myself.

Edit2: Probably many people, but definitely myself, would be very interested to know where you found these CPUs for such a low price. Please share

Last edited by flotus1; July 7, 2020 at 08:45.
flotus1 is offline   Reply With Quote

Old   July 8, 2020, 00:07
Default
  #5
New Member
 
Freewill1's Avatar
 
Join Date: Aug 2014
Posts: 18
Rep Power: 12
Freewill1 is on a distinguished road
Quote:
Originally Posted by flotus1 View Post
Edit2: Probably many people, but definitely myself, would be very interested to know where you found these CPUs for such a low price. Please share
I checked the prices on the Taobao (chinese edition of eBay) from three sellers, and they replied that Epyc 7532 is available for ~$1550 - $2110:

NOTE: what on the URLs are not for the actual prices, I inquired the prices via customer service, who said they can provide the CPU if needed, at least in China.
Freewill1 is offline   Reply With Quote

Old   July 8, 2020, 04:59
Default
  #6
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,428
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Something seems fishy about these.
The first one for example has an image of AMDs spec sheet that shows the specifications of a different CPU.
And they claim these CPUs are new. Now I have seen plenty of retail/OEM Epyc Rome CPUs way below their initial price already. But those were used CPUs.
If it's too good to be true, it probably is. Why would they sell AMDs most expensive 32-core CPU, at a lower price than AMDs chapest 32-core CPU.
Not saying you should not do it, it's your money and your decision whether you want to trust these sellers. But I certainly would not buy that.
flotus1 is offline   Reply With Quote

Old   July 8, 2020, 22:17
Default
  #7
New Member
 
Freewill1's Avatar
 
Join Date: Aug 2014
Posts: 18
Rep Power: 12
Freewill1 is on a distinguished road
Yes, I will be careful about these sources of supply. Their usually put irrelevant pictures on their online stores.

Last edited by Freewill1; July 10, 2020 at 03:47.
Freewill1 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
Workstation fot research position in CFD Laerte Hardware 9 June 21, 2020 16:17
Home workstation for large memory demand CFD yutsumi Hardware 17 May 5, 2020 10:13
Buying refurbished workstation for CFD fbelga Hardware 10 November 10, 2019 15:12
Alienware Area 51 R5 as a CFD workstation fusij Hardware 1 June 13, 2019 11:15
CFD Online Celebrates 20 Years Online jola Site News & Announcements 22 January 31, 2015 01:30


All times are GMT -4. The time now is 21:34.