From owner-freebsd-pf@FreeBSD.ORG Thu Jul 7 09:05:21 2011 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15FD8106574C for ; Thu, 7 Jul 2011 09:05:21 +0000 (UTC) (envelope-from mistrzipan@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id 94B878FC13 for ; Thu, 7 Jul 2011 09:05:20 +0000 (UTC) Received: by fxe6 with SMTP id 6so767844fxe.17 for ; Thu, 07 Jul 2011 02:05:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=74WSeplEY2g5ldCdvWgOTyMcJ6eKM86x9+1eygdl9r0=; b=Fhfl6YmAi3mm6UqWVYMxAaw4HAhmMINCx0GIwTxKWX1T/m4Cj0BWDwSbz59rWTL2X0 hqqhOOCgwrOWRUGJFhatPV34pofJQIXTJhe2WDy7FonWDq7NCQTmkewc/R4qGgOYq31h fadd5jKQgN6/cdn6DpTtPV1E9l/+J/Z0dFxiM= Received: by 10.223.145.6 with SMTP id b6mr936791fav.2.1310029519270; Thu, 07 Jul 2011 02:05:19 -0700 (PDT) Received: from [79.110.194.136] ([79.110.194.136]) by mx.google.com with ESMTPS id b13sm6580544fab.36.2011.07.07.02.05.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Jul 2011 02:05:16 -0700 (PDT) Message-ID: <4E1576C9.2070406@gmail.com> Date: Thu, 07 Jul 2011 11:05:13 +0200 From: "Bartek W. aka Mastier" User-Agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-pf@freebsd.org References: <20110706152506.GA26334@calomel.org> <877h7vcq0l.fsf@deeperthought.bsdly.net> In-Reply-To: <877h7vcq0l.fsf@deeperthought.bsdly.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pf ALTQ bandwidth limited to a 32bit value (4294Mb) X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2011 09:05:21 -0000 On 06.07.2011 18:50, Peter N. M. Hansteen wrote: > Calomel Org writes: > >> ALTQ using hfsc is limited to a maximum parent bandwidth of 4294Mb. >> This value is 2^32 or 4,294,967,296 bits. If you set the bandwidth any >> higher, altq will flip back to zero. This "bug" was found when trying >> to test 10 gigabit and 40 gigabit bandwidth models. These tests were >> done on OpenBSD 32bit and 64bit as well as FreeBSD 32bit and 64bit. > Nice to hear you've got access to relatively high end gear for testing, > I'm sure it will come in handy when the time comes to test any proposed > fixes. > > The obvious workaround in the short term is to do the traffic shaping > and filtering a bit closer to the end user, where bandwidth is a bit > more scarce. In the slightly longer term, I'm sure a verified bug > report (with patches against -current code if feasible) would be much > appreciated. > > - Peter > Haha ! I notice that too! Man, I'm shaping traffic for users end which total traffic is about 4Gb , but in my case I just used hfsc, and my "mighty" firewall generating script just divides the whole bandwidth like total/(no.users+1) for guaranteed speed. 1 stands for default queue.