Re: very poor TCP performance with 2.2.2

Pete Wyckoff (pw@dancer.ca.sandia.gov)
Thu, 25 Feb 1999 09:55:16 -0800


Matt Ranney <mjr@ranney.com> writes:
> sure enough, there are several ~3 second pauses at various points

I took a look at your dumps, but can't say it's a linux version problem,
just that one packet gets dropped somewhere in the first connection.

Here's what the HTTP server, lisa, says:

11.410867 pornucopia.1739 > lisa.http: S 1335980513:1335980513(0) win 32120 <mss 1460,sackOK,timestamp 72267328[|tcp]> (DF)
11.410867 lisa.http > pornucopia.1739: S 2600481783:2600481783(0) ack 1335980514 win 32736 <mss 1460>
11.410867 pornucopia.1739 > lisa.http: . ack 1 win 32120 (DF)
11.410867 pornucopia.1739 > lisa.http: P 1:73(72) ack 1 win 32120 (DF)
11.410867 lisa.http > pornucopia.1739: . 1:1461(1460) ack 73 win 32736 (DF)
11.410867 lisa.http > pornucopia.1739: P 1461:2210(749) ack 73 win 32736 (DF)
11.410867 lisa.http > pornucopia.1739: F 2210:2210(0) ack 73 win 32736
11.410867 pornucopia.1739 > lisa.http: . ack 1 win 32120 (DF)
11.410867 pornucopia.1739 > lisa.http: . ack 1 win 32120 (DF)
14.410734 lisa.http > pornucopia.1739: . 1:1461(1460) ack 73 win 32736 (DF)
14.410734 pornucopia.1739 > lisa.http: . ack 2211 win 30660 (DF)
14.410734 pornucopia.1739 > lisa.http: F 73:73(0) ack 2211 win 32120 (DF)
14.410734 lisa.http > pornucopia.1739: . ack 74 win 32735 (DF)

The client, pornucopia, says:

11.422171 pornucopia.1739 > lisa.http: S 1335980513:1335980513(0) win 32120 <mss 1460,sackOK,timestamp 72267328[|tcp]> (DF)
11.422343 lisa.http > pornucopia.1739: S 2600481783:2600481783(0) ack 1335980514 win 32736 <mss 1460>
11.422397 pornucopia.1739 > lisa.http: . ack 1 win 32120 (DF)
11.422883 pornucopia.1739 > lisa.http: P 1:73(72) ack 1 win 32120 (DF)
11.423958 lisa.http > pornucopia.1739: P 1461:2210(749) ack 73 win 32736 (DF)
11.424021 pornucopia.1739 > lisa.http: . ack 1 win 32120 (DF)
11.423963 lisa.http > pornucopia.1739: F 2210:2210(0) ack 73 win 32736
11.424074 pornucopia.1739 > lisa.http: . ack 1 win 32120 (DF)
14.417558 lisa.http > pornucopia.1739: . 1:1461(1460) ack 73 win 32736 (DF)
14.417615 pornucopia.1739 > lisa.http: . ack 2211 win 30660 (DF)
14.418013 pornucopia.1739 > lisa.http: F 73:73(0) ack 2211 win 32120 (DF)
14.418151 lisa.http > pornucopia.1739: . ack 74 win 32735 (DF)

Notice the first data segment from the server gets sent out by lisa, but
not received by pornucopia. Meanwhile five other exact connections are going
on, none of which drop any packets.

Perhaps the NIC driver in 2.2 drops the packet, but the higher-level TCP
protocol isn't messing up. You may want to check with a machine between
your test machines to see if lisa's not sending or porn's not receiving.

-- Pete
---------------------------------------------
Pete Wyckoff | wyckoff@ca.sandia.gov
Sandia National Labs | 925 294 3503 (voice)
MS 9011, P.O. Box 969 | 925 294 1225 (fax)
Livermore, CA 94551 |

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