I have noticed that dedup is discussed a lot in this list right now..

Starting to experiment with dedup=on, I feel it would be interesting in knowing exactly how efficient dedup is. The problem is that I've found no way of checking this per file system. I have turned dedup on for a few file systems to try it out:

p...@opensolaris-fs:~$ zfs get all storage/virtualbox|grep dedup
storage/virtualbox  dedup                  on                     local
p...@opensolaris-fs:~$ zfs get all storage/testshare|grep dedup
storage/testshare  dedup                  on                     local

zfs list shows a dedup value of 2.22x, mainly because I made a few copies of my vdi files in the 'virtualbox' file system. For what I understand, this value represents the dedup efficiency for the whole zpool.

For my 'testshare' file system, the dedup value should be about 6x, since I just made five copies of a folder with a few hundred files.

The question is: is there any way to check/confirm the level of dedup efficiency ?

/PeO

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to