Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Aug 2006 17:19:21 +0300
From:      Petri Helenius <pete@he.iki.fi>
To:        Morgan <freebsd-net@pp.dyndns.biz>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Optimizing a high-latency connection
Message-ID:  <44EF06E9.1070003@he.iki.fi>
In-Reply-To: <02df01c6c84c$dcd564c0$4345a8c0@phobos>
References:  <02df01c6c84c$dcd564c0$4345a8c0@phobos>

next in thread | previous in thread | raw e-mail | index | archive | help

Increase sendspace an recvspace depending which way your data is going:
net.inet.tcp.sendspace: 57344
net.inet.tcp.recvspace: 256000

TCP window scaling is enabled by default nowadays if I remember correctly.

Pete


Morgan wrote:
> Hi.
>
> I'm trying som file transfers across the globe. The RTT is almost 400ms and
> the transfer rate is painfully slow. There are 24 router hops on the path
> and I assume most of the problem is there but I wonder if there are any
> sysctl variables I can trim on my side to help this problem slightly? I seem
> to understand that there need to be an ACK received for at least every other
> packet or at least every 100ms for the data flow to proceed uninterrupted
> but I'm no expert in this field so please correct me if I'm wrong. Assuming
> this IS correct, are there any sysctl variables I can optimize to change
> this behaviour or will that affect low latency connections negatively. Any
> other suggestions?
>
> Regards
> Morgan
>
>
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44EF06E9.1070003>