Date: Tue, 23 Nov 2004 08:15:35 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: =?iso-8859-1?B?1f3pqiDVxQ==?= <zhangzhengnan@hotmail.com> Cc: freebsd-ipfw@freebsd.org Subject: Re: ipfw: queue size must be < 1MB Message-ID: <20041123161535.GB30833@odin.ac.hmc.edu> In-Reply-To: <BAY10-F3138D3426183DB58E1F69AAC70@phx.gbl> References: <BAY10-F3138D3426183DB58E1F69AAC70@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
--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+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041123161535.GB30833>