B bakul Today at 5:26 AM #26 In my measurements virtio-9p is about twice as fast as NFS but unlike NFS it doesn't cache. So once things are cached NFS is much faster.
In my measurements virtio-9p is about twice as fast as NFS but unlike NFS it doesn't cache. So once things are cached NFS is much faster.
J jmpalacios 43 minutes ago #27 bakul said: In my measurements virtio-9p is about twice as fast as NFS but unlike NFS it doesn't cache. So once things are cached NFS is much faster. Click to expand... Would you be open to sharing your virtio-9p setup details and performance numbers?
bakul said: In my measurements virtio-9p is about twice as fast as NFS but unlike NFS it doesn't cache. So once things are cached NFS is much faster. Click to expand... Would you be open to sharing your virtio-9p setup details and performance numbers?
B bakul 12 minutes ago #28 I use plain bhyve and have something like the following args to bhyve command line: -s 8,virtio-9p,src=/usr/src \ -s 9,virtio-9p,obj=/usr/obj \ Click to expand... Then in the freebsd guest /etc/fstab has entries like this: src /usr/src p9fs rw 0 0 obj /usr/obj p9fs rw 0 0 Click to expand... As for performance, see this -hackers post: https://lists.freebsd.org/archives/freebsd-hackers/2026-May/006363.html The uncached numbers for nfs are *worse* than I remembered! But warning: p9fs is used much less and tested much less so there may still be bugs. Sharing is still much worse so I usually just copy files to the VM's filesystem. I use nvme as virtual disk type, for example: " -s 5,nvme,disk.img \"
I use plain bhyve and have something like the following args to bhyve command line: -s 8,virtio-9p,src=/usr/src \ -s 9,virtio-9p,obj=/usr/obj \ Click to expand... Then in the freebsd guest /etc/fstab has entries like this: src /usr/src p9fs rw 0 0 obj /usr/obj p9fs rw 0 0 Click to expand... As for performance, see this -hackers post: https://lists.freebsd.org/archives/freebsd-hackers/2026-May/006363.html The uncached numbers for nfs are *worse* than I remembered! But warning: p9fs is used much less and tested much less so there may still be bugs. Sharing is still much worse so I usually just copy files to the VM's filesystem. I use nvme as virtual disk type, for example: " -s 5,nvme,disk.img \"