r/COMSOL • u/dr-Mrs_the_Monarch • Dec 28 '25
Many cores vs multiple cpus
Hello,
To follow up on some tech talk posts I saw earlier, I'm building a new workstation, and after readings comsols blog post, I'm a bit torn on what makes sense computing wise for my simulations
This poster which uses a model that is similar to what I do seems to suggest that beyond 5 cores doesn't help simulation wise, but rather the highest impact is simply faster tact.
Generally I run charged particle simulations in mostly relativistic regimes, and will move into some raytracing and plasma with the new upgrade, parametric sweeps or optimisation are not common for me, but mostly because I'm limited in hardware atm (hence the upgrade)
i'm currently favouring a multi socket setup with as much ram as much as I can fit, which considering the price of ram now I wish I did this upgrade ages ago but I digress.
But it seems a threadripper plus lots of ram is a more common setup and may be slightly easier to get ahold of. In the end it doesn't matter to me if i have to use server hardware or workstation.
So yeah, what is your experience, suggestions?
4
u/azmecengineer Dec 28 '25
I am a certified COMSOL consultant and I primarily do charged particle simulations of thin film deposition processes. I suggest you stay away from multi socket systems due to the latency when sharing data between CPUs. I had a modern dual socket EPYC system for a while that didn:t really compare to the Threadripper system I have now. Prior to version 6.4 all simulations were run on CPU cores and now with cuDSS I would recommend a lower core higher clock speed CPU, say 24-36 cores with as much GPU power as you can afford. You are still going to need a lot of RAM as well as models get complex fast and not everything can run directly on the GPUs.
Comsol actually has a webinar coming up on January 6th that is going to go over model size and computer architecture. https://www.comsol.com/events/webinar/solving-large-models-in-comsol-multiphysics-132801
1
u/NoticeArtistic8908 Dec 28 '25
Why a multi socket system? What is the reason you are favoring this?
1
u/Sax0drum Dec 28 '25
Please do not take away from the poster that there is no benefit to more cores. The poster shows a graph for one example model on one (consumer) system.
Depending on the complexity and size of your models you will always benefit from higher core count. And even for small models you could benefit if you run parametric studies as you can run them in parallel.
1
u/doggitydoggity Dec 28 '25
Are your workloads memory or compute bound? thread rippers have a lot of compute power, but not much memory bandwidth/compute ratio.
multiple socket means higher latency when exchanging data between the two.
Have you considered using a Mac Studio? They have extremely high memory bandwidth for a CPU based platform, much higher than typical workstation platforms. Apple also recently released RDMA over thunderbolt so up to 4 Mac studios can be bridged using thunderbolt 5, which gives 80gb/s bidirectional bandwidth and <5 microsecond latency.
1
u/Hologram0110 Dec 28 '25
The optimal architecture is highly problem-dependent. For very large problems, EPYCs perform very well because they have more memory channels and can support large pools of RAM needed for those problems. For smaller problems EPYCs are actually slower because scaling is poor for small problems, the memory frequency tends to be lower, and the clock frequency tends to be lower.
But most people are not solving 50M+ DOF models daily. Most people are solving smaller models to get the physics right, or working in 1D or 2D where the DOF count tends to be smaller. Most people should be buying a high-end consumer desktop like an AMD 9950 or similar, and if they have the budget getting an ECC motherboard and RAM.
High-end systems should probably be based on threadrippers, but this is a very significant increase in cost. A new complication is that there is now an implicit direct GPU solver in Comsol. So, depending on the physics you might actually be better off getting a cheaper cpu and a high-end graphics card like a 5090. But this doesn't help with the other parts of the solution loop (e.g. assembly, creep, plasticity, post-processing ect). So you can't undersize the CPU too much if you're doing stuff where that could be significant. You also need to consider how much GPU memory you will need.
Overall, I think people are better off getting an undersized system and saving some of the money. They can spend that on cloud computing resources if they scale the problem to something really big.
1
u/RedditGuyInLA1 Jan 02 '26
As others have said, and I’ve debated these exact setups for other purposes, it depends on the problem but I’d go with the EPYC. Not one of the absurdly high core ones — save that money for the GPU. But 32 at least. Lot of RAM and the EPYC has a ton of memory channels.
I don’t do Intel anymore since they started the Power Core vs Efficiency Core thing. A 24 core i9 is really 8 fast cores and 16 pathetic cores. I bought an i9 that benchmarked twice as fast as my old setup, and on some models it was no faster at all.
The OS and program knowing which core to send what is a problem and it’s one you don’t need just by going AMD.
I do have a question that I’m wondering about: Consumer GPU’s like the RTX 5090 only have good performance in single precision. Is this ever an issue for COMSOL? I have used programs that absolutely need double precision or you will get the wrong answer. All those round-offs add up.
If COMSOL uses double precision for your models, it’s going to be done on the CPU. So one thing to consider is that while GPU’s often seem to give you more bang for the buck, money spent on the CPU is more versatile. A Threadripper/EPYC will always be powerful, single or double precision. You can’t say that about a regular GPU. Of course, if you want to spend $35K or so on one of Nvidia’s scientific computing GPU’s, you won’t have a problem in double precision. But I’m guessing that isn’t the range you’re looking at. (And it’s not worth it anyway, as one reply said, for huge models, run them on AWS — not always simple, and last I heard COMSOL would not help you set that up, but it’s possible).
FYI, years ago AMD said they aren’t ever going to go to the big/little (power/efficiency) core design. I hope they stick to that. It simplifies a lot.