Re: What is: "Consider r2q change"

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Oliver Schulze L." wrote:
> 
> Hi,
> I'm getting this warning/error in /var/log/messages:
> 
> May 26 18:21:05 mail kernel: HTB: quantum of class 10010 is small.
> Consider r2q change.
> 
> Its a big deal? What should I do?
> 
> Many thanks
> Oliver
> 
> --
> Oliver Schulze L.
> <oliver@xxxxxxxxxxxxx>

If you are sure you REALLY want the rate that tc is complaining about,
you should manually set quantum, probably to 1514 (look at quantum for a
rate that does not generate this message for size hints).  htb is
telling you that the rate is a lot less than the rate of the parent;
experience says 31% or less of the parent rate generates this message.

tc class add dev eth1 parent 1:1 classid 1:30 htb rate $RATE ceil $CEIL
burst 5k quantum 1514 prio 3

--
gypsy
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux