From owner-freebsd-ipfw Thu Aug 30 10:24:43 2001 Delivered-To: freebsd-ipfw@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id D526337B401 for <freebsd-ipfw@FreeBSD.ORG>; Thu, 30 Aug 2001 10:24:38 -0700 (PDT) (envelope-from rizzo@iguana.aciri.org) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f7UHKge32432; Thu, 30 Aug 2001 10:20:42 -0700 (PDT) (envelope-from rizzo) From: Luigi Rizzo <rizzo@aciri.org> Message-Id: <200108301720.f7UHKge32432@iguana.aciri.org> Subject: Re: DUMMYNET In-Reply-To: <NDBBIMKICMDGDMNOOCAIOEEODGAA.patrick@mip.co.za> from "Patrick O'Reilly" at "Aug 30, 2001 9:23:28 am" To: patrick@mip.co.za (Patrick O'Reilly) Date: Thu, 30 Aug 2001 10:20:42 -0700 (PDT) Cc: rizzo@aciri.org, freebsd-ipfw@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ipfw@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-ipfw.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-ipfw> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-ipfw> X-Loop: FreeBSD.ORG > Agreed - the solution suggested is the way to go. The question re 1bit/s is > that according to my observation it did NOT slow down to that rate, but > continued to allow traffic at a much higher rate, though it did not appear > to be UNLIMITED. when i tried it, it really worked as low as 1bit/s. Have you checked with "ipfw pipe show" to make sure that the speed associated to the pipe was really 1bit/s and not higher ? cheers luigi > This is obviously a moot point as no-one in their right mind (I clearly am > excluded from that group :) would be using DUMMYNET to actually apply a > bandwidth limit of 1bit/s. But, it begs the question: What is the lowest > bandwidth which can be specified which DUMMYNET will be able to implement > accurately? > > Anyhow - I don't want to waste any time on this now as an intelligent and > elegant (and somewhat obvious) solution to my requirement has been given, > and DUMMYNET has very successfully managed bandwidth down to as low as > 8kbit/s in my experience. > > Thanks to all for your input! > > Patrick. > > -----Original Message----- > From: Luigi Rizzo [mailto:rizzo@aciri.org] > Sent: 29 August 2001 21:18 > To: Patrick O'Reilly > Cc: freebsd-ipfw@FreeBSD.ORG > Subject: Re: DUMMYNET > > > > Now I have changed cron to simply change the pipe config on the fly :"ipfw > > pipe x config bw 32Kbit/s" to open it up, and :"ipfw pipe x config bw > > 1bit/s" to shut it down. This way my counter values continue to > > accumulate - GREAT! > > > > The problem is that the pipe seems to dislike the idea of running at 1 bit > > per second. Obviously this is rather extreme! Any suggestions on how I > > as someone suggested, adding a rule in front of the pipe solves your > problem more elegantly. But what is wrong with the pipe at 1 bit/s > other than leaving packets go out albeit veeeeeery slooooooowly ? > > BTW changing HZ has no observable effect as such low speeds. > > cheers > luigi > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ipfw" in the body of the message