qpbenchmark icon indicating copy to clipboard operation
qpbenchmark copied to clipboard

CPU thermal throttling

Open stephane-caron opened this issue 1 year ago • 0 comments

Is your proposal related to a problem?

From https://github.com/qpsolvers/qpsolvers_benchmark/discussions/87:

Unless very efficiently cooled, modern CPU cannot run at max speed for long. This can considerably skew timings.

Describe the solution you'd like

Make sure the benchmark solves all problem with consistent performance, monitoring and reacting to thermal throttling.

Describe alternatives you've considered

  • Monitoring throttling state between solver calls (pro: single thread, con: throttling may happen during a solver call)
  • Downscaling to e.g. 50% of the total CPU performance to lower the probability throttling happens

Additional context

See https://github.com/qpsolvers/qpsolvers_benchmark/discussions/87.

stephane-caron avatar Nov 22 '23 13:11 stephane-caron