SOLVED VM Performance with ZFS Deduplication

adityaharsh

Dabbler
Joined
Feb 4, 2022
Messages
39
I've two spare WD Red SN700 250GB and an existing mirror pool with 1TB Sabrent SSD for VMs.

I was thinking to add these 250GB drives as dedup drives, before creating a second VM, till now I've planned only to run Windows VMs on the 1TB disks and after watching this video I'm fully convinced. Still I want to know about the community's take on this. Thanks in advance for any valuable suggestions.

 

Etorix

Wizard
Joined
Dec 30, 2020
Messages
2,134
ZFS has many advanced features which may be useful in some fringe cases, but are best ignored by the vast majority of users. Deduplication is one of them.

Deduplication is just not worth the resource costs for just TWO copies, and there's no need to speed up access to metadata with a mirror of NVMe drives.
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
I'm going to have to write a much longer and more technical reply to this, but the short version is that video sets up an extremely unrealistic and easy-win scenario for deduplication (just copying the same files to the share twice) so don't expect the same results.
 

adityaharsh

Dabbler
Joined
Feb 4, 2022
Messages
39
ZFS has many advanced features which may be useful in some fringe cases, but are best ignored by the vast majority of users. Deduplication is one of them.

Deduplication is just not worth the resource costs for just TWO copies, and there's no need to speed up access to metadata with a mirror of NVMe drives.
Actually that 1tb drive will eventually have 5 copies of windows, and this will be used in office environment, so the installation will be almost similar, that's why I considered this.
 

xness

Dabbler
Joined
Jun 3, 2022
Messages
30
Deduplication requires SSDs that can sustain simultaneous read-write operations. Especially when dealing with VM data instead of sequential data, I'm pretty sure the demand on the dedup vdev is even higher.

If you're serious about deduplication, I'd advice reading this: https://www.truenas.com/community/r...f-handling-fast-consistent-deduplication.148/

Though just to store 5 versions of Windows – aka just 250GB – you're better off just buying another SSD instead.

It's also said that VMs generally require the zpool to have around ~50% space left to work properly: https://www.truenas.com/community/r...and-why-we-use-mirrors-for-block-storage.112/
 

adityaharsh

Dabbler
Joined
Feb 4, 2022
Messages
39
Though just to store 5 versions of Windows – aka just 250GB – you're better off just buying another SSD instead.

It's also said that VMs generally require the zpool to have around ~50% space left to work properly
ya I have planned on using just 100gb for each VM because honestly that’s enough for my use case


so I don’t think more than 1tb will be required for the time being
 
Top