4 ms·
9p is a better network filesystem protocol, and it's available on Linux.
by Titanous 12y ago
9p is a better network filesystem protocol, and it's available on Linux.
- AceJohnny2 12y agoThat's enticing, are there any references/benchmarks to back it up?
- Titanous 12y agoThe protocol itself is much cleaner, but I'm not aware of any recent benchmarks. Compare https://ericvh.github.io/9p-rfc/rfc9p2000.html https://ericvh.github.io/9p-rfc/rfc9p2000.html vs https://tools.ietf.org/html/rfc5661 https://tools.ietf.org/html/rfc5661
- antocv 12y agoFrom my own benchmark, on kernel Linux 3.19.3.201503270049-1-grsec, qemu 2.2.1, 9p was 500% slower on read and immensily - after 9min gave on the write test which took 29s on host.
- 23david 12y agoWhat's your experience been running it in production? Any gotchas?
- Titanous 12y agoWe use it to share filesystems into QEMU/KVM VMs, so far zero issues, but it's not a performance-constrained use case. I do have some plans to do benchmarks for another use case that's more performance intensive, but it's buried in my backlog right now.
- antocv 12y agoCan you do a simple time sh -c "dd if=/dev/zero of=testfile bs=8k count=11000"; rm testfile "performance" test? Also do the read test on a really big file, first from your host - so the file will get cached, then from within the qemu-vm where virtfs plan9 is mounted, dd if=bigfile of=/dev/null Please, I want to confirm its not only my machines suffering from really totally shitty read/write performance thru virtfs?
- antocv 12y agoIts performance for me was 500% slower than NFS which was only 30% slower than direct IO. No time to investigate.