Skip to content

Evaluate Nix-built binaries for performance with different tuning #25

Description

@ConnorBaker

Does specifying hostPlatform.gcc.arch when importing Nixpkgs yield binaries which are more/less performant?

Some packages are smart enough to compile code for features not exposed by the host CPU (like OpenSSL and accelerated hash functions) and use runtime detection/dispatch, but not all do this. (Aside: do we enable GCC’s function multiversioning?)

Investigate the closures of some of the following to test for performance differences:

  • nix
  • OpenCV (are image registration routines compiled with support for avx256/512, for example?)
  • PyTorch (would non-accelerator inference be faster?)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions