Latency and Rsync Transfers
Christopher Hawkins
chawkins at bplinux.com
Mon Feb 1 11:14:23 MST 2010
Hi fellas -
Just my 2 cents here. I experimented with this also a while back and with:
socket options = SO_SNDBUF=65536,SO_RCVBUF=65536
in my rsyncd.conf on the server side, and:
--sockopts=SO_SNDBUF=65536,SO_RCVBUF=65536
as a part of my rsync command line on the client, I get almost 2x the throughput on local gig ethernet. It was a huge improvment...
Chris
----- "Neal B" <nrbwpi at gmail.com> wrote:
> Hi Ryan,
>
> Thanks for your reply. I have been experimenting with the buffer settings and when specifying it actually causes the transfers to go slower.
>
> I am running an rsync server using xinet.d and an rsync client. I have tried specifying the sockopts on just the client, server, and both.
>
> Thanks in advance,
>
> Neal
>
>
>
> On Fri, Jan 29, 2010 at 9:33 AM, Ryan Malayter < malayter at gmail.com > wrote:
>
> On Thu, Jan 28, 2010 at 10:43 AM, Neal B < nrbwpi at gmail.com > wrote:
> > Hello,
> >
> > Working a few servers that are transferring data across country with a 75ms
> > delay on a GIGE connection. We can tune the tcp buffers on linux to improve
> > the connections using iperf. Does rsync use the tcp buffers of the OS or
> > does it override these settings?
>
> It will ise OS defaults unless you pass --sockopts to rsync.
>
> Like so:
> rsync --sockopts=SO_SNDBUF=128000,SO_RCVBUF=128000 <other options>
>
> --
> RPM
> --
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
>
> -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list