Re: [LARTC] What is: Consider r2q change
Hi, yes, thats right, the problem was only with leaf classes. Thanks for clarifyind that Oliver [EMAIL PROTECTED] wrote: Oliver Schulze L. ha scritto: 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? If I understand the source, that message occours when you have a leaf class whose calculated quantum (rate/r2q) is less than 1000 byte and the kernel set the quantum to 1000 byte. I've read that the quantum should be bigger than the MTU so I don't understand why the kernel don't use a minimum quantum value bigger than 1500. Someone has a clue? From kernel-source-2.6.10/net/sched/sch_htb.c if (!hopt-quantum cl-un.leaf.quantum 1000) { printk(KERN_WARNING HTB: quantum of class %X is small. Consider r2q change.\n, cl-classid); cl-un.leaf.quantum = 1000; ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
Re: [LARTC] What is: Consider r2q change
Oliver Schulze L. ha scritto: 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? If I understand the source, that message occours when you have a leaf class whose calculated quantum (rate/r2q) is less than 1000 byte and the kernel set the quantum to 1000 byte. I've read that the quantum should be bigger than the MTU so I don't understand why the kernel don't use a minimum quantum value bigger than 1500. Someone has a clue? From kernel-source-2.6.10/net/sched/sch_htb.c if (!hopt-quantum cl-un.leaf.quantum 1000) { printk(KERN_WARNING HTB: quantum of class %X is small. Consider r2q change.\n, cl-classid); cl-un.leaf.quantum = 1000; -- ** Marco Innocenti Gruppo Infrastruttura e Sicurezza CINECA phone:+39 0516171553 / fax:+39 0516132198 Via Magnanelli 6/3 e-mail: [EMAIL PROTECTED] 40033 Casalecchio di RenoBologna (Italia) ** ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
[LARTC] What is: Consider r2q change
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. [EMAIL PROTECTED] ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc