shy about borrowing

Peter fbsdq at peterk.org
Tue Nov 9 07:04:28 UTC 2010


> 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[



More information about the freebsd-pf mailing list