pfSense English Support > Traffic Shaping

quick hfsc syntax question

(1/2) > >>

catalyst:
I'm trying to wrap my brain around the shaping going in with hfsc, and I think I've just about got it figured out (at least a little bit).  I'm curious about the relation about the number given after bandwidth and the realtime/linksahre/upperlimit numbers.  For example:

queue qGamesUp bandwidth 15% priority 5 hfsc (  linkshare 50% realtime(50% 60000 24%) )

what does 'bandwidth 15%' mean in relation to 'hfsc (  linkshare 50% realtime(50% 60000 24%) )'

I understand that the linkshare and realtime negate the 'priority 5'  portion (according to the WebGUI), but I am unsure of whether the 24% or guaranteed comes FROM the 15% bandwidth?  Or how the two sections of the line relate to each other.  Should the 'bandwidth 15%' be the same as the number given for the 'realtime' guarantee?  Any ideas would be appreciated.  If I can get a good enough understanding of it, I'm looking to add some documentation to the wikki.

thanks!

sullrich:
Please see

http://wiki.pfsense.com/wikka.php?wakka=HFSCBandwidthShapingNotes
http://wiki.pfsense.com/wikka.php?wakka=TrafficShapingGuide
http://wiki.pfsense.com/wikka.php?wakka=NewShaperNotes

catalyst:
I have read the docs in the wikki currently, being a total newb at packet shaping, I'm just still not understanding.  If you could clarify it for me just a little bit I would really appreciate it.  Is the bandwidth 15% overridden by the realtime + linkshare?

thanks

dusan:

--- Quote from: catalyst on December 14, 2006, 10:31:02 am ---I have read the docs in the wikki currently, being a total newb at packet shaping, I'm just still not understanding.  If you could clarify it for me just a little bit I would really appreciate it.  Is the bandwidth 15% overridden by the realtime + linkshare?
--- End quote ---

I did not verify this in practise. However to my best knowledge (from discussions on this forum, google, etc), yes.

Specifically, Bandwidth is overridden by Linkshare's m2. So, leave Linkshare unset, or always set its m2 = Bandwidth to avoid confusion.

catalyst:
Thanks!  after reading the man page some more on pf and altq I had tried leaving the bandwidth unset but wound up with a bunch of SC of child is greater than parents SC (or something to that effect) which makes a little sense since - if I understand things correctly - as it defaults to 100% if not set.  I'm going with setting bandwidth to the value of m2 - which will hopefully clear things up.  It does bring up a different question though, the bandwidth setting for lan and wan acks is set at 25% while the m2 value of lan/wan acks is set at 10%. 
Any ideas as to how that fits into the equation?  Maybe the logic behind those settings could help me to understand a little better.

thanks again!

Navigation

[0] Message Index

[#] Next page

Go to full version