Does HTB consider PRIO or not?

Linux Advanced Routing and Traffic Control

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

 



Hello LARTC!!!!
There is a question that kills me everytime I think about it. I just love HTB and for one year since I started to work wih it I had no complains until one day. One client needs to allocate the shared bandwith , based on priorities. The HTB as everybody knows have the CEIL parameter and also PRIO which are supposed to solve the problem. Now the problem: I configure everything, rate for the first class rate for the second, ceil is the same prio for the first class is 1 for the second is 7. I suppose the second is getting the shared bandwidth in the last place..but it is not so. In practice firstly who start downloading is taking 60-70% of the shared bandwidth. it seems the PRIO doesn't work at all. IS IT REALLY SO??? I changed kernel from 2.4 to 2.6 , thought it is a kernel problem, no way it is not working.
 
My system :
Pentium 500
Ram 256 Mb
2 networks cards (in and out)
Linux Slackware 9.1
Kernel 2.6.13.2
iproute2
 
Some output from htb.init list
 
qdisc htb 1: r2q 10 default 20 direct_packets_stat 119
class htb 1:5 parent 1:2 prio 1 rate 128000bit ceil 950000bit burst 1663b cburst 2074b
class htb 1:14 parent 1:2 leaf 14: prio 7 rate 18000bit ceil 900000bit burst 1608b cburst 2Kb
 
I use HTB.INIT to generate HTB rules.
 
Have a good day!!!!
 
Oleg R.
 
_______________________________________________
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