From owner-cvs-all@FreeBSD.ORG Wed Feb 27 13:52:33 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC16E1065670; Wed, 27 Feb 2008 13:52:33 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id E4DA68FC14; Wed, 27 Feb 2008 13:52:33 +0000 (UTC) (envelope-from dwmalone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m1RDqX7g086668; Wed, 27 Feb 2008 13:52:33 GMT (envelope-from dwmalone@repoman.freebsd.org) Received: (from dwmalone@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m1RDqXeL086667; Wed, 27 Feb 2008 13:52:33 GMT (envelope-from dwmalone) Message-Id: <200802271352.m1RDqXeL086667@repoman.freebsd.org> From: David Malone Date: Wed, 27 Feb 2008 13:52:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/ipfw ipfw.8 ipfw2.c src/sys/netinet ip_dummynet.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 13:52:34 -0000 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