Messages in this thread Patch in this message | | | Date | Wed, 13 Nov 1996 16:43:22 GMT | From | Pedro Roque <> | Subject | TCP 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);
| |