From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 21 01:30:25 2011 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECCA7106566C for ; Mon, 21 Mar 2011 01:30:25 +0000 (UTC) (envelope-from mwisnicki@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id A57948FC14 for ; Mon, 21 Mar 2011 01:30:25 +0000 (UTC) Received: by qwc9 with SMTP id 9so4234400qwc.13 for ; Sun, 20 Mar 2011 18:30:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=PO/rzxcIZFvNSjUpauAcHUhw6b1h4n4vGl1+9TdTmMc=; b=oEzJIfw1dsjkXK0faSqAgby6Ahv3TAzwfWFY/T8Oo7yR1P3JnsTppXKP6rZ5Jj/7pe +invnu5ez/8Fnh8k8/p5I7iyJbgwEjsCgh45Z6kvzwPHzaFQCdlDJcZm6fjJq1RlNy9A 5gHM+3ozM6kH/BUnA6n4i6+FraKcHHWV1+DfE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=dLY2zS5TRHHe0mWApaCPh5bR6J0tFFMw0cdGosbTPHQtPbz6YCOZia6fV4Or3mnVyF SQy7sa+Oki46SdOofDkM4bfDsdrKRIFWZSWEgn5h+Ady+se5asrKDhwSdkqFNardpQoy OI6UHufMRC+vwKxUr3RMGv8a+A7d79HNhgcmk= MIME-Version: 1.0 Received: by 10.229.74.206 with SMTP id v14mr2740711qcj.69.1300669206538; Sun, 20 Mar 2011 18:00:06 -0700 (PDT) Sender: mwisnicki@gmail.com Received: by 10.229.215.9 with HTTP; Sun, 20 Mar 2011 18:00:06 -0700 (PDT) In-Reply-To: <201103202340.p2KNe1dc035086@freefall.freebsd.org> References: <201103202333.p2KNXRqd033269@red.freebsd.org> <201103202340.p2KNe1dc035086@freefall.freebsd.org> Date: Mon, 21 Mar 2011 02:00:06 +0100 X-Google-Sender-Auth: d6YuTGes_h9OEBPrx7dgJ9zdyUg Message-ID: From: Marcin Wisnicki To: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: Re: kern/155736: [pf] [altq] borrow from parent queue does not work with cbq X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Mar 2011 01:30:26 -0000 HFSC can be used as a workaround since it can express everything that is possible with CBQ: altq on $lan_if hfsc bandwidth 100Mb queue { qLocal, qExt } queue qLocal bandwidth 90Mb hfsc(default) queue qExt bandwidth 10Mb hfsc(upperlimit 10Mb) { qExtFast, qExtSlow } queue qExtFast priority 7 bandwidth 80% queue qExtSlow priority 1 bandwidth 20% hfsc(red)