>On 06/05/2010 21:07, Erik Trimble wrote:
>> VM images contain large quantities of executable files, most of which
>> compress poorly, if at all.
>
>What data are you basing that generalisation on ?
>
>Look at these simple examples for libc on my OpenSolaris machine:
>
>1.6M  /usr/lib/libc.so.1*
>636K  /tmp/libc.gz
>
>I did the same thing for vim and got pretty much the same result.

>It will be different (probably not quite as good) when it is at the ZFS 
>block level rather than whole file but those to randomly choosen by me 
>samples say otherwise to your generalisation.

Easy to test when "compression" is enabled for your rpool:

2191 -rwxr-xr-x   1 root     bin      1794552 May  6 14:46 /usr/lib/libc.so.1*

(The actual size is 3500 blocks so we're saving quite a bit)


Casper

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

Reply via email to