Matt Hamilton
2006-12-12 13:10:05 UTC
Hi All,
Something I just noticed on 3.9 with our firewall that I'm hoping
someone can explain, as it looks like a bug to me. Our simplified
config for queueing is:
altq on $ext_if cbq bandwidth 8Mb queue { colo, bmex, deflt }
queue bmex bandwidth 4Mb cbq { A, B, C, D }
queue A bandwidth 1Mb cbq(borrow)
queue B bandwidth 1Mb cbq(borrow)
queue C bandwidth 1Mb cbq(borrow)
queue D bandwidth 1Mb cbq(borrow)
queue colo bandwidth 4Mb cbq(borrow) { E, F, G, H }
queue E bandwidth 1Mb cbq(borrow)
queue F bandwidth 1Mb cbq(borrow)
queue G bandwidth 1Mb cbq(borrow)
queue H bandwidth 1Mb cbq(borrow)
As you can see, although queues A-D have borrow, their parent, bmex,
does not have borrow. This seems that no-one on A-D can get above
1Mb. If I add borrow to the parent, bmex, then it works.
Is this right? Surely a child should be able to borrow from its
parent regardless of if its parent can borrow from root? Is this a
bug, or am I not understanding something? Is this something that
hfsc might address?
-Matt
Something I just noticed on 3.9 with our firewall that I'm hoping
someone can explain, as it looks like a bug to me. Our simplified
config for queueing is:
altq on $ext_if cbq bandwidth 8Mb queue { colo, bmex, deflt }
queue bmex bandwidth 4Mb cbq { A, B, C, D }
queue A bandwidth 1Mb cbq(borrow)
queue B bandwidth 1Mb cbq(borrow)
queue C bandwidth 1Mb cbq(borrow)
queue D bandwidth 1Mb cbq(borrow)
queue colo bandwidth 4Mb cbq(borrow) { E, F, G, H }
queue E bandwidth 1Mb cbq(borrow)
queue F bandwidth 1Mb cbq(borrow)
queue G bandwidth 1Mb cbq(borrow)
queue H bandwidth 1Mb cbq(borrow)
As you can see, although queues A-D have borrow, their parent, bmex,
does not have borrow. This seems that no-one on A-D can get above
1Mb. If I add borrow to the parent, bmex, then it works.
Is this right? Surely a child should be able to borrow from its
parent regardless of if its parent can borrow from root? Is this a
bug, or am I not understanding something? Is this something that
hfsc might address?
-Matt
--
Matt Hamilton ***@netsight.co.uk
Netsight Internet Solutions, Ltd. Business Vision on the Internet
http://www.netsight.co.uk +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting
Matt Hamilton ***@netsight.co.uk
Netsight Internet Solutions, Ltd. Business Vision on the Internet
http://www.netsight.co.uk +44 (0)117 9090901
Web Design | Zope/Plone Development & Consulting | Co-location | Hosting