Re: unnecessary retransmit from network stack

From: Mika Liljeberg (Mika.Liljeberg@welho.com)
Date: Sat Oct 06 2001 - 04:59:52 EST


"David S. Miller" wrote:
>
> From: Christian Widmer <cwidmer@iiic.ethz.ch>
> Date: Fri, 5 Oct 2001 14:29:53 +0200
>
> why does net_dev.hard_start_xmit get called multiple times
> with the same tcp packet?
>
> Because the ACK is not coming back for those packets within the RTO
> (which for a local network is very low). Check your TCP dumps,
> the ACKs of the original data packets are being dropped in transit.

Well, TCP certainly shouldn't be sending two retransmissions
back-to-back within 2ms, especially with nothing received in between.
Not with RTO (which in Linux is never below 20ms, and according to RFC
should be conservatively rounded up to 1 second), nor with fast
retransmits or SACK.

Just an observation.

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



This archive was generated by hypermail 2b29 : Sun Oct 07 2001 - 21:00:41 EST