Date: Mon, 8 Nov 2010 23:37:46 -0700 From: "Peter" <fbsdq@peterk.org> To: "Ricky Charlet" <RCharlet@adaranet.com> Cc: "freebsd-pf@freebsd.org" <freebsd-pf@freebsd.org> Subject: Re: shy about borrowing Message-ID: <33f0d4dc72bcfc27f08902dec7e0bc33.squirrel@smtp.pknet.net> In-Reply-To: <32AB5C9615CC494997D9ABB1DB12783C024C6FC08E@SJ-EXCH-1.adaranet.com> References: <32AB5C9615CC494997D9ABB1DB12783C024C6FC08E@SJ-EXCH-1.adaranet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Howdy,
>
> altq on gif10 cbq qlimit 300 bandwidth 45Mb queue { queue1, queue2 }
> queue queue1 qlimit 300 bandwidth 1Mb priority 7 cbq (default)
> queue queue2 qlimit 300 bandwidth 10Mb priority 1 cbq(borrow red)
> pass out quick on gif10 inet proto tcp no state queue queue2
>
> If I run traffic through my queue2, it runs about 12Mb and `pfctl -vvsq`
> does show some borrows. But even though it is borrowing some, why does it
> not borrow up to my 45Mb root queue limit?
>
>
> ---
> Ricky Charlet
> Adara Networks
> USA 408-433-4942
>
>
I could not get it to borrow, not even on OpenBSD [at that time, followed
their pf faq examples, and OpenBSD also did not borrow]
http://www.mail-archive.com/freebsd-pf@freebsd.org/msg04052.html.
http://lists.freebsd.org/pipermail/freebsd-pf/2007-February/003021.html
After many tests, I could never get it to borrow properly from parent and
finally went with hfsc, which works just as it should. It was almost
pretty much %s/cbq/hfsc/g to get it working.
]Peter[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33f0d4dc72bcfc27f08902dec7e0bc33.squirrel>
