netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* TCP Hang (or close to it):  Windows XP -> Linux (w/tcp_bic)
@ 2004-10-29 14:25 Dan A. Dickey
  2004-10-29 17:10 ` Sridhar Samudrala
  0 siblings, 1 reply; 4+ messages in thread
From: Dan A. Dickey @ 2004-10-29 14:25 UTC (permalink / raw)
  To: netdev

All,
We are able to reproduce what appears to be a tcp hang with
Windows XP sending to a Linux box (2.6.7 kernel) that has
tcp_bic turned on.  At the moment, I'm unsure that tcp_bic
has anything to do with it - I'll be testing with tcp_bic turned
off today to see if I can reproduce this problem or not.

I'm looking for someone to help me determine what the
cause of this hang is - I have a 3MB ethereal capture file
that I can send if you think you can help out.  Let me know,
and I'll send you the file and some more information about
the application and what we are doing.

Just in case this might help you to figure it out,
here is a small portion of the display from ethereal at
the point of failure.   192.168.168.126 is the Windows
XP machine, and 192.168.168.25 is the Linux box.

14:25:58.260109 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1101042 win 39272
14:25:58.260116 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1102502 win 42192
14:25:58.260133 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1102502:1103962(1460) ack 1 win 65535
14:25:58.260143 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1103962 win 45112
14:25:58.260147 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1103962:1105422(1460) ack 1 win 65535
14:25:58.260155 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1105422 win 48032
14:25:58.260184 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1105422:1106882(1460) ack 1 win 65535
14:25:58.260191 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1106882:1108342(1460) ack 1 win 65535
14:25:58.260206 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1108342:1109802(1460) ack 1 win 65535
14:25:58.260228 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1106882 win 50952
14:25:58.260252 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1108342 win 53872
14:25:58.260273 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1109802 win 56792
14:25:58.260279 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1111262 win 59712
14:25:58.260286 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1112722 win 62632
14:25:58.260293 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1114182 win 16
14:25:58.260348 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1114506 win 16
14:25:58.534331 IP 192.168.168.126.2451 > 192.168.168.25.15100: . 
160:176(16) ack 1 win 65535
14:25:58.534493 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack 
176 win 16
14:26:03.237624 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1114506:1114522(16) ack 1 win 65535
14:26:03.237803 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1114522 win 16
14:26:03.565752 IP 192.168.168.126.2451 > 192.168.168.25.15100: . 
176:192(16) ack 1 win 65535
14:26:03.565914 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack 
192 win 16
14:26:08.269049 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1114522:1114538(16) ack 1 win 65535
14:26:08.269217 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1114538 win 16
14:26:08.597185 IP 192.168.168.126.2451 > 192.168.168.25.15100: . 
192:208(16) ack 1 win 65535
14:26:08.597347 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack 
208 win 16
14:26:13.300469 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1114538:1114554(16) ack 1 win 65535
14:26:13.300640 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1114554 win 16
14:26:13.628603 IP 192.168.168.126.2451 > 192.168.168.25.15100: . 
208:224(16) ack 1 win 65535
14:26:13.628774 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack 
224 win 16
14:26:18.331909 IP 192.168.168.126.2519 > 192.168.168.25.15100: . 
1114554:1114570(16) ack 1 win 65535
14:26:18.332075 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack 
1114570 win 16
14:26:18.660013 IP 192.168.168.126.2451 > 192.168.168.25.15100: . 
224:240(16) ack 1 win 65535
14:26:18.660174 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack 
240 win 16


I'm not sure how well this is going to come across, but as I said - I
can send the capture file.  Please help!  Thanks in advance.
(My concern is the window on the Linux side dropping from 62632
to 16 at the 14:25:58.260293 point - this just doesn't seem right).
 -Dan

-- 
Dan A. Dickey
dan.dickey@savvis.net

SAVVIS
Transforming Information Technology

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TCP Hang (or close to it):  Windows XP -> Linux (w/tcp_bic)
  2004-10-29 14:25 TCP Hang (or close to it): Windows XP -> Linux (w/tcp_bic) Dan A. Dickey
@ 2004-10-29 17:10 ` Sridhar Samudrala
  2004-10-29 18:00   ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Sridhar Samudrala @ 2004-10-29 17:10 UTC (permalink / raw)
  To: Dan A. Dickey; +Cc: netdev

This looks like the same TCP window overflow problem in 2.6.7 that came up a
couple of days back.

See the thread
	http://marc.theaimsgroup.com/?t=109887532400001&r=1&w=2
and the patch posted by davem.

Thanks
Sridhar

On Fri, 29 Oct 2004, Dan A. Dickey wrote:

> All,
> We are able to reproduce what appears to be a tcp hang with
> Windows XP sending to a Linux box (2.6.7 kernel) that has
> tcp_bic turned on.  At the moment, I'm unsure that tcp_bic
> has anything to do with it - I'll be testing with tcp_bic turned
> off today to see if I can reproduce this problem or not.
>
> I'm looking for someone to help me determine what the
> cause of this hang is - I have a 3MB ethereal capture file
> that I can send if you think you can help out.  Let me know,
> and I'll send you the file and some more information about
> the application and what we are doing.
>
> Just in case this might help you to figure it out,
> here is a small portion of the display from ethereal at
> the point of failure.   192.168.168.126 is the Windows
> XP machine, and 192.168.168.25 is the Linux box.
>
> 14:25:58.260109 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1101042 win 39272
> 14:25:58.260116 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1102502 win 42192
> 14:25:58.260133 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1102502:1103962(1460) ack 1 win 65535
> 14:25:58.260143 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1103962 win 45112
> 14:25:58.260147 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1103962:1105422(1460) ack 1 win 65535
> 14:25:58.260155 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1105422 win 48032
> 14:25:58.260184 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1105422:1106882(1460) ack 1 win 65535
> 14:25:58.260191 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1106882:1108342(1460) ack 1 win 65535
> 14:25:58.260206 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1108342:1109802(1460) ack 1 win 65535
> 14:25:58.260228 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1106882 win 50952
> 14:25:58.260252 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1108342 win 53872
> 14:25:58.260273 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1109802 win 56792
> 14:25:58.260279 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1111262 win 59712
> 14:25:58.260286 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1112722 win 62632
> 14:25:58.260293 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1114182 win 16
> 14:25:58.260348 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1114506 win 16
> 14:25:58.534331 IP 192.168.168.126.2451 > 192.168.168.25.15100: .
> 160:176(16) ack 1 win 65535
> 14:25:58.534493 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack
> 176 win 16
> 14:26:03.237624 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1114506:1114522(16) ack 1 win 65535
> 14:26:03.237803 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1114522 win 16
> 14:26:03.565752 IP 192.168.168.126.2451 > 192.168.168.25.15100: .
> 176:192(16) ack 1 win 65535
> 14:26:03.565914 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack
> 192 win 16
> 14:26:08.269049 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1114522:1114538(16) ack 1 win 65535
> 14:26:08.269217 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1114538 win 16
> 14:26:08.597185 IP 192.168.168.126.2451 > 192.168.168.25.15100: .
> 192:208(16) ack 1 win 65535
> 14:26:08.597347 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack
> 208 win 16
> 14:26:13.300469 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1114538:1114554(16) ack 1 win 65535
> 14:26:13.300640 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1114554 win 16
> 14:26:13.628603 IP 192.168.168.126.2451 > 192.168.168.25.15100: .
> 208:224(16) ack 1 win 65535
> 14:26:13.628774 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack
> 224 win 16
> 14:26:18.331909 IP 192.168.168.126.2519 > 192.168.168.25.15100: .
> 1114554:1114570(16) ack 1 win 65535
> 14:26:18.332075 IP 192.168.168.25.15100 > 192.168.168.126.2519: . ack
> 1114570 win 16
> 14:26:18.660013 IP 192.168.168.126.2451 > 192.168.168.25.15100: .
> 224:240(16) ack 1 win 65535
> 14:26:18.660174 IP 192.168.168.25.15100 > 192.168.168.126.2451: . ack
> 240 win 16
>
>
> I'm not sure how well this is going to come across, but as I said - I
> can send the capture file.  Please help!  Thanks in advance.
> (My concern is the window on the Linux side dropping from 62632
> to 16 at the 14:25:58.260293 point - this just doesn't seem right).
>  -Dan
>
> --
> Dan A. Dickey
> dan.dickey@savvis.net
>
> SAVVIS
> Transforming Information Technology
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TCP Hang (or close to it):  Windows XP -> Linux (w/tcp_bic)
  2004-10-29 17:10 ` Sridhar Samudrala
@ 2004-10-29 18:00   ` David S. Miller
  2004-10-29 18:21     ` Dan A. Dickey
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Miller @ 2004-10-29 18:00 UTC (permalink / raw)
  To: Sridhar Samudrala; +Cc: dan.dickey, netdev

On Fri, 29 Oct 2004 10:10:42 -0700 (PDT)
Sridhar Samudrala <sri@us.ibm.com> wrote:

> This looks like the same TCP window overflow problem in 2.6.7 that came up a
> couple of days back.
> 
> See the thread
> 	http://marc.theaimsgroup.com/?t=109887532400001&r=1&w=2
> and the patch posted by davem.

Yes, and BTW for the original poster, BIC only effects sender
behavior whereas in your test case the Linux system with BIC
enabled is the receiver.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: TCP Hang (or close to it):  Windows XP -> Linux (w/tcp_bic)
  2004-10-29 18:00   ` David S. Miller
@ 2004-10-29 18:21     ` Dan A. Dickey
  0 siblings, 0 replies; 4+ messages in thread
From: Dan A. Dickey @ 2004-10-29 18:21 UTC (permalink / raw)
  To: David S. Miller; +Cc: Sridhar Samudrala, netdev

On Friday 29 October 2004 13:00, David S. Miller wrote:
> On Fri, 29 Oct 2004 10:10:42 -0700 (PDT)
>
> Sridhar Samudrala <sri@us.ibm.com> wrote:
> > This looks like the same TCP window overflow problem in 2.6.7
> > that came up a couple of days back.
> >
> > See the thread
> >  http://marc.theaimsgroup.com/?t=109887532400001&r=1&w=2
> > and the patch posted by davem.
>
> Yes, and BTW for the original poster, BIC only effects sender
> behavior whereas in your test case the Linux system with BIC
> enabled is the receiver.

That's a good point.  I was concerned that it might be
playing a role in what window size got sent back to
the sending machine.  Glad to hear it's not a worry.
BTW - any idea if tcp_bic would be easily modified
to be configurable on a per interface basis?  We typically
have a 100Mb interface on a LAN; and another 100Mb
interface going out to a WAN (DS3 or E3).
We're using tcp_bic to get near 95+% utilization of the
WAN connection; but I don't think we need it on the LAN,
and in some situations it may interfere... or, is this not
a concern?  Thanks again all.

Sridhar,
thank's for the pointer.

I'll be updating to 2.6.9 and will let you know the
results of my testing.
 -Dan

-- 
Dan A. Dickey
dan.dickey@savvis.net

SAVVIS
Transforming Information Technology

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-29 18:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-29 14:25 TCP Hang (or close to it): Windows XP -> Linux (w/tcp_bic) Dan A. Dickey
2004-10-29 17:10 ` Sridhar Samudrala
2004-10-29 18:00   ` David S. Miller
2004-10-29 18:21     ` Dan A. Dickey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).