lkml.org 
[lkml]   [1996]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectTCP slowdown on interactive traffic


I think i got the bug that does the slowdowns on interactive traffic.
We are not sending the push flag on data. Some systems (NT specially)
delay the deliver to the application... This shows up a lot.
I'd comment this out just for debugging purposes... silly.

please try the enclosed patch.

regards,
./Pedro.

Index: net/ipv4/tcp.c
===================================================================
RCS file: /public/cvsroot/linux/net/ipv4/tcp.c,v
retrieving revision 1.24
diff -u -r1.24 tcp.c
--- tcp.c 1996/11/12 16:29:36 1.24
+++ tcp.c 1996/11/13 16:46:59
@@ -704,9 +704,9 @@
struct tcp_opt *tp=&(sk->tp_pinfo.af_tcp);
memcpy(th,(void *) &(sk->dummy_th), sizeof(*th));
th->seq = htonl(sk->write_seq);
-#if 0
+
th->psh =(push == 0) ? 1 : 0;
-#endif
+
sk->bytes_rcv = 0;
sk->ack_timed = 0;
th->ack_seq = htonl(tp->rcv_nxt);


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.032 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site