Chunks are written as 1 file per chunk, in a single flat .xit/chunks/.
This has two problems.
- No chunk file will ever take less than the file system block size, amplifying the repo size.
It's especially problematic for large repos with many small files, such as https://github.com/nixos/nixpkgs.
The solution here is probably a Git packfile like mechanism.
The directory structure should be sharded.
Chunks are written as 1 file per chunk, in a single flat
.xit/chunks/.This has two problems.
It's especially problematic for large repos with many small files, such as https://github.com/nixos/nixpkgs.
The solution here is probably a Git packfile like mechanism.
The directory structure should be sharded.