|
From: | Oleg Tyshev |
Subject: | [lwip-devel] [bug #26012] ACKs by SWS avoidance |
Date: | Thu, 26 Mar 2009 15:43:58 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 GTB5 |
URL: <http://savannah.nongnu.org/bugs/?26012> Summary: ACKs by SWS avoidance Project: lwIP - A Lightweight TCP/IP stack Submitted by: olegreen Submitted on: Thu 26 Mar 2009 03:43:57 PM GMT Category: TCP Severity: 3 - Normal Item Group: Faulty Behaviour Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Planned Release: lwIP version: 1.3.0 _______________________________________________________ Details: In tcp_recved we increase pcb->rcv_ann_wnd only if receive window >= MSS. That's right. But tcp_ack(pcb) we call always. tcp_ack sets TF_ACK_DELAY flag and with next tcp_fasttmr() tick would be duplicate ACK sent (each 250 ms). If receive buffer is full and application read data relative slow (e.g. 1 byte per 100 millisecond) would be generated 4 unnecessary duplicate ACKs per second I suppose this patch can help _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Thu 26 Mar 2009 03:43:57 PM GMT Name: sws_acks.patch Size: 1kB By: olegreen <http://savannah.nongnu.org/bugs/download.php?file_id=17808> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?26012> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |