So I got a couple of Samsung 1TB 960 PRO drives. I tried to use them with ESXi and Xenserver, but performance in both cases sucked. I had created a simple mirror using them. In both cases, I tried using a virtual storage appliance and exporting the ZFS datastore via iSCSI or NFS. I was lucky to get 1/4 of the raw throughput the drives can put out. Testing was with crystaldiskmark 64-bit in a win7 VM. I then installed proxmox 4.4 and set up the mirror again. Instead of using native ZFS in the GUI (which creates zvols), I created the dataset nvme/proxmox manually, and then told the installer 'use that directory'. I created a win7 and changed the drive from IDE to VIRTIO, and ran the test. Here are the numbers using a RAW vdisk:
-----------------------------------------------------------------------
CrystalDiskMark 5.2.1 (C) 2007-2017 hiyohiyo
Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes
Sequential Read (Q= 32,T= 1) : 6969.113 MB/s
Sequential Write (Q= 32,T= 1) : 3215.869 MB/s
Random Read 4KiB (Q= 32,T= 1) : 329.162 MB/s [ 80361.8 IOPS]
Random Write 4KiB (Q= 32,T= 1) : 185.008 MB/s [ 45168.0 IOPS]
Sequential Read (T= 1) : 3065.247 MB/s
Sequential Write (T= 1) : 1768.979 MB/s
Random Read 4KiB (Q= 1,T= 1) : 104.388 MB/s [ 25485.4 IOPS]
Random Write 4KiB (Q= 1,T= 1) : 63.974 MB/s [ 15618.7 IOPS]
Test : 8192 MiB [C: 28.7% (9.2/31.9 GiB)] (x5) [Interval=5 sec]
Date : 2017/03/17 14:26:12
OS : Windows 7 Professional SP1 [6.1 Build 7601] (x86)
(note that qcow2 was much inferior - the numbers were about 1/2 as good as raw)...
-----------------------------------------------------------------------
CrystalDiskMark 5.2.1 (C) 2007-2017 hiyohiyo
Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes
Sequential Read (Q= 32,T= 1) : 6969.113 MB/s
Sequential Write (Q= 32,T= 1) : 3215.869 MB/s
Random Read 4KiB (Q= 32,T= 1) : 329.162 MB/s [ 80361.8 IOPS]
Random Write 4KiB (Q= 32,T= 1) : 185.008 MB/s [ 45168.0 IOPS]
Sequential Read (T= 1) : 3065.247 MB/s
Sequential Write (T= 1) : 1768.979 MB/s
Random Read 4KiB (Q= 1,T= 1) : 104.388 MB/s [ 25485.4 IOPS]
Random Write 4KiB (Q= 1,T= 1) : 63.974 MB/s [ 15618.7 IOPS]
Test : 8192 MiB [C: 28.7% (9.2/31.9 GiB)] (x5) [Interval=5 sec]
Date : 2017/03/17 14:26:12
OS : Windows 7 Professional SP1 [6.1 Build 7601] (x86)
(note that qcow2 was much inferior - the numbers were about 1/2 as good as raw)...