From owner-freebsd-stable@FreeBSD.ORG Tue Sep 21 12:47:44 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 471FD1065670 for ; Tue, 21 Sep 2010 12:47:44 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id BE45C8FC14 for ; Tue, 21 Sep 2010 12:47:43 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oy2G6-0002g3-Bk for freebsd-stable@freebsd.org; Tue, 21 Sep 2010 14:47:42 +0200 Received: from nuclight.avtf.net ([217.29.94.29]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2010 14:47:42 +0200 Received: from vadim_nuclight by nuclight.avtf.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 Sep 2010 14:47:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Vadim Goncharov Date: Tue, 21 Sep 2010 12:47:30 +0000 (UTC) Organization: Nuclear Lightning @ Tomsk, TPU AVTF Hostel Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: nuclight.avtf.net X-Comment-To: Jon Otterholm User-Agent: slrn/0.9.9p1 (FreeBSD) Subject: Re: Dummynet X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vadim_nuclight@mail.ru List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2010 12:47:44 -0000 Hi Jon Otterholm! On Mon, 20 Sep 2010 10:00:48 +0200; Jon Otterholm wrote about 'Dummynet': > 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) Try to write "buckets 4096" before "mask", though this is unlikely to help, there are some troubles with 8.1's changes in parser. > # sysctl net.inet.ip.dummynet.hash_size > net.inet.ip.dummynet.hash_size: 4096 Also, make sure you're doing this before any packets actually went to dummynet (e.g. just after reboot). > 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. The reason is that luigi@ merged ipfw3 from -CURRENT between 8.0R and 8.1R. There are many new features and, as seen from many PRs, many new bugs. -- WBR, Vadim Goncharov. ICQ#166852181 mailto:vadim_nuclight@mail.ru [Moderator of RU.ANTI-ECOLOGY][FreeBSD][http://antigreen.org][LJ:/nuclight]