Skip to content

Reduce variance of perf. CI machine #1450

Closed
@Kobzol

Description

@Kobzol

Currently, the machine that runs perf. benchmarks on CI uses both turbo-boost and hyper-threading. It would be nice to try to disable these features for some time (e.g. a week or two weeks). We could then observe if disabling them reduces the variance of e.g. wall-time measurements.

Experiment results:

  • Hyperthreading ✖️, Turboboost ✖️
    • 2022-10-01 -> 2022-10-08, results (data shown start a week before the experiment started to see the difference). Wall-time variance has been reduced substantially. CI perf. time increased by ~10%, from 1.2 to 1.3 hours.
  • Hyperthreading ✔️, Turboboost ✖️
    • 2022-10-08 -> 2022-10-16, results (data shown from the start of the whole experiment). Wall-time variance has increased, but just slightly and on some benchmarks. The additional threads helped mostly only in opt builds and for large crates (e.g. cargo). CI perf. time decreased only very slightly, to about 1.28 hours.
  • Hyperthreading ✖️, Turboboost ✔️
    • 2022-10-16 -> 2022-10-22, results (data shown from the start of the whole experiment). CI perf. time was about 1.25 hours.

CC @Mark-Simulacrum

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions