cc:ing as I don't know if I can actually post to tech@
In my own tests, when I got apalling speeds like that I discovered that the
remote connection had timestamps turned off.
I'm not sure why you're trying to both raise the starting point as well as
the increment speed. As the normal cap is at 256k anyway. So it can't
increment anywhere.
What I've been running with for a while is starting at 48k and raising by
32k increments. Which doesn't appear to be too bad internationally, and
isn't quite as bad when timestamps aren't available.
I've also been running with the maximum boosted.
It's only recently I looked at the sender side stuff. And I struggled to
understand quite how it worked.
To my mind having the default raised to 32768 at least makes sense. I want
to look into things further myself, but I haven't got a seperate development
environment setup yet.
What I've been thinking about is that sometimes you want to increase the
window size faster, and smoetimes slower. Depending on available bandwidth.
But I never thought about any way for that. Like if I know a connection can
do 30 megabit internationally with 200 msec ping. Then the window would need
to be 6 megabits to fill the link if it was a single connection. But in the
real world often there'll be 20+ connections so then window size would not
want to be nearly that big.
That said, you realise you can still set the socket buffer size in an
application - like squid, and relayd both support built in hard coding of
socket buffer size.
My current pet peeve is that if you bounce a connection that came in with
timestamps turned off, then you're initiating another connection with
timestamps on then you can end up with one 1448 data packet, then one 12 byte
data packet in quick sucession.
Ben.
On Wed, Dec 01, 2010 at 08:45:35PM -0500, Ted Unangst wrote: