Slow and sluggish VM performance on ZFS

alpha754293

Member
Jan 8, 2023
66
15
8
Hardware:
Core i7-6700K
64 GB DDR4-2400 RAM
Asus Z170-E motherboard
RTX 3090
1x Samsung 850 EVO 1 TB SATA 6 Gbps SSD
1x HGST 3 TB SATA 6 Gbps HDD

OS:
Proxmox 7.3-3

I installed Proxmox ok.

I created the ZFS pool using the command line
Code:
# zpool create -o ashift=12 export /dev/sdb

and then in the GUI, I added the directory and told Proxmox that's where to put the VM disk images along with the ISOs.

After that, I enabled compression, via the command line:

Code:
# zfs set compression=on

Now I am in the process of installing Windows 10 in a VM, and it is running super slow. Writes to the ZFS hosted VM disk image is about 5 MB/s.

ARC is using about 50% of the RAM, as expected (31.4 GiB according to arc_summary).

sync is standard.

Compression is enabled (which is I think lz4 by default).

Is ZFS on Proxmox supposed to be this slow?

(I'm relatively new to Proxmox and this is my first "real" time of using ZFS on Linux this way. (Previously, I was using TrueNAS Core.)

Your help and advice is greatly appreciated.

Thank you.
 

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!