Re: Raise initial congestion window size / speedup slow start?

From: Alan Cox
Date: Wed Jul 14 2010 - 07:49:11 EST


> From what I can see the linux initial congestion window is signficantly
> limiting me here, with slow start taking many many seconds to open up
> the window wide enough to get the data flowing? For protocols like http
> this is really hurting with all the short lived connections never really
> getting up to speed. (throw in some random packet loss and things
> really screech to a halt)

For http it's the window the server end that will matter as most data
goes server->client. http also has HTTP/1.1 so that in the normal case
you don't get lots of small connections.

An http request is normally sub MTU size (unless it's got auth and lots
of cookie crap) so your congestion window should be irrelevant. It's the
cwnd the other end that will matter.

Have you considered running a web proxy the other end of the link. That
would keep the DNS lookup work on the fast rtt side, and mean if your web
browser is being sane you are maintaining one connection for most of your
work. It also means you can run advert and junk filters the better end.

If you want to explore it further you want: netdev@xxxxxxxxxxxxxxx really.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/