Date: Wed, 27 Feb 2008 13:52:33 +0000 (UTC) From: David Malone <dwmalone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c src/sys/netinet ip_dummynet.c Message-ID: <200802271352.m1RDqXeL086667@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2008-02-27 13:52:33 UTC FreeBSD src repository Modified files: sbin/ipfw ipfw.8 ipfw2.c sys/netinet ip_dummynet.c Log: Dummynet has a limit of 100 slots queue size (or 1MB, if you give the limit in bytes) hard coded into both the kernel and userland. Make both these limits a sysctl, so it is easy to change the limit. If the userland part of ipfw finds that the sysctls don't exist, it will just fall back to the traditional limits. (100 packets is quite a small limit these days. If you want to test TCP at 100Mbps, 100 packets can only accommodate a DBP of 12ms.) Note these sysctls in the man page and warn against increasing them without thinking first. MFC after: 3 weeks Revision Changes Path 1.211 +14 -0 src/sbin/ipfw/ipfw.8 1.118 +18 -5 src/sbin/ipfw/ipfw2.c 1.115 +9 -2 src/sys/netinet/ip_dummynet.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802271352.m1RDqXeL086667>