Hacker News new | ask | show | jobs
by aresant 2077 days ago
Does anybody have a recommendation for a benchmarking suite that in app shows where your bottlenecks are?

eg as simple as CPU utilization, GPU utilization, RAM speed utilization?

2 comments

Sort of. On Linux, have you tried toplev? https://github.com/andikleen/pmu-tools

It uses CPU performance counters to show things like ITLB_Misses or MEM_Bandwidth. It won't show when you're waiting for GPU/SSD/etc because those aren't visible from CPU performance counters. I'm not aware of a single tool that will do everything, unfortunately.

Also, this isn't a "benchmarking suite"; it's a tool you can use to instrument whatever load you're running, which I'd say is better. It's often used to improve software but could also identify if faster RAM will help.

Benchmarking of what? Based on the task, you need a specific benchmark. If it's gaming, there are various benchmarks, run them, see utilization, whichever is not 100% is the bottleneck.

If it's computation, it's more complicated to discover the bottleneck (your problem may be cache misses, memory bandwidth, architecture that doesn't go well with the algorithm).

Point is, you need to specify the task.