On Thursday 29 August 2002 15:37, Robert Penz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi!
>
> I'm getting following messages in my log, don't know what I'm doing wrong.
> I have that messages on 2.419 and 20pre1
>
> first call of my TC script, after the boot
>
> Aug 29 14:30:06 whitestar kernel: HTB init, kernel part version 3.6
> Aug 29 14:30:06 whitestar kernel: HTB: quantum of class 10001 is big.
> Consider r2q change.<4>HTB: quantum of class 10010 is big. Consider r2q
> change.<6>HTB init, kernel part version 3.6
>
> second call
>
> Aug 29 15:35:25 whitestar kernel: HTB: quantum of class 10001 is big.
> Consider r2q change.<4>HTB: quantum of class 10010 is big. Consider r2q
> change.<7>htb*g j=1476817
> Aug 29 15:35:25 whitestar kernel: HTB init, kernel part version 3.6
> Aug 29 15:35:25 whitestar kernel: HTB: quantum of class 10001 is big.
> Consider r2q change.<4>HTB: quantum of class 10010 is big. Consider r2q
> change.<6>HTB init, kernel part version 3.6
All you have to do is chaning r2q so quantum is smaller :)

Quantum is the amount of bytes a class may send when 2 classes are fighting 
for excess bandwidth.  When quantum is too big, it can create extra bursts.  
When quantum is too small (smaller then 1 packet) it can will disturb the htb 
calculations.
quantum = rate / r2q
     with r2q = 10 (can be overruled when you add a qdisc)

Solution : 
     r2q = smallest_rate_you_have / 1500

Stef

-- 

[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to