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? Thanks, Neal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20100128/c33a5376/attachment.html>
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
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<http://www.catb.org/%7Eesr/faqs/smart-questions.html>-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.samba.org/pipermail/rsync/attachments/20100201/ad0a0a65/attachment.html>
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
On Mon, Feb 1, 2010 at 12:14 PM, Christopher Hawkins <chawkins at bplinux.com> wrote:> Hi fellas -> > 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...I saw the same sorts of improvements... approximately 300% over a 45 Mbps pipe with 50 ms latency. Rsync 3.0.6 on cygwin/Windows 2003. -- RPM