poor performance when use qcow backend
winglq opened this issue · comments
winglq commented
Hi experts,
I have a nvme driver on hand and tested the performance of tcmu-runner.
The following is my test steps:
-
make filesystem on the nvme driver.
-
use qemu-img create a raw image on the new created filesystem.
-
use this image as lio backstore, and create the iscsi LUN.
-
login iscsi target
-
run fio on the new attached LUN.
fio command:
fio --name=nvme --file=/dev/sdn --rw=randwrite --bs=4k --iodepth=32 --size=10G --direct=1 --ioengine=libaio -
the iops is 45k.
-
run fio on the mounted filesystem directly(nvme driver).
-
the iops is 220k.
Any idea why the iops down graded so many? How could I improve the performance?
Thanks.