Skip to content

workflows/eval: disable swap#431459

Merged
wolfgangwalther merged 1 commit intoNixOS:masterfrom
wolfgangwalther:ci-eval-no-swap
Aug 6, 2025
Merged

workflows/eval: disable swap#431459
wolfgangwalther merged 1 commit intoNixOS:masterfrom
wolfgangwalther:ci-eval-no-swap

Conversation

@wolfgangwalther
Copy link
Contributor

Recent performance tests show that (a) swapping heavily slows down the Eval job, while (b) lowering the chunkSize does not have an effect on run-time. It does on memory usage, though - thus we can get rid of swapping entirely by reducing chunkSize respectively.

Looking closer at the results in #427724 shows that with a chunkSize of 10k some Lix versions already started swapping. To enable #428076 (comment), I selected a chunkSize that works for all Nix/Lix versions.

Things done


Add a 👍 reaction to pull requests you find important.

Recent performance tests show that (a) swapping heavily slows down the
Eval job, while (b) lowering the chunkSize does not have an effect on
run-time. It does on memory usage, though - thus we can get rid of
swapping entirely by reducing chunkSize respectively.
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: policy discussion Discuss policies to work in and around Nixpkgs backport release-25.05 labels Aug 6, 2025
Copy link
Contributor

@MattSturgeon MattSturgeon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

@wolfgangwalther wolfgangwalther merged commit da2ebbb into NixOS:master Aug 6, 2025
49 of 51 checks passed
@wolfgangwalther wolfgangwalther deleted the ci-eval-no-swap branch August 6, 2025 16:32
@nixpkgs-ci
Copy link
Contributor

nixpkgs-ci bot commented Aug 6, 2025

Successfully created backport PR for release-25.05:

@github-actions github-actions bot added the 8.has: port to stable This PR already has a backport to the stable release. label Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: continuous integration Affects continuous integration (CI) in Nixpkgs, including Ofborg and GitHub Actions 6.topic: policy discussion Discuss policies to work in and around Nixpkgs 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants