From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 16 18:30:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC8D616A400 for ; Mon, 16 Apr 2007 18:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id B0C7613C458 for ; Mon, 16 Apr 2007 18:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3GIU2f8078996 for ; Mon, 16 Apr 2007 18:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3GIU2hX078994; Mon, 16 Apr 2007 18:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 16 Apr 2007 18:30:02 GMT Resent-Message-Id: <200704161830.l3GIU2hX078994@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joćo Rocha Braga Filho Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8435C16A401 for ; Mon, 16 Apr 2007 18:24:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 745C613C4AE for ; Mon, 16 Apr 2007 18:24:56 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l3GIOu0s087663 for ; Mon, 16 Apr 2007 18:24:56 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l3GIJswG083557; Mon, 16 Apr 2007 18:19:54 GMT (envelope-from nobody) Message-Id: <200704161819.l3GIJswG083557@www.freebsd.org> Date: Mon, 16 Apr 2007 18:19:54 GMT From: Joćo Rocha Braga Filho To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/111713: Too few dummynet queue slots X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 18:30:03 -0000 >Number: 111713 >Category: kern >Synopsis: Too few dummynet queue slots >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Apr 16 18:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Joćo Rocha Braga Filho >Release: 6.2 >Organization: Paratyinfo >Environment: FreeBSD fire2.paratyinfo.com.br 6.2-STABLE FreeBSD 6.2-STABLE #5: Thu Apr 5 00:56:47 BRT 2007 goffredo@fire2.paratyinfo.com.br:/usr/obj/usr/src/sys/FIRE2 i386 >Description: Dummynet queue option is limited in 100 slots, and it is few for my traffic shapping. I modifyed the kernel and ipfw program to 1000. >How-To-Repeat: >Fix: I suggest an option in kernel config file, like this: options DUMMYNET_QUEUE_SLOTS 100 Above is the default. In my system it would be: options DUMMYNET_QUEUE_SLOTS 1000 But, to do this, the ipfw program can't test the limit anymore. It has to put the value asked by the user, and test if it was accepted. >Release-Note: >Audit-Trail: >Unformatted: