NVMe PCIe 5 benchmarking

jggundin

Active Member
Aug 7, 2019
6
0
41
43
Hello,

I'm benchmarking different storage setups on a new server and I've found an issue or strange behaviour.
The server has 4x KIOXIA KCMYXRUG3T84 on AMD EPYC, linking as expected on PCIe 5.
Running a single windows server VM on single disk reports reads about ~15GB/s, that is as expected for that drive.
Clonning that machine on to 4 disks and running the same test simultaneously, reports 15GB/s for every disk. nmon reports about aggregated 55GB/s at the hypervisor.

But, if I combine the 4 disks into any kind of RAID (mdadm, tested levels 0, 1, 10, 5), ZFS RAIDZ, or LVM, or combiations of them, even in directory mode, the read speed is always equal or below 14GB/s. It seems that it is a kernel issue, or setup limitation, but until now, I haven't found the cause of the bottleneck.

For example, mdadm 4 drive raid 0 (tested even setting 1k chunk) mounted as directory over ext4, with the test VM on it, exactly as if I partition a single disk, gives 15GB/s.
The disk is set as IOThread, No cache, Async IO: Native

Any research idea to achieve optimal RAID or LVM performance?

Current results:
CrystalDiskMark testRead (MB/s)Write (MB/s)
RAID 10 + LVM1388410182
RAID 10 + LVM Thin79103049
RAID 1 + LVM131316515
RAID 5 + Directory11291106
ZFS mirror79967765
ZFS RAID 10764811445
ZFS RAIDZ791511714
ZFS RAIDZ279186191
ZFS dRAID (2 DATA 1 SPARE)76239542
ZFS on single disk76998682
ZFS on mdadm RAID0787210338
ext4 on RAID0 Directory1606313764
ext4 on RAID1 Directory154816120
ext4 on single disk Directory149627580


Thanks!
 
Last edited:

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!