hey, thanks for your overwhelming private lesson for english colloquialism  :D

now back to the technical :)

> # zfs create pool/gzip
> # zfs set compression=gzip pool/gzip
> # cp -r /pool/lzjb/* /pool/gzip
> # zfs list
> NAME        USED  AVAIL  REFER  MOUNTPOINT
> pool/gzip  64.9M  33.2G  64.9M  /pool/gzip
> pool/lzjb   128M  33.2G   128M  /pool/lzjb
> 
> That's with a 1.2G crash dump (pretty much the most compressible file 
> imaginable). Here are the compression ratios with a pile of ELF binaries 
> (/usr/bin and /usr/lib):

> # zfs get compressratio
> NAME       PROPERTY       VALUE      SOURCE
> pool/gzip  compressratio  3.27x      -
> pool/lzjb  compressratio  1.89x      -

this looks MUCH better than i would have ever expected for smaller files. 

any real-world data how good or bad compressratio goes with lots of very small 
but good compressible files , for example some (evil for those solaris 
evangelists) untarred linux-source tree ?

i'm rather excited how effective gzip will compress here.

for comparison:

sun1:/comptest #  bzcat /tmp/linux-2.6.19.2.tar.bz2 |tar xvf -
--snipp--

sun1:/comptest # du -s -k *
143895  linux-2.6.19.2
1       pax_global_header

sun1:/comptest # du -s -k --apparent-size *
224282  linux-2.6.19.2
1       pax_global_header

sun1:/comptest # zfs get compressratio comptest
NAME  PROPERTY       VALUE  SOURCE
comptest tank  compressratio  1.79x  -
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to