FC LUN 100+ TB passthrough to VM

weerok

Renowned Member
Jun 2, 2016
10
0
66
55
Hello,

We are testing setup using VM (FreeNAS) with Disk passthrough (via FC on Storage).
Current VM seetings are:
- cpu: qemu64
- scsihw: virtio-scsi-pci
- LUN passthrough : virtio2: /dev/disk/by-id/dm-uuid-mpath-331402ec001f4fc
- virtio drive cache: none

My question is there any recommended setting that could influence IO perfromance:
- what 'scsihw' controller,
- what cache settings are best when passthrough is used,
cache=<directsync | none | unsafe | writeback | writethrough>
- iothread on/off?
 
I would analyze this method, but do you have some advices for Disk passthrough ?
 
General use the scsi with virtio bus because it is more commonly used.
Cache in this case I would use none because ZFS do not like caches what are not under control of it.
IOthread make sense if you disk can offer more than 50.000 iops. In this case you have to use the virtio controller.