[LARTC] Partial Isolation

Linux Advanced Routing and Traffic Control

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

 



Hi, for HTB you can do this as follows:
root (rate = 500k)
|
+-1:1 SSH leaf (rate = 50k, ceil = 500k)
|
\-1:2 other inner node (rate = 450k, ceil = 480k)

The ceil for second node will prevent it to use whole
bw and 20 is always reserved for 1:1's use.
See below for CBQ.

> Lets say I wanted to allocate 50kbps to SSH traffic, but I didn't want 
> to set it all as isolated.  What if I wanted to set aside 20k of that 
> as being isolated from other classes (either in HTB or CBQ), how would 
> I go about this, or is it even possible?  Would I have to make the 
> normal class of 50k and then make a sub-class of 20 with the same 
> definition but isolated?  Should this work?
> 
> root
>  \---1:1 SSH traffic (50k)
>  |    \--11:1 SSH traffic (20k, isolated)
>  \---1:2 Other traffic (remaining)

Here you has problem. You can't assign traffic to 1:1, only
to 11:1 (is it another qdisc !?). Isolated class will not lend
its bw bot also will not borrow ! So that 50k from 1:1 will
never be reached.
I'm not sure whether it is solvable with CBQ.
devik



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