Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove CPU locking #5821

Merged
merged 1 commit into from
Dec 22, 2021
Merged

Remove CPU locking #5821

merged 1 commit into from
Dec 22, 2021

Conversation

edolstra
Copy link
Member

This was already accidentally disabled in ba87b08. It also no longer appears to be beneficial, and in fact slow things down, e.g. when evaluating a NixOS system configuration:

elapsed time:       median =      3.8170  mean =      3.8202  stddev =      0.0195  min =      3.7894  max =      3.8600  [rejected, p=0.00000, Δ=0.36929±0.02513]

Fixes #3345. Closes #3346.

This was already accidentally disabled in ba87b08. It also no longer
appears to be beneficial, and in fact slow things down, e.g. when
evaluating a NixOS system configuration:

  elapsed time:       median =      3.8170  mean =      3.8202  stddev =      0.0195  min =      3.7894  max =      3.8600  [rejected, p=0.00000, Δ=0.36929±0.02513]
@layus
Copy link
Member

layus commented Dec 22, 2021

LGTM. Nothing that can go wrong without being catched by the compiler. I made sure to look closely at the daemon protocol part. That one may go wrong.

@edolstra edolstra merged commit 7feb741 into NixOS:master Dec 22, 2021
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-24/17230/1

roberth added a commit to hercules-ci/hercules-ci-agent that referenced this pull request Feb 25, 2022
Presumably these were required for compilation at some point, but
have been removed in Nix 2.6: NixOS/nix#5821
roberth added a commit to hercules-ci/hercules-ci-agent that referenced this pull request Feb 25, 2022
Presumably these were required for compilation at some point, but
have been removed in Nix 2.6: NixOS/nix#5821
roberth added a commit to hercules-ci/hercules-ci-agent that referenced this pull request Feb 25, 2022
Presumably these were required for compilation at some point, but
have been removed in Nix 2.6: NixOS/nix#5821
roberth added a commit to hercules-ci/hercules-ci-agent that referenced this pull request Feb 25, 2022
Presumably these were required for compilation at some point, but
have been removed in Nix 2.6: NixOS/nix#5821
roberth added a commit to hercules-ci/hercules-ci-agent that referenced this pull request Feb 25, 2022
Presumably these were required for compilation at some point, but
have been removed in Nix 2.6: NixOS/nix#5821
roberth added a commit to hercules-ci/nix that referenced this pull request Feb 5, 2023
roberth added a commit to hercules-ci/nix that referenced this pull request Feb 5, 2023
roberth added a commit to hercules-ci/nix that referenced this pull request Apr 7, 2023
roberth added a commit to hercules-ci/nix that referenced this pull request Apr 7, 2023
roberth added a commit to hercules-ci/nix that referenced this pull request Apr 7, 2023
roberth added a commit to hercules-ci/nix that referenced this pull request Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nix-shell inherits single CPU affinity when derivation has import from derivation
3 participants