questiona about CBQ algorithm in Linux

Linux Advanced Routing and Traffic Control

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

 



Hi Stef and Alexey
 
 
I have read some documents about CBQ algorithm from http://www.icir.org/floyd/cbq.html
but still have some question about CBQ in Linux
.
1. First estimator can estimate how much bandwidth already USED per class. one estimating algorithm is EWMA (exponential weighted moving average), how about  Linux implemenatation about estimator? 
also do you have link for this algorithm? I canot find it.

2. If I want to see how CBQ work in Linux,  any suggestion how I start read these code?
there are a lot of files under tc folder, q_cbq.c tc_cbq.c...

3. In linux how CBQ measure used bandwidth per class? does it measure
bandwith bits/sec? If it measue bandwidth every seconds, is there any way to
collect these data (grap these data)?
 
4. I read stef's monitor.pl, it is based on firwall code. why didn't use CBQ's measurement result if it can do (I am not sure..)?
 
5. In stef's bandwidth monitor, I am not sure whether it is per-flow based or per-class based. if it is per-flowed based, how can I modify to per-class? I belivee CBQ can estimate used bandwidth PER CLASS.
For example  you have two flow belong to one class.
 
6. In Linux how CBQ distribute the excess bandwidth between sibling class
when "borrow" enabled.  what algorithm it used? which code?
 
7. Can HTB do the same job as CBQ right now, can HTB do borrow ?
 
Thanks in advance
 
 
best regards
 
 
yuxiao Jia


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