Hi,
We were trying out the "compression=on" feature of ZFS and were
wondering if it would make
sense to have ZFS do compression only on a certain kind of files (or
rather the otherway around).
Our observation :
- If ZFS finds that it cannot achieve a certain amount of compression it
does not compress the file.
However, to figure this out ZFS would have to first compress the
block's data. This means ZFS ends
up consuming resources and that overhead is not worth it.
Is the above observation correct. If so, is there someway this can be
tuned/controlled ?
If not how about having a feature where we could tell ZFS something like :
" Don't try to compress the .gz files" ? We could probably use the
magic number of the file to
identify the type.
Does this make sense ? Or is this a stupid idea ?
Thanks and regards,
Sanjeev.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss