From owner-freebsd-stable@FreeBSD.ORG Tue Sep 21 14:02:48 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 5216A106566C for ; Tue, 21 Sep 2010 14:02:48 +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 E16E98FC1E for ; Tue, 21 Sep 2010 14:02:47 +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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Tue, 21 Sep 2010 16:02:44 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Dummynet Thread-Index: ActZi89bZZ4Du7nwTRCNSbGf9x9AKQACKOXQ References: From: "Jon Otterholm" To: Subject: SV: 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: Tue, 21 Sep 2010 14:02:48 -0000 Hi Vadim! > -----Ursprungligt meddelande----- > Fr=E5n: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] F=F6r Vadim Goncharov > Skickat: den 21 september 2010 14:48 > Till: freebsd-stable@freebsd.org > =C4mne: Re: Dummynet >=20 > Hi Jon Otterholm! >=20 > On Mon, 20 Sep 2010 10:00:48 +0200; Jon Otterholm wrote about > 'Dummynet': >=20 > > Installed a new router running 8-stable and encounter some problems > > when configuring dummynet pipes: >=20 > > When setting buckets above 1024... > > ipfw pipe 91 config bw 100Mbit/s mask src-ip 0xffffffff buckets 4096 >=20 > > ...I get the following error: > > Clamp sched buckets to 1024 (was 4096) >=20 > Try to write "buckets 4096" before "mask", though this is unlikely to = help, > there are some troubles with 8.1's changes in parser. Didn't help.=20 >=20 > > # sysctl net.inet.ip.dummynet.hash_size > > net.inet.ip.dummynet.hash_size: 4096 >=20 > Also, make sure you're doing this before any packets actually went to > dummynet (e.g. just after reboot). This is set in /etc/sysctl.conf ... >=20 > > 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. >=20 > > Am I missing something here? This worked fine in the 7-branch. >=20 > 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. OK. I just have to wait then for luigi@ to submit fixes. Thanks for the tips and info. Should I expect and be prepared for any other flaws from the current = version of dummynet in 8-STABLE? //JO