On Fri, 7 Mar 2008, Rob Logan wrote:
>
> zfs send -i z/[EMAIL PROTECTED]  z/[EMAIL PROTECTED]  | bzip2 -c |\
>   ssh host.com "bzcat | zfs recv -v -F -d z"
> zfs send -i z/[EMAIL PROTECTED]  z/[EMAIL PROTECTED]  | bzip2 -c |\
>   ssh host.com "bzcat | zfs recv -v -F -d z"
> zfs send -i z/[EMAIL PROTECTED]    z/[EMAIL PROTECTED]    | bzip2 -c |\
>    ssh host.com "bzcat | zfs recv -v -F -d z"

Since I see 'bzip2' mentioned here (a rather slow compressor), I 
should mention that based on a recommendation from a friend, I gave a 
compressor called 'lzop' (http://www.lzop.org/) a try due to its 
reputation for compression speed.  Compressing zfs send was causing it 
to take much longer.  Testing with 'lzop' showed that it was 2.5X 
faster than gzip on the Opteron CPU and that the compression was just 
a bit worse than gzip's default compression level.  It seems that some 
assembly language is used for x86 and Opteron.  I did not test the 
relative speed differences on SPARC.

The benefit from a compressor depends on the speed of the pipe and the 
speed of the filesystem.  If CPU and/or network is the bottleneck, 
then LZO compression may be the solution.

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

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

Reply via email to