Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2009 21:28:56 +0100
From:      Pojken Purken <pp@pp.dyndns.biz>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pf + altq + cbq(borrow) not borrowing from parent...
Message-ID:  <49C15988.6070007@pp.dyndns.biz>
In-Reply-To: <60287.216.241.167.212.1237403968.squirrel@webmail.pknet.net>
References:  <60287.216.241.167.212.1237403968.squirrel@webmail.pknet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter wrote:
> iH,
>    Can't figure this out - seems as if others are having the same issue
> searching online:
> The queues will not borrow from parent.
> 
> pf.conf [cut and snipped]
> 
> altq on fxp0 cbq bandwidth 100Mb qlimit 500 queue {intranet, extranet}
>         queue extranet bandwidth 876Kb { poshta,abakan,usrx11,imvas }
>                 queue poshta bandwidth 34% priority 7 cbq(borrow)
>                 queue abakan bandwidth 22% priority 2 cbq(borrow)
>                 queue usrx11 bandwidth 22% priority 1 cbq(borrow)
>                 queue imvas  bandwidth 22% priority 1 cbq(borrow)
>         queue intranet bandwidth 90Mb cbq(default)
> 

You need to add "borrow" to your default queue. That's where the spare
bandwidth is, not the root queue. As it is defined now, your child
queues below extranet can only borrow bandwidth from each other. If you
add borrow to your default queue, extranet can borrow from intranet and
share that to its child queues.
/Morgan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49C15988.6070007>