User Tools

Site Tools


zfs:compression:comparison

ZFS Compression Speed Comparison

The following data serves only for analysis.

Facts:

  • Data: uncompressed dataset “test-package”
  • Size: 3.5Gb (uncompressed)
  • Time: tested under quasi-random load, so measurement is less authoritative and more “ballpark”
  Strength      Time    T.Delta   Size    KB         S.Delta
  test-package  N/A     N/A       3.43G   3,607,082  N/A
  off           199.6   1.0       3.43G   3,607,083  100.000%
  on            221.6   1.11      3.24G   3,403,256  94.349%
  zle           202.9   1.02      3.37G   3,540,858  98.164%
  lzjb          225.2   1.13      3.24G   3,403,256  94.349%
  gzip          357.6   1.79      3.09G   3,248,906  90.070%
  gzip-1        334.6   1.67      3.12G   3,272,719  90.730%
  gzip-2        343.3   1.72      3.11G   3,267,096  90.574%
  gzip-3        335.9   1.68      3.11G   3,262,080  90.435%
  gzip-4        353.5   1.77      3.10G   3,255,627  90.257%
  gzip-5        364.5   1.83      3.09G   3,250,452  90.113%
  gzip-6        360.7   1.81      3.09G   3,248,902  90.070%
  gzip-7        372.8   1.87      3.09G   3,248,636  90.063%
  gzip-8        388.4   1.95      3.09G   3,248,511  90.059%
  gzip-9        394.1   1.97      3.09G   3,248,493  90.059%

Comparison Directory Contents

  root@torrents:/volumes/millstone/compression-tests# ls
  gzip    gzip-2  gzip-4  gzip-6  gzip-8  lzjb    on      zle
  gzip-1  gzip-3  gzip-5  gzip-7  gzip-9  off	    test-package

Comparison of Dataset Sizes

  
  root@torrents:/volumes/millstone/compression-tests# zfs list -r millstone/compression-tests
  NAME                                       USED  AVAIL  REFER  MOUNTPOINT
  millstone/compression-tests               47.7G   951G    48K  /volumes/millstone/compression-tests
  millstone/compression-tests/gzip          3.09G   951G  3.09G  /volumes/millstone/compression-tests/gzip
  millstone/compression-tests/gzip-1        3.12G   951G  3.12G  /volumes/millstone/compression-tests/gzip-1
  millstone/compression-tests/gzip-2        3.11G   951G  3.11G  /volumes/millstone/compression-tests/gzip-2
  millstone/compression-tests/gzip-3        3.11G   951G  3.11G  /volumes/millstone/compression-tests/gzip-3
  millstone/compression-tests/gzip-4        3.10G   951G  3.10G  /volumes/millstone/compression-tests/gzip-4
  millstone/compression-tests/gzip-5        3.09G   951G  3.09G  /volumes/millstone/compression-tests/gzip-5
  millstone/compression-tests/gzip-6        3.09G   951G  3.09G  /volumes/millstone/compression-tests/gzip-6
  millstone/compression-tests/gzip-7        3.09G   951G  3.09G  /volumes/millstone/compression-tests/gzip-7
  millstone/compression-tests/gzip-8        3.09G   951G  3.09G  /volumes/millstone/compression-tests/gzip-8
  millstone/compression-tests/gzip-9        3.09G   951G  3.09G  /volumes/millstone/compression-tests/gzip-9
  millstone/compression-tests/lzjb          3.24G   951G  3.24G  /volumes/millstone/compression-tests/lzjb
  millstone/compression-tests/off           3.43G   951G  3.43G  /volumes/millstone/compression-tests/off
  millstone/compression-tests/on            3.24G   951G  3.24G  /volumes/millstone/compression-tests/on
  millstone/compression-tests/test-package  3.43G   951G  3.43G  /volumes/millstone/compression-tests/test-package
  millstone/compression-tests/zle           3.37G   951G  3.37G  /volumes/millstone/compression-tests/zle

Comparison of Disk Used (in Bytes)

  
  root@torrents:/volumes/millstone/compression-tests# du -s *
  3248906	gzip
  3272719	gzip-1
  3267096	gzip-2
  3262080	gzip-3
  3255627	gzip-4
  3250452	gzip-5
  3248902	gzip-6
  3248636	gzip-7
  3248511	gzip-8
  3248493	gzip-9
  3403256	lzjb
  3607083	off
  3403256	on
  3607082	test-package
  3540858	zle

ZFS Compression - Additional Resources

Back to ZFS

zfs/compression/comparison.txt · Last modified: 2018/07/08 17:57 (external edit)