From owner-freebsd-net Sun Nov 28 12:27:15 1999 Delivered-To: freebsd-net@freebsd.org Received: from cs.rice.edu (cs.rice.edu [128.42.1.30]) by hub.freebsd.org (Postfix) with ESMTP id 9F5C214F04 for ; Sun, 28 Nov 1999 12:27:09 -0800 (PST) (envelope-from aron@cs.rice.edu) Received: (from aron@localhost) by cs.rice.edu (8.9.0/8.9.0) id OAA04627 for freebsd-net@freebsd.org; Sun, 28 Nov 1999 14:27:08 -0600 (CST) Date: Sun, 28 Nov 1999 14:27:08 -0600 (CST) From: Mohit Aron Message-Id: <199911282027.OAA04627@cs.rice.edu> To: freebsd-net@freebsd.org Subject: interaction between Nagle's algorithm and TCP delayed ACKs Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, FreeBSD-2.2.6 had a macro called ACK_HACK in /sys/netinet/tcp_input.c that was effective in avoiding the undesirable interactions between the TCP Nagle's algorithm and the delayed ACKs. Basically, if the PUSH flag on a packet was set, this macro forced TCP to send an acknowledgment immediately. Since the PUSH flag is usually set on small packets that trigger Nagle's algorithm, this macro was effective. I checked the code for FreeBSD-3.3 and this macro is no longer there in /sys/netinet/tcp_input.c. Can this feature be re-added in later releases. In fact, I'd even like it to be turned on by default (it wasn't enabled in FreeBSD-2.2.6 by default). - Mohit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message