lartc.org : Linux Advanced Routing & Traffic Control
(Answer) (Category) lartc.org FAQ :
General shaping rules
  • Make sure YOU are the bottleneck (it's better to slow down the link to make sure the big buffers of the routers will be empty): so limit all traffic to 95% of the link bandwidth.
  • You can only shape outgoing bandwidth.
    For the more experienced shapers among us : you can shape incoming bandwidth with the policer in the filters or the virutal imq device.
  • Experiment with some simple scripts so you understand them.
  • "copy and paste" from a working script is the best start you can make.
  • It's bit when there is bit, otherwise it's byte.
    kbps = kilobyte/s
    kb = kilobyte
    kbit = kilobit/s or kilobit
  • Don't add an htb/cbq/tbf qdisc to a class, it will only create extra delays and eat cpu cycles
  • The lower the prio, the higher the priority
  • CBQ :
    • never use the isolated parameter
    • provide a weight parameter
    • bandwidth parameter = NIC bandwidth

stef.coene@docum.org
[Append to This Answer]
Previous: (Answer) Getting everything you need for htb support
Next: (Category) HTB Shaping rules
This document is: http://qos.dyndns.org:3389/cgi-bin/fom?file=9
[Search] [Appearance]
This is a Faq-O-Matic 2.719.