From owner-freebsd-net@FreeBSD.ORG Fri Jul 29 09:59:53 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 A5E0D16A41F for ; Fri, 29 Jul 2005 09:59:53 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id E55A743D46 for ; Fri, 29 Jul 2005 09:59:52 +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 smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id j6T9xieT089272; Fri, 29 Jul 2005 19:29:44 +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 j6T9xbWI047378 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Fri, 29 Jul 2005 19:29:43 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Julian Elischer Date: Fri, 29 Jul 2005 19:29:28 +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="nextPart1644741.9HqhY8Q693"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200507291929.35758.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: Fri, 29 Jul 2005 09:59:53 -0000 --nextPart1644741.9HqhY8Q693 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 am trying to do something similar, but for more interesting things like=20 games ;) ie prioritise game traffic at the expense of normal bulk traffic. The problem is that you have to specify fixed pipe bandwidths so I need to = run=20 a script which reduces the size of the "everything else" pipe down to a lev= el=20 where it doesn't cause much delay. It would be nice if there was a way of elevating the priority of the outbou= nd=20 game traffic above the bulk transfers - allegedly my ISP prioritises game a= nd=20 VoIP traffic on the way in to me... My previous set up did work OK, but it was pretty limiting in that I had to= =20 really aggressively reduce non-game traffic bandwidth otherwise the game=20 would get fairly laggy. I am using 512/128k ADSL with PPPoE, and for non-crappy game play I need to= =20 limit incoming non-game traffic to 64kbit/sec and outgoing to 24kbit/sec. =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 --nextPart1644741.9HqhY8Q693 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBC6f4H5ZPcIHs/zowRAvlyAKCP5nLcejXrpvID1gE0eN2IXas/7ACdFJn4 7+wHgbEsjfd8NgoEnuWDcYs= =NGUQ -----END PGP SIGNATURE----- --nextPart1644741.9HqhY8Q693--