From owner-freebsd-stable Sun Oct 6 11:36:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D448B37B401 for ; Sun, 6 Oct 2002 11:36:20 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 895D043E3B for ; Sun, 6 Oct 2002 11:36:20 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.4) with ESMTP id g96IaKPQ043202; Sun, 6 Oct 2002 11:36:20 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.4/Submit) id g96IaKYP043201; Sun, 6 Oct 2002 11:36:20 -0700 (PDT) (envelope-from dillon) Date: Sun, 6 Oct 2002 11:36:20 -0700 (PDT) From: Matthew Dillon Message-Id: <200210061836.g96IaKYP043201@apollo.backplane.com> To: "Maarten de Vries" Cc: Subject: Re: Traffic shaping References: <200210050655.g956t3Mp091313@lurza.secnetix.de> <006501c26d35$f6904720$1001a8c0@jennie> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG For connections whos primary data path is outgoing (e.g. like a web server), try turning on the experimental bandwidth delay product code (requires a recent -stable kernel). sysctl -w net.inet.tcp.inflight_enable=1 sysctl -w net.inet.tcp.inflight_debug=0 This will prevent your local DSL modem's queues from building up a large backlog of packets. -Matt :Hi all, : :I could do with some hints regarding traffic shaping. My homenetwork is :hooked up to an assymetrical (1536/256) ADSL line, using a FreeBSD 4.6 :system which provides the usual NAT/Gateway/Firewall services. I'm using :dummynet to control the amount of bandwidth used by certain hosts on the :network, which all works fine. However, I still suffer from latency when the :maximum up- and/or downstream of the line is being utilized. If I understand :it well, this happens because the buffer in the ADSL modem fills up :completely at those occasions. Is there anyway to prevent this from :happening? : :Ta, :-- :Maarten de Vries :http://unsavoury.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message