Comments (3)
Yup - am investigating the impact of some changes on build speed!
from nix.
The remote build feature could use some love. Would you be interested to contribute improvements?
(note that the remote build label is brand new; we used to have only protocol, and even that is fairly new) labels not helpful
from nix.
Reducing the timeout to 2 minutes dramatically improved the speed at which builds happen. The curious thing is that the wait was often quite long - much longer than the timeout. This wouldn't make much sense if the timeout was working as (I take it that was) intended. Moreoever, as I mentioned, the process holding the lock often seems to be past the copy stage. So though decreasing the timeout helps, I'm pretty sure there are other things to fix here - things which, if fixed, potentially would obviate the need to reduce the timeout.
In general, I'm not sure I understand yet how signals are working here. It seems a signal handling thread sometimes exist, and I presume it would be responsible for making sure these alarms only go to the right thread, but I also don't see the relevant sigmask.
Using signal
(instead of sigaction
) is also, it seems, a potential concern. Additionally, the existence of the second alarm
is quite mysterious to me.
All of this is my quite untutored thoughts - just writing them here by way of update, and will continue investigating. Though for my own machine my inclination is to just disable this flock logic altogether.
from nix.
Related Issues (20)
- `nix.settings.preallocate-contents` is not enabled by default
- "Suggest an edit" link in documentation is broken for Experimental commands
- Document (and (re?)name) the "installable" concept in e.g. `nix eval` HOT 1
- More structured settings in nix store URLs HOT 2
- uncaught exception: eDSRecordAlreadyExists HOT 2
- Incorrect parsing of `or` as a variable in expressions
- More explicit parser dump format for testing
- Clarify the special role of `default.nix`
- Single user installation: Using $HOME/.nix instead of /nix HOT 3
- Garbage collection fails because directory is not empty HOT 5
- Add Gitea/Forgejo flake input
- enable clang's `-Wdocumentation` for doc-comments?
- Missing information at "docker" instalation process
- Evaluation error in flake regression test suite HOT 7
- Add option to only substitute fixed-output derivations
- empty derivation and can't repair the various wrong store paths, thus blocking nixos-rebuild HOT 2
- unable to create build users HOT 1
- tailscale ssh auth prompt blocks distributed builds because stdout is captured
- `nix log --last`
- `fetchTree`/`github:`: add `merge` argument HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.