From owner-freebsd-ipfw@FreeBSD.ORG Fri Mar 26 10:06:59 2010 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE4CC1065679 for ; Fri, 26 Mar 2010 10:06:59 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id B3DD28FC27 for ; Fri, 26 Mar 2010 10:06:59 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 51AC3730A1; Fri, 26 Mar 2010 11:16:57 +0100 (CET) Date: Fri, 26 Mar 2010 11:16:57 +0100 From: Luigi Rizzo To: Adailton Milhorini Message-ID: <20100326101657.GA59512@onelab2.iet.unipi.it> References: <4BABA4A1.9040307@hardonline.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BABA4A1.9040307@hardonline.com.br> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ipfw@freebsd.org Subject: Re: dummynet error in last stable version X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2010 10:07:00 -0000 On Thu, Mar 25, 2010 at 03:00:01PM -0300, Adailton Milhorini wrote: > Hi, > > i use this rules for my bandwidth control, and after update my freebsd > in last days, show any error for me.. > my rule > > # ipfw pipe 10 config mask dst-ip 0xffffffff bw 900Kbit/s queue 90Kbit/s > > errors in dmesg after rule > > #Bump sched buckets to 64 (was 0) > > and after traffic show > > #dummynet_io dropped by enqueue > Thanks for the report. the dmesg output are only diagnostics, they should be removed but do not indicate any error. your configuration command is incorrect though, "queue 90Kbit/s" as queue size can be expressed only in slots or in bytes. The parser is sloppy and ignores everything after the 'K' so it understand it as 90Kbytes, but you should not count on that cheers luigi