From owner-freebsd-net@FreeBSD.ORG Fri Jul 29 01:45:51 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C93B16A422 for ; Fri, 29 Jul 2005 01:45:51 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from smtp3.adl2.internode.on.net (smtp3.adl2.internode.on.net [203.16.214.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A64F243D49 for ; Fri, 29 Jul 2005 01:45:49 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp240-87.lns2.adl2.internode.on.net [203.122.240.87]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j6T1jXo4023195; Fri, 29 Jul 2005 11:15:37 +0930 (CST) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.31]) (authenticated bits=0) by midget.dons.net.au (8.13.4/8.13.3) with ESMTP id j6T1jAnP039012 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 29 Jul 2005 11:15:23 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Chuck Swiger Date: Fri, 29 Jul 2005 11:14:59 +0930 User-Agent: KMail/1.8.1 References: <200507290834.10268.doconnor@gsoft.com.au> <200507291035.46770.doconnor@gsoft.com.au> <42E98725.1020600@mac.com> In-Reply-To: <42E98725.1020600@mac.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6343440.L6ijl0lr0J"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507291115.06612.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.52 on 203.122.240.87 Cc: freebsd-net@freebsd.org, julian@elischer.org Subject: Re: AltQ + ng_iface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 01:45:51 -0000 --nextPart6343440.L6ijl0lr0J Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 29 July 2005 11:02, Chuck Swiger wrote: > Either the "established" or the "tcpflags !syn,ack" keywords in a rule > adding matching packets to a high-priority queue ought to do it...? Or > perhaps you meant something more specific than just "TCP packets with > TH_ACK" set? :-) Hmm, I guess you could make those skip the pipe.. > Anyway, I'm not convinced that trying to classify packets within an > established TCP connection in order to place them on different queues is a > really good idea, since you're quite likely to reorder the packets by doi= ng > so. I'd expect both latency and bandwidth of a TCP connection to suffer > very noticably if more than 10% or so of the packets arrive out of order.= =2E. The theory is that by prioritising outgoing ACKs you don't cause downstream= =20 delays when your upstream is full. eg http://www.benzedrine.cx/ackpri.html > [ Hmm. I suppose that one could make an exception to the above > generalization if URG was set, but the TCP stack already makes an effort = to > prioritize and deliver out-of-band urgent stuff as quickly as possible, > anyway, right? ] Maybe, but it doesn't appear to do a particularly good job for a lot of=20 situations :) =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart6343440.L6ijl0lr0J Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC6Yoi5ZPcIHs/zowRAlYcAJ4hQ51+2W0P/0+/6Z38/7s52jXsEwCfWi2I DPe9oZG+gok+zlCRHX2oryA= =WUsS -----END PGP SIGNATURE----- --nextPart6343440.L6ijl0lr0J--