Open stapelberg opened 4 years ago
AFAICT, building pkgs/linux looks bottlenecked on the distri fuse process. Maybe improvements can be measured by compiling pkgs/linux and measuring the time difference.
edit: gtk+-2 might be a better candidate, as it completes in ≈2 minutes instead of ≈10 minutes
jacobsa/fuse implements fuse 7.12. Current Linux kernels are at 7.31. Here are a few features which we should look into to possibly improve performance:
FUSE_PARALLEL_DIROPS
)notify
branch)readdir caching: https://github.com/torvalds/linux/commit/6433b8998a21dc597002731c4ceb4144e856edc4(see next item)We should also figure out a representative benchmark for root file system performance.
We can use bpftrace to measure the number of FUSE calls during builds: