3 ms·
I think it depends on your NFS. A storage appliance with NFS hardware offload will work much better than a software NFS. Personally with bare metal database I'
by caleblloyd 7y ago
I think it depends on your NFS. A storage appliance with NFS hardware offload will work much better than a software NFS.
Personally with bare metal database I'd try to do fibre channel if supported, then iscsi. Would only dabble with NFS if it had hardware offload, but even still I think block storage would have better iops.
- majewsky 7y agoAFAIK the reason for using NFS is that it's supported in k8s out of the box. I don't recall any performance issues for the things that we're doing. When we had database issues, it was the usual stuff: missing indexes, suboptimal config settings etc.
- pm7 7y agoCould you explain what do you mean by "NFS hardware offload"? Google search points mostly to VMWare-specific "VAAI NAS framework", which doesn't seem to be useful in case of database over NFS.
- caleblloyd 7y agoSome storage appliances have special hardware to accelerate NFS operations. Those may be able to come close to the same performance as a block storage device. The other option with NFS is running it in software such as a NFS server on Linux configured with /etc/exports and backing the data to a block storage device. This is CPU intensive and would be much slower under load.