From owner-freebsd-net@FreeBSD.ORG Sat Jul 30 09:31:14 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 05C8516A41F for ; Sat, 30 Jul 2005 09:31:14 +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 320DF43D46 for ; Sat, 30 Jul 2005 09:31:10 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from midget.dons.net.au (ppp197-246.lns1.adl1.internode.on.net [203.122.197.246]) by smtp3.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j6U9Uh8U011038; Sat, 30 Jul 2005 19:00:47 +0930 (CST) Received: from inchoate.dons.net.au (inchoate.dons.net.au [10.0.2.105]) (authenticated bits=0) by midget.dons.net.au (8.13.4/8.13.3) with ESMTP id j6U9UaRl021024 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 30 Jul 2005 19:00:42 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Julian Elischer Date: Sat, 30 Jul 2005 19:00:19 +0930 User-Agent: KMail/1.8.1 References: <200507290834.10268.doconnor@gsoft.com.au> <42E99868.1080306@mac.com> <42E99CFD.6070803@elischer.org> In-Reply-To: <42E99CFD.6070803@elischer.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2598972.cpXo4H64aI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507301900.32660.doconnor@gsoft.com.au> X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.52 on 10.0.2.7 Cc: freebsd-net@freebsd.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: Sat, 30 Jul 2005 09:31:14 -0000 --nextPart2598972.cpXo4H64aI Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 29 July 2005 12:35, Julian Elischer wrote: > I do this to great effect.. > consider: > two sites connected by links in which teh bottleneck is 200KB/sec (1 E1?) > when a lot of data is flowing from 1 to 2 then data from 2 to 1 is also > slowed > down because the acks have to go through the queues on ingress side of the > bottleneck router. > > I add a dummynet entry on 1, limiting output to 190KB/sec, so that the > queue is in dummynet and not the intermediate router, and then allow small > ack packets > to bypass that queue. As a result the data from 2 to 1 also flows at > near capacity, > and with a much lower latency. SInce data flows tend to be large packets, > I sometimes actually prioitise ALL small packets allowing interactive > stuff to > bypass ftps etc. and sometimes I do it on both ends. I tried to update my ipfw setup, but I could not manage to get ipfw + natd = to=20 work with stateful rules :( Although since natd runs in userland I may as well switch back to ppp(8) to= =20 save extra kernel/userland transitions. I was hoping to be able to use pf += =20 mpd since that puts all of the packet processing into the kernel. I did try pf + ipfw + dummynet (eww) but it appears that when the packets g= et=20 reinjected back into the system after the pipes they go through pf again=20 which doesn't like them (not 100% sure why.. maybe they don't match a state= =20 properly any more?) I'll try my hand at the ng_iface ALTQ patch. =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 --nextPart2598972.cpXo4H64aI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC60i45ZPcIHs/zowRAjuNAJwOb4kntBP0Ah0+fBhmbJ0nlpcpwgCfQL0W y2B6g2LZAn0qRXRWJRp1v0U= =kTAS -----END PGP SIGNATURE----- --nextPart2598972.cpXo4H64aI--