Subject: Re: very slow TCP connection on localhost
To: Pavel Cahyna <pavel.cahyna@matfyz.cz>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-net
Date: 09/06/2006 12:35:04
On Wed, Sep 06, 2006 at 11:59:56AM +0200, Pavel Cahyna wrote:
> On Wed, Sep 06, 2006 at 11:25:15AM +0200, Manuel Bouyer wrote:
> > > netstat -p tcp
> > tcp:
> >         55301661 packets sent
> >                 13468160 data packets (48765174014 bytes)
> >                 142584 data packets (4668081807 bytes) retransmitted
> >                 34049565 ack-only packets (39723827 delayed)
> >                 0 URG only packets
> >                 37 window probe packets
> >                 7634105 window update packets
> >                 7210 control packets
> >                 0 send attempts resulted in self-quench
> >         82696703 packets received
> >                 7720952 acks (for 48546121615 bytes)
> >                 282855 duplicate acks
> >                 0 acks for unsent data
> >                 73536819 packets (135089199940 bytes) received in-sequence
> >                 60 completely duplicate packets (1636 bytes)
> >                 0 old duplicate packets
> >                 0 packets with some dup. data (0 bytes duped)
> >                 1433 out-of-order packets (238920 bytes)
> >                 142483 packets (4667744870 bytes) of data after window
>                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> this looks wrong.

Sure. Note that there is no statefull packet filter involved in
communications here.
I'll see if this number increases in the next backup. 

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--