Slow nix store garbage collection
Nobody has claimed this yet.
- Dominant language
- Nix
- Stars
- 916
- Forks
- 48
- Avg merge
- 19h 44m
- Merged PRs (30d)
- 1
Description
Is there some way to make garbage collection faster for the guest vm?
My understanding is it's going through my entire /nix/store from the host, or likely doing a ton of IO via the 9p mount which is very slow.
I've tried various scripts that look at /nix/.rw-store/ but not having much luck.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing garbage collection in the guest VM while observing access to /nix/store and the 9p mount. Compare that behavior with the attempted scripts targeting /nix/.rw-store/. Done means identifying a supported way to make guest garbage collection faster without the current slow host-side or 9p I/O path.
Written by the indexing model from the issue text.
Assessment
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 40/100