home / posts / ZFS deduplication test on Fedora 15 Linux
Emre Tugriceri • • 1 min read

ZFS deduplication test on Fedora 15 Linux

I recently tested ZFS deduplication test on Fedora 15 Linux. This is my test script. I tested only text file. For final report, other file format tests is unnecessary. [root@etugriceri fast]# du -ch 0/textfile 6.5K 0/textfile 6.5K total [root@etugriceri fast]# zpool list dimmpool NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT dimmpool 294M 262M 31.8M 89%1.89xONLINE [root@etugriceri fast]# cat ded.sh a="1" while [ $a -lt "1000" ]; do mkdir $a let b=$a-1 cp $b/textfile $a dd if=/dev/urandom count=128 bs=1 2>&1 | md5sum >> $a/textfile let a=$a+1 done ##### [root@etugriceri fast]# zpool list dimmpool NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT dimmpool 294M 132M 162M 45%1.00xONLINE - [root@etugriceri fast]# cat ded.sh a="1" while [ $a -lt "10000" ]; do mkdir $a let b=$a-1 cp 0/textfile $a dd if=/dev/urandom count=128 bs=1 2>&1 | md5sum >> $a/textfile dd if=/dev/urandom count=128 bs=1 2>&1 | md5sum >> $a/textfile cat 0/textfile >> $a/textfile let a=$a+1 done