From owner-freebsd-ports@FreeBSD.ORG Sat Jun 28 01:17:58 2014 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2080146; Sat, 28 Jun 2014 01:17:58 +0000 (UTC) Received: from nschwmtas02p.mx.bigpond.com (nschwmtas02p.mx.bigpond.com [61.9.189.140]) by mx1.freebsd.org (Postfix) with ESMTP id 38E002165; Sat, 28 Jun 2014 01:17:57 +0000 (UTC) Received: from nschwcmgw06p ([61.9.190.166]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20140628011749.GJIN12338.nschwmtas02p.mx.bigpond.com@nschwcmgw06p>; Sat, 28 Jun 2014 01:17:49 +0000 Received: from hermes.heuristicsystems.com.au ([121.210.107.100]) by nschwcmgw06p with BigPond Outbound id KdHp1o00B29zwdD01dHpeT; Sat, 28 Jun 2014 01:17:49 +0000 X-Authority-Analysis: v=2.0 cv=Pdd9d1dd c=1 sm=1 a=SEJ2iDwVkb98DYvesvueMw==:17 a=JipEcVzqA9wA:10 a=1Fg7leJ7tAYA:10 a=8nJEP1OIZ-IA:10 a=GHIR_BbyAAAA:8 a=olMmJpIumUQlAYStuLUA:9 a=wPNLvfGTeEIA:10 a=SEJ2iDwVkb98DYvesvueMw==:117 Received: from [10.0.5.3] (ewsw01.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id s5S1Hhwu062977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 28 Jun 2014 11:17:44 +1000 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Message-ID: <53AE17B4.9020109@heuristicsystems.com.au> Date: Sat, 28 Jun 2014 11:17:40 +1000 From: Dewayne Geraghty User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Emanuel Haupt , Ben Tung Subject: Re: rsync 3.1.1 zlib might not work References: <20140627145527.9d22938908a9f4847ba62388@FreeBSD.org> In-Reply-To: <20140627145527.9d22938908a9f4847ba62388@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2014 01:17:58 -0000 Emanuel, Thanks for bringing to our attention, I transmit ~900MB of backups over the WAN rather than the uncompressed 9G database. You've saved a client excess use charges. I tested using highly compressible data (mostly nulls) and it seems to work as expected. Without -z or -zz: Sent 593 bytes speadup 0.82 With -z : Sent 593 bytes speadup 0.82 (Unexpected. Should be in ports/UPDATING) With -zz: sent 85 bytes speedup is 4.27 (Expected) Detail # rm ./b && printf "%512c"a > a && rsync -av ./a ./b sending incremental file list a sent 593 bytes received 35 bytes 1,256.00 bytes/sec total size is 512 speedup is 0.82 # rm ./b && printf "%512c"a > a && rsync -avz ./a ./b This rsync lacks old-style --compress due to its external zlib. Try -zz. Continuing without compression. sending incremental file list a sent 593 bytes received 35 bytes 1,256.00 bytes/sec total size is 512 speedup is 0.82 # rm ./b && printf "%512c"a > a && rsync -avzz ./a ./b sending incremental file list a sent 85 bytes received 35 bytes 240.00 bytes/sec total size is 512 speedup is 4.27 # ldd `which rsync` /usr/local/bin/rsync: libz.so.6 => /lib/libz.so.6 (0x800873000) libc.so.7 => /lib/libc.so.7 (0x800a87000) Perhaps ports/UPDATING should alert users to the new requirement to use -zz (not in man page) instead of -z or --compress? Regards, Dewayne.