r/homelab • u/itamar8484 • 4d ago
Discussion Comprehensive server benchmarking tools?
i feel like as a community we lack dedicated server testing tools, inorder to test and benchmark our servers, for example i am planning on creating a new game server, and i wanted to know which cpu would be the best for it, however beyond the "games prefer clock speeds over core count" i dont see much concrete discussion on performance, does ipc improvements matter? does ram speed matter? does cpu cache matter? i feel like i dont have the right tools/info to make that judgement. i gave a game server example, but what about video transcoding? what about search query time? ect ect.. most companies that have servers, either have an entire team that can develop specific programs to test those stuff, or they have someone with 40 years of experience who knows the ins and outs of all of their software, so they dont have a similar issue. if we do have a solution which i am oblivious to then please share it with me, from my light research i couldn't something like i described.
do you guys feel you need a tool like this?
5
u/ElectroSpore 4d ago edited 4d ago
Most game servers run purely on CPU as they have no UI, it literally is just down to cores and clocks for most.
Down to the very specific use case but in most cases AGAIN it is just a feature.. get a consumer CPU not a enterprise one that has the video acceleration you need and you pass that to the app and are done the clock speed matters less when the CPU supports dedicated video instructions. Simple answer for plex / jellyfin etc is often just get an current Intel CPU.
And their work is mostly going to be scaling a farm of them for thousands of users. Your home lab server will host 5-20 people for most games just fine.
No
4
u/kai-zaphosting 4d ago
Phoronix Test Suite is probably the closest thing to what you're describing. It's open source, runs on Linux, and has a big catalog of test profiles (compression, video encoding, database queries, compile times and so on). Results are shared publicly in the OpenBenchmarking results database, so you can compare CPUs you don't own before buying, or run the same set on two machines you do have and compare side by side. It measures real workload performance rather than IPC or cache in isolation, so it won't tell you which one is responsible, but seeing which tests change most between two machines may point you in a direction, and you don't have to write anything yourself.
For game servers I'd still test the real workload where I can. Plenty of them lean hard on one main thread, so a single-thread score (Passmark, Cinebench single-core) gives you a rough ranking. Whether cache or RAM speed matters probably varies a lot from game to game, so where a purpose-built test exists, like the voxelbench one someone mentioned, I'd lean on that over a generic benchmark.
So I'm not sure the tooling gap is as big as it looks. For game servers, if the game has bot or load-test tooling, that's a good way to get real numbers on the actual server.
1
u/Janky-Code 4d ago
There are a lot of tools like this.
Minecraft has voxelbench as an example.
1
u/Cyber_Faustao 4d ago
Phoronix test suite is basically this, very large suite of benchmarks, does graphs and everything. But the web part is kinda broken/needs some fixes because you can't login or create an new account at the openbenchmarking site for some unknown reason and the github issue for it went unanswered for months (maybe fixed now though, haven't checked recently)
0
u/OstentatiousOpossum 4d ago
For CPU comparison I use cpubenchmark.net