> 9P is used by NixOS to share host's nix store with Qemu virtual > machines. Such technique is used in the build process, in the > test-driver, so to say in the critical places. > Recently few bugs in 9P were found (#23957 #23020 #22695) which > reveals that 9P code is not very mature and perhaps NixOS is the first > team which uses 9P heavily and relies on it in production. > > Shouldn't we replace 9P with something battle-tested like NFS or > Samba? It may also improve the performance because 9P server works in > qemu process, in user mode and there are as many servers as virtual > machines running.
In terms of performance getting rid of QEMU where possible is probably the better option. Containers are fairly mature these days, and then sharing file-systems is a matter of bind-mounting.
signature.asc
Description: PGP signature
_______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev