From owner-freebsd-ipfw@FreeBSD.ORG Tue Nov 23 16:15:25 2004 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1E8716A4CE for ; Tue, 23 Nov 2004 16:15:25 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C5EA43D55 for ; Tue, 23 Nov 2004 16:15:25 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id iANGFZbS032733; Tue, 23 Nov 2004 08:15:35 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id iANGFZ2E032732; Tue, 23 Nov 2004 08:15:35 -0800 Date: Tue, 23 Nov 2004 08:15:35 -0800 From: Brooks Davis To: =?iso-8859-1?B?1f3pqiDVxQ==?= Message-ID: <20041123161535.GB30833@odin.ac.hmc.edu> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="jho1yZJdad60DJr+" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw: queue size must be < 1MB X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Nov 2004 16:15:25 -0000 --jho1yZJdad60DJr+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 23, 2004 at 06:40:37AM +0000, =D5=FD=E9=AA =D5=C5 wrote: > Hello all: >=20 > I am trying to use IPFW + Dummynet with the follow command: >=20 > ipfw pipe 100 config bw 500Mbit/s delay 50ms queue 4096Kbytes >=20 > However, "ipfw: queue size must be < 1MB" appears. > Is there a way to let me use DUMMYNet with a large queue size? Modify sbin/ipfw/ipfw2.c to allow queue sizes larger then 1024*1024 and do the same in the set_fs_parms() function in sys/netinet/ip_dummynet.c. I'm not sure why 1MB was chosen, it seems rather arbitrary. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --jho1yZJdad60DJr+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBo2ImXY6L6fI4GtQRAtEQAJ9ibSmHK0Dvs6LhuumRhpHngUby0gCfRyaE iVbrQxNGZuNO8XtKY0NgHoY= =s23S -----END PGP SIGNATURE----- --jho1yZJdad60DJr+--