Joachim Pihl wrote: > On Sun, 27 Jan 2008 19:11:33 +0100, MC <[EMAIL PROTECTED]> wrote: > >>> I didn't expect miracles, but since WinRAR gave 13% compression >> ZFS doesn't compress a block if it can't get a certain amount of return >> on it. >> >> Since the default compression is less effective than RAR, you can bet >> ZFS is seeing much less than 13% return. > > What is the threshold, does anyone know that? It sound like a fair > decision, though. Try to compress on write, increase perrformance on read > by not compressing if there is little space to be gained. Wouldn't slow > down writes compared to not having such a threshold either. Clever!
See line 108 of this file: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/zfs/zio_compress.c#73 -- Darren J Moffat _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss