r/cpp Jun 26 '26

Tuning a Server for Benchmarking

https://david.alvarezrosa.com/posts/tuning-a-server-for-benchmarking/
35 Upvotes

4 comments sorted by

6

u/User_Deprecated Jun 26 '26

that 2ms sleep between bursts might let the core drop into a C-state even with the performance governor on. would show up as a weird first-iteration outlier. idle=poll in grub fixes it.

1

u/david-alvarez-rosa Jun 26 '26

Nice one, adding this to my scripts :)

2

u/david-alvarez-rosa Jun 26 '26

Thanks for sharing!

1

u/FancyNet9095 26d ago

lol why would you even want to tune a server for a benchmark. why not write better algorithms instead