Robert Milkowski wrote:
Hello Sanjeev,
Wednesday, August 30, 2006, 3:26:52 PM, you wrote:
SB> Hi,
SB> We were trying out the "compression=on" feature of ZFS and were
SB> wondering if it would make
SB> sense to have ZFS do compression only on a certain kind of files (or
SB> rather the otherway around).
SB> Our observation :
SB> - If ZFS finds that it cannot achieve a certain amount of compression it
SB> does not compress the file.
SB> However, to figure this out ZFS would have to first compress the
SB> block's data. This means ZFS ends
SB> up consuming resources and that overhead is not worth it.
SB> Is the above observation correct. If so, is there someway this can be
SB> tuned/controlled ?
right now it's 12% minimum compression gain required.
Unfortunately last I checked it was hard-coded.
RFE 6444911 'zfs lzjb compression needs to be tunable' has been filed
for this.
Regards,
Manoj
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss