Hi,
I bought 2x used 100GB and 3x used 200GB Intel DC S3700/3710 SDDs for my Proxmox Server because of the great write endurance of a couple petabytes per drive and I'm not sure what the size of the flash pages is. I wasn't able to find anything in the datasheets nor on google. Does anyone know what ashift I should use for minimum write amplification? Most people seem to use 4k or 8k as logical block size for SSD so using a ashift of 12 or 13. Any suggestions?
And I'm not sure what the best setup would be. I want my VMs to be encrypted and everything mirrored so I don't loose any data if a drive fails.
Last Setup I installed Proxmox to 2 zfs mirrored 1TB HDDs leaving 900GB free space on the disks and created a 900GB partiton on top of it. This partitions I used for a mirrored encrypted zfs pool to store my VMs.
Now I am planning to create a zraid1 of 4x or 5x 200GB Intel S3700/S3710 SDDs for my VMs and I'm not sure if it is a good idea to install Proxmox to the same pool.
Are there any benefits of installing proxmox to a dedicated pair of 100GB SDDs instead of just using the 4 or 5 200GB SDDs for everything?
Another problem was the write amplification I saw on my last install. I ran a zabbix server with MySQL in one VM with ext4 as guest filesystem on a zdev with "raw". The guest os was writing around 700kb/s to the vdev (so maybe 350kb/s of real data because of the journaling of ext4) and the zfs on the host was writing around 4000 - 5000kb/s (using cache mode=none/writethrough/writeback on guest) to the HDDs to store those 700kb/s from the host. Only setting the VM to cache mode=unsafe was decreasing the writes of the host to around 2000kb/s. So I think that extra amplification was caused by using the ZIL because of the sync writes of the MySQL db.
What cache mode, ashift and filesystem would you use on the guest side and what ashift and filesystem on the host side so the write amplification wouldn't be that bad? I think 350kb/s of data really writing 5000kb/s to disk is a little bit hard, even if the write amplification caused by the new SSDs shouldn't be that high then.
Or is there no alternative If you want your data to be safe? Would xfs/lvm with mdraid or onboard raid and qcow2 be any option?
Do I really need a journaling filesystem on the guest if the host already uses journaling, CoW, has a UPS and SSDs with powerloss protection?
I bought 2x used 100GB and 3x used 200GB Intel DC S3700/3710 SDDs for my Proxmox Server because of the great write endurance of a couple petabytes per drive and I'm not sure what the size of the flash pages is. I wasn't able to find anything in the datasheets nor on google. Does anyone know what ashift I should use for minimum write amplification? Most people seem to use 4k or 8k as logical block size for SSD so using a ashift of 12 or 13. Any suggestions?
And I'm not sure what the best setup would be. I want my VMs to be encrypted and everything mirrored so I don't loose any data if a drive fails.
Last Setup I installed Proxmox to 2 zfs mirrored 1TB HDDs leaving 900GB free space on the disks and created a 900GB partiton on top of it. This partitions I used for a mirrored encrypted zfs pool to store my VMs.
Now I am planning to create a zraid1 of 4x or 5x 200GB Intel S3700/S3710 SDDs for my VMs and I'm not sure if it is a good idea to install Proxmox to the same pool.
Are there any benefits of installing proxmox to a dedicated pair of 100GB SDDs instead of just using the 4 or 5 200GB SDDs for everything?
Another problem was the write amplification I saw on my last install. I ran a zabbix server with MySQL in one VM with ext4 as guest filesystem on a zdev with "raw". The guest os was writing around 700kb/s to the vdev (so maybe 350kb/s of real data because of the journaling of ext4) and the zfs on the host was writing around 4000 - 5000kb/s (using cache mode=none/writethrough/writeback on guest) to the HDDs to store those 700kb/s from the host. Only setting the VM to cache mode=unsafe was decreasing the writes of the host to around 2000kb/s. So I think that extra amplification was caused by using the ZIL because of the sync writes of the MySQL db.
What cache mode, ashift and filesystem would you use on the guest side and what ashift and filesystem on the host side so the write amplification wouldn't be that bad? I think 350kb/s of data really writing 5000kb/s to disk is a little bit hard, even if the write amplification caused by the new SSDs shouldn't be that high then.
Or is there no alternative If you want your data to be safe? Would xfs/lvm with mdraid or onboard raid and qcow2 be any option?
Do I really need a journaling filesystem on the guest if the host already uses journaling, CoW, has a UPS and SSDs with powerloss protection?
Last edited: