How to make a good purchase if all I care about is multiprocessing performance?
Hope asking dumb questions is OK here, you guys just seem the types who would know.
I need to buy a cheap machine to handle purely CPU-bound, very parallel workload. Think 'running thousands of child processes per second endlessly on pinned cores, doing very little waiting' - IO will be from ram disks, no network, no gpu required etc.
Currently I use my personal 'gaming rig' for this, but that means I can't use it for other things and that's annoying. Ideally as cheap as possible really, but some flexibility based on getting the best performance per $ I can to an extent (otherwise I'd use an old laptop and wait a long time :>)
I don't know whether I should be looking at older cheap refurbished servers of the type a lot of people pick up for homelabs, and thus getting a crapload of cores+ram+cache for the money (one of those dual cpu older Dell or something look tasty), or rebuilding something like my gaming rig with a current gen but much less thread count CPU. It's difficult to compare the performance per dollar when most benchmark sites focus on gaming performance, etc.
Is there a smart way I should be working this out so I can make the best decision, without actually having hardware to benchmark?
Posted Apr 24, 2024, 12:29 PM UTC
Look at benchmarks before you buy one of those cheap older servers to understand how much performance you're actually getting. It's easy for a lot of cores on an old server chip to be slower than a modern gaming CPU. I'm assuming you're talking about Xeon 2600v4 or older since newer servers aren't that cheap yet. Something like that is going to use tons of electricity and not perform as well as you might expect. And they'll be ridiculously loud.
Look at the 2680v4, which is super cheap for 14 cores. Gets beaten by the Ryzen 3900x in multi-core workloads, Geekbench says ~7000 vs ~10000 points, while consuming more power than the 3900x. So yeah, you put 2x 2680v4 in an R730, you'll get a full system cheaper than the Ryzen CPU alone. But the cost is a massive noisy server which uses perhaps 3x more electricity for 1.5x better performance, it would be hard to resell, hard to part out, hard to upgrade or convert into a gaming computer in the future, and its resale value will continue to decrease towards zero as it gets older.
Those servers are cheap because most people don't want them, for good reasons.
Yes, your needs might be one of the rare cases where a big dual socket server makes sense because it really can be the cheapest CPU performance per dollar, just be aware of the tradeoffs.
How much RAM do you need? One of the advantages of old servers is cramming an insane amount of cheap registered RAM into them. But if you can get by on 32GB, the RAM cost isn't going to matter that much.
Also consider how long you'll be using it and whether the power cost adds up. Even if you pay for your power but only want to use it for a few months or a few hours per day, that might be a big problem. On the other hand if you don't pay for your power because you live in a college dorm... trust me you do not want a rackmount server under your bed, it is too loud
But in many workloads the 3900x would get it's pants beaten off due to memory bandwidth on the Xeon. I have an AMD 5950x w/128gb of ram that gets completely roasted by a Dual Xeon E5-2667v2 server in AI workloads.
My first homelab purchase was two machines each with 2x e5-2667v2. I was shocked at how capable those things are. They just demolished workloads.
I've now switched to lower power equipment for my meager needs. Never really pushed those v2s that hard honestly.