From owner-freebsd-stable@FreeBSD.ORG Mon Sep 20 08:12:57 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 559581065674 for ; Mon, 20 Sep 2010 08:12:57 +0000 (UTC) (envelope-from jon.otterholm@ide.resurscentrum.se) Received: from mail1.cil.se (mail1.cil.se [217.197.56.125]) by mx1.freebsd.org (Postfix) with ESMTP id E7DEE8FC08 for ; Mon, 20 Sep 2010 08:12:56 +0000 (UTC) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 20 Sep 2010 10:00:48 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Dummynet Thread-Index: ActYmZCiLMMiYArDT7GIioYM11WNDg== From: "Jon Otterholm" To: Subject: Dummynet X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 08:12:57 -0000 Hi. Sorry for cross-posting, got nothing back from freebsd-ipfw... Installed a new router running 8-stable and encounter some problems when configuring dummynet pipes: When setting buckets above 1024... ipfw pipe 91 config bw 100Mbit/s mask src-ip 0xffffffff buckets 4096 ...I get the following error: Clamp sched buckets to 1024 (was 4096) # sysctl net.inet.ip.dummynet.hash_size net.inet.ip.dummynet.hash_size: 4096 from man ipfw: buckets hash-table-size Specifies the size of the hash table used for storing the various queues. Default value is 64 controlled by the sysctl(8) variable net.inet.ip.dummynet.hash_size, allowed range is 16 to 65536. Am I missing something here? This worked fine in the 7-branch. //JO