[Gluster-users] Disable rsync compression for georeplication

John Gardeniers jgardeniers at objectmastery.com
Tue Nov 25 22:29:57 UTC 2014


Hi Kotresh,

Thank you. Unfortunately, it doesn't seem to have made much difference, 
with rsync still hammering the CPU.

regards,
John


On 25/11/14 20:05, Kotresh Hiremath Ravishankar wrote:
> Hi John,
>
> There seems to a bug in cli command line parsing which is not allowing
> options prefixed with double hyphen apart from few. As a workaround to fix
> this for now, do following steps.
>
> 1. Stop geo-replication session.
> 2. Add the following at the end of the file "/var/lib/glusterd/geo-replication/gsyncd.conf" in all master nodes.
>     rsync_options = --compress-level=0
> 3. Start geo-replication session.
>
> Thanks and Regards,
> Kotresh H R
>
> ----- Original Message -----
> From: "John Gardeniers" <jgardeniers at objectmastery.com>
> To: gluster-users at gluster.org
> Sent: Tuesday, November 25, 2014 5:24:18 AM
> Subject: [Gluster-users] Disable rsync compression for georeplication
>
> Using Gluster 3.4.2, we have a situation where georeplication is causing
> the CPU on the master to be hammered, while the bandwidth is having a
> holiday. I'd therefore like to disable the rsync compression for
> georeplication.
>
> In a response to David F. Robinson asking the same question back in
> August, Vishwanath Bhat wrote:
>
>   > You can use "rsync-options" to specify any rsync options that you
> want to rsync to use. Just make sure that it does not conflict with the
> default rsync options used by geo-rep.
>   >
>   > For example,
>   >
>   > #gluster volume geo-replication <MASTER> <SLAVE> config rsync-options
> '--bwlimit=<value>'
>
> Finding no way to negate the --compress option used in georeplication I
> thought that perhaps I could get part way there by simply winding down
> the compression level using "gluster volume geo-replication <MASTER>
> <SLAVE> config rsync-options '--compress-level=0' " (Yes, I did use real
> entries for <MASTER> and <SLAVE>.)
>
> The return from that command was "unrecognized option
> --compress-level=0". I tried a few other numbers and got the same
> negative results.
>
> Can someone please advise how to disable rsync compression for
> georeplication? Thanks.
>
> regards,
> John
>
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________



More information about the Gluster-users mailing list