[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0804151114240.17123@wrl-59.cs.helsinki.fi>
Date: Tue, 15 Apr 2008 11:23:28 +0300 (EEST)
From: "Ilpo Järvinen" <ilpo.jarvinen@...sinki.fi>
To: Wenji Wu <wenji@...l.gov>
cc: 'Netdev' <netdev@...r.kernel.org>
Subject: Re: RE: A Linux TCP SACK Question
On Mon, 14 Apr 2008, Wenji Wu wrote:
>
> > Hmm, now there are even less retransmissions (barely some with
> > the SACK in the end).
> >
> > I suppose the reordering detection is good enough to kill them. ...You
> >
> > could perhaps figure that out from MIBs if you would want to.
> >
>
> Yes, the web100 shows that the tcp_reordering could be as large as 127.
It should get large, though I suspect newreno's new value: tp->packets_out
+ addend might have tp->packets_out too much.
> I just rerun the following experimetns to show why there are few
> retransmissions in my previous posts.
>
> (1) Flush the sytem routing cache by running "ip route flush cache"
> before running and tcpdumping the traffic
I didn't know that works, tcp_no_metrics_save sysctl seems to prevent
saving them from an running TCP flow when a flow ends.
> (2) Before running and tcpdumping the traffic, run a data transmission
> test to generate tcp_reordering in the routing cache. Do not flush the
> routing cache. Then running and tcpdumping the traffic.
>
> Both experiments with sack off.
>
> The results is posted to
> https://plone3.fnal.gov/P0/WAN/Members/wenji/adaptive_tcp_reordering/
>
> So, the few retransmissions in my previous post are really caused by the
> routing cache.
Yes. Remember however that initial metrics has also have effect on initial
ssthresh, so one must be very careful to not cause unfairness through them
if metrics are not cleared.
> But flushing cahce has nothing to do with SACK on/off. Still the
> trhoughput with SACK off is better than that of with SACK on.
Yes, I think it alone would never explain it. Though difference in
initial ssthresh might have been the explanation for the different level
where outstanding data settled with the logs without any retransmissions.
--
i.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists