[LARTC] Curious situation of htb
clplayer clplayer
cl.player at gmail.com
Tue Dec 26 04:02:23 CET 2006
Dear all,
I'm now developing the qos mechanism on my mechine. I have read the
documents of both the web site "HTB Home" and "lartc.org". But it confuses
me that what is the accurate definition of the argument "rate"?
It seems to be "the minimum rate which is guaranteed for a class" in the
user guide of HTB Home, but in the manpage of lartc.org it is defined as
"the maximun rate quaranteed for a class."
I have tried two ways implementing the qos mechanism.
First I setup the qos configuration by tc, and classification is done by
the u32 classifier. In this case, no matter how the classes' rate set, the
total bandwidth of 100Mbps will always be about 75Mbps and each class is
assigned the bandwidth in the scale.
To work with some tunnel or random-port transmission, another program was
applied to set the priority value of the structure sk_buff as the
classid the packet belongs to. In this case, the total bandwidth is limited
at the rate we set, so do all the classes set.
My question is that, why it differs from the two mechanism? Which one will
be the correct result?
Thank you very much.
Best regards,
Y.K. Peng.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ds9a.nl/pipermail/lartc/attachments/20061226/2a7119cc/attachment.html
More information about the LARTC
mailing list