qpsolvers/qpbenchmark

CPU thermal throttling

Open

#88 opened on Nov 22, 2023

 (0 comments) (0 reactions) (0 assignees)Python (19 forks)auto 404
enhancementgood first issue

Repository metrics

Stars
 (181 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide