On Mon, 27 Sep 2004 12:50:48 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
> On Mon, Sep 27, 2004 at 11:27:24AM +1000, Herbert Xu wrote:
> > Indeed, I think the new code means that Minshall's check will disable
> > Nagle which is what was keeping TSO working properly.
> > Anton, could you please try this patch which disables Minshall's check
> > and see what it does?
> Never mind. Minshall is innocent :)
> We set the maximum TSO factor bounded by the congestion window. But
> when the congestion window is raised, we don't call tcp_sync_mss
> which is the only place that can raise the TSO factor.
> So the TSO factor never grows above what we start with.
The very next time we check to see if we can
make forward progress on the send queue we'll call tcp_current_mss()
which causes the right things to happen.
Something else is wrong. I think part of it is that we need to
make tcp_clean_rtx_queue() return FLAG_DATA_ACKED even when a
partial TSO packet is ACK'd by the other end. This will make
RTO etc. calculations actually occur, among other things. But
I have no idea if that will clear up the performance problems
TSO is having with the new code.