[Nix-dev] Should we drop 9P?

zimbatm zimbatm at zimbatm.com
Tue Mar 21 09:43:10 CET 2017


What matters are that the tests are valid, reproducible   and not too slow.
If you want to replace the filesystem and it improves any of these
qualities I don't see any problems :)

On Mon, 20 Mar 2017, 23:37 Ertugrul Söylemez, <esz at posteo.de> wrote:

> > 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.
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170321/7c1573dc/attachment-0001.html>


More information about the nix-dev mailing list