ipfw: queue size must be < 1MB

Brooks Davis brooks at one-eyed-alien.net
Tue Nov 23 16:15:25 GMT 2004


On Tue, Nov 23, 2004 at 06:40:37AM +0000, Õýéª ÕÅ wrote:
> Hello all:
> 
> I am trying to use IPFW + Dummynet with the follow command:
> 
> ipfw pipe 100 config bw 500Mbit/s delay 50ms queue 4096Kbytes
> 
> 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

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20041123/7a28387f/attachment.bin


More information about the freebsd-ipfw mailing list