ZFS/compression/performance

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Nov 2 06:38:11 UTC 2011


On Wed, Nov 02, 2011 at 11:37:49AM +0530, Shivaram Upadhyayula wrote:
> Sorry i didn't know it will be stripped out :-)
> http://www.quadstor.com/ietbsd/compression.tgz LZF diff is against
> FreeBSD8-STABLE checkout about a week ago.

Are you sure about that?

$ egrep '^---' lzffinal.diff
--- cddl/boot/zfs/zfsimpl.h     2011-10-26 14:50:35.000000000 +0530
--- cddl/boot/zfs/zfssubr.c     2011-10-26 14:50:35.000000000 +0530
--- cddl/contrib/opensolaris/common/zfs/zfs_prop.c      2011-10-26 14:50:36.000000000 +0530
--- cddl/contrib/opensolaris/uts/common/Makefile.files  2011-10-27 14:21:41.000000000 +0530
--- cddl/contrib/opensolaris/uts/common/fs/zfs/lzf.c    1970-01-01 05:30:00.000000000 +0530
--- cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h        2011-10-26 14:50:36.000000000 +0530
--- cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h       2011-10-26 14:50:36.000000000 +0530
--- cddl/contrib/opensolaris/uts/common/fs/zfs/zio_compress.c   2011-10-26 14:50:37.000000000 +0530

These pathnames don't reflect reality on FreeBSD RELENG_8.  There are no
such path names, both on our RELENG_8 systems, nor in CVS:

$ ls -l /usr/src/cddl/boot
ls: /usr/src/cddl/boot: No such file or directory

$ ls -l /usr/src/cddl/contrib/opensolaris/uts
ls: /usr/src/cddl/contrib/opensolaris/uts: No such file or directory

$ ls -l /usr/src/cddl/contrib/opensolaris
total 30
-rw-r--r--    1 root      wheel     18924 Mar 28  2008 OPENSOLARIS.LICENSE
drwxr-xr-x   16 root      wheel       512 Jun 23 00:43 cmd/
drwxr-xr-x    4 root      wheel       512 Jun 23 00:43 common/
drwxr-xr-x    2 root      wheel       512 Jun 23 00:43 head/
drwxr-xr-x   10 root      wheel       512 Jun 23 00:43 lib/
drwxr-xr-x    3 root      wheel       512 Jun 23 00:43 tools/

In CVS there used to be a src/cddl/contrib/opensolaris/uts/common directory
but everything in it now is under Attic/, which means it's been
deprecated.  See for yourself:

http://www.freebsd.org/cgi/cvsweb.cgi/src/cddl/contrib/opensolaris/uts/common/

Please advise.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, US |
| Making life hard for others since 1977.               PGP 4BD6C0CB |



More information about the freebsd-fs mailing list