Date: Sun, 11 Apr 2010 04:06:13 +0000 (GMT) From: Z Wing <zeddersuk@yahoo.co.uk> To: freebsd-pf@freebsd.org Subject: (no subject) Message-ID: <751667.28807.qm@web29018.mail.ird.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hiya all, Could someone clarify for me the purpose of the =0Abandwidth parameter when= used with hfsc? Please consider my queue (512Kb=0A max upload through the = ADSL line): =A0altq on em1 bandwidth 500Kb =0Ahfsc queue { ack, dns, ssh, other } =A0 queue ack=A0=A0=A0=A0=A0=A0=A0 bandwidth 95% =0Apriority 8 qlimit 500 h= fsc (realtime=A0=A0 20%) =A0 queue dns=A0=A0=A0=A0=A0=A0=A0 =0Abandwidth 95% priority 7 qlimit 500 h= fsc (realtime=A0=A0=A0 5%) =A0 queue =0Assh=A0=A0=A0=A0=A0=A0=A0 bandwidth 95% priority 6 qlimit 500 h= fsc (realtime=A0=A0 20%) =0A{ssh_login, ssh_bulk} =A0=A0 queue ssh_login bandwidth 95% priority 6 =0Aqlimit 500 hfsc =A0=A0 queue ssh_bulk=A0 bandwidth 95% priority 5 qlimit =0A500 hfsc =A0 queue other=A0=A0=A0=A0=A0 bandwidth 95% priority 5 qlimit 500 hfsc =0A= (realtime=A0=A0 20% default) My understanding was that "bandwidth =0Axx%" tells pf that the queue can on= ly use xx% of the total parent queue =0Abandwidth and the various guides on= the Internet say that it cannot go =0Aabove 100% which sort of makes sense= . However what I want, for example, =0Ais the 'other' queue to get all the = upload bandwidth as long as there is=0A no acks or ssh traffic in the queue= . If I set bandwidth 20% for other, =0Awon't that mean that no matter what,= the 'other' queue will only get a =0Amaximum of 20% of the bandwidth (even= if there is no ssh traffic =0Awaiting?) I think I haven't quite understood this properly but =0Aperhaps someone cou= ld clarify it. I found a lot out from calomel.org's =0Aexcellent page but t= hat's the only bit that confused me. Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?751667.28807.qm>