It's so slow compared to NFS. Like less than 1/4 the performance in my testing with FIO. I want to use it because it seems like a cleaner implementation on how to share files with the host. But, I cannot take that big of a performance hit. Shame really.
DIRECT:
server:/mnt/server1:# show disk perf . 1G
Physical Server
Testing Storage: /mnt/server1
Testing Size: 1G
Read Performance: 182MB/s IOPS=44.5k
Write Performance: 98.3MB/s IOPS=24.0k
NFS:
server:/mnt/server1:# show disk perf . 1G
QEMU Standard PC (Q35 + ICH9, 2009)
Testing Storage: /mnt/server1
Testing Size: 1G
Read Performance: 101MB/s IOPS=24.6k
Write Performance: 54.3MB/s IOPS=13.3k
VIRTIOFS:
server:/mnt/server11:# show disk perf . 1G
QEMU Standard PC (Q35 + ICH9, 2009)
Testing Storage: /mnt/server11
Testing Size: 1G
Read Performance: 26.4MB/s IOPS=6444
Write Performance: 14.2MB/s IOPS=3474
FIO_COMMANDLINE:
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test.file --bs=4k --iodepth=32 --size=1G --readwrite=randrw --rwmixread=65
DIRECT:
server:/mnt/server1:# show disk perf . 1G
Physical Server
Testing Storage: /mnt/server1
Testing Size: 1G
Read Performance: 182MB/s IOPS=44.5k
Write Performance: 98.3MB/s IOPS=24.0k
NFS:
server:/mnt/server1:# show disk perf . 1G
QEMU Standard PC (Q35 + ICH9, 2009)
Testing Storage: /mnt/server1
Testing Size: 1G
Read Performance: 101MB/s IOPS=24.6k
Write Performance: 54.3MB/s IOPS=13.3k
VIRTIOFS:
server:/mnt/server11:# show disk perf . 1G
QEMU Standard PC (Q35 + ICH9, 2009)
Testing Storage: /mnt/server11
Testing Size: 1G
Read Performance: 26.4MB/s IOPS=6444
Write Performance: 14.2MB/s IOPS=3474
FIO_COMMANDLINE:
fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test.file --bs=4k --iodepth=32 --size=1G --readwrite=randrw --rwmixread=65
Last edited: