How to use Virtio-blk-data-plane in Proxmox instead Virtio-SCSI?

Hi,

virtio-SCSI single is capable to handle over 15k-25K dependence on your CPU clock speed.
I would guess your storage are to slow.

This Virtio-blk-data-plane is based on iSCSI what means you have to create for every vdisk a lun on the host system.
For the normal user, this approach is not needed and will also use on the system more resources in the LIO stack.

But anyway you can do this if you like but you have to set it up yourself.
 
I would guess your storage are to slow.
You're wrong:
upload_2019-4-10_22-49-13.png

Virtio-blk-data-plane is obsoluted.
In qemu earlier have been flag x-data-plane for virtio-blk instead virtio-blk-data-plane, later this flag and virtio-blk replaced to virtio-scsi (single with threads) and I was test all drivers on pve - maximum result: 2400 iops (inside vm).
Platform:
CPU 2x EPYC 7601
RAM 2TB
Storage1: 4x NVMe SSD Optane (r500k/w500k iops per device)
Storage2: 2x SAS SSD (r80k/w30k iops per device)
Storage3: FC 16Gpbs 18 HDD + 2 SSD Cache + 2 SSD Log, ZFS.

proxmox-ve: 5.3-1 (running kernel: 4.15.18-4-pve)
 
Last edited:
Storage is both HW and software layer.
So the next question is what you use as the software layer at your storage?

I made this test on a Thretripper what nearly the same as you Epyc.
Intel Optane Memory 32GB direct attached on a VM no cache.

fio --filename=/dev/sdb --bs=4K --rw=write --name=test --direct=1 --sync=1 --ioengine=libaio --size=27G --numjobs=1

The result for a virtio-scsi-pci is avg 10412 IOPS
Run status group 0 (all jobs):
WRITE: io=27648MB, aggrb=41648KB/s, minb=41648KB/s, maxb=41648KB/s, mint=679768msec, maxt=679768msec

The result for a virtio-blk bus is avg 10819 IOPS
WRITE: io=27648MB, aggrb=43279KB/s, minb=43279KB/s, maxb=43279KB/s, mint=654159msec, maxt=654159msec

The raw speed on the host is avg 47087 IOPS
WRITE: io=5120.0MB, aggrb=188348KB/s, minb=188348KB/s, maxb=188348KB/s, mint=27836msec, maxt=27836msec
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!