From owner-freebsd-current@FreeBSD.ORG Fri Jun 25 13:59:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C29916A4CE; Fri, 25 Jun 2004 13:59:54 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 395AE43D1F; Fri, 25 Jun 2004 13:59:54 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i5PDxPPp037397; Fri, 25 Jun 2004 09:59:25 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i5PDxOmu037394; Fri, 25 Jun 2004 09:59:25 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 25 Jun 2004 09:59:24 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Daniel Lang In-Reply-To: <20040625130952.GG47324@atrbg11.informatik.tu-muenchen.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: liamfoy@sepulcrum.org cc: Paul Saab cc: current@freebsd.org Subject: Re: Re: HEADS UP: SACK committed to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 13:59:54 -0000 On Fri, 25 Jun 2004, Daniel Lang wrote: > liamfoy@sepulcrum.org wrote on Fri, Jun 25, 2004 at 11:24:01AM +0200: > [..] > > > > I just commited the work done at Yahoo! to implement SACK in our tcp > > > > stack. Please report any bugs or problems and we'll work on getting > > > > them addressed. > [..] > > What is SACK anyone? > [..] > > "Selective Acknowledgement", it allows a host/router to explicitly > acknowledge TCP segments and retransmit them, such that if a segment > gets lost, it can be retransmitted from the last hop instead of the > connection endpoint, which would result in a much larger delay. > Especially if you have wireless links, SACK can be a huge improvement. > > Please correct/elaborate, I'm not sure if I got that entirely right, > except for the idea. ;-) Mostly right, except that it's only the end-hosts in the TCP connection. Technically, one can be a router, but I'm guessing that's not the common case. Basically, the original TCP said "retransmit everything" when it realized a packet was dropped, and TCP SACK allows it to be more selective, which conserves bandwidth, which has the effective of reducing load, reducing latency, etc. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research