Re: SFQ + speed caps

Linux Advanced Routing and Traffic Control

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

 



On 8/7/2014 3:42 PM, Remy Mudingay wrote:
HI Dimitris,

The solution is straight forward :

interface
  |
  +---- HTB --- class 1 parent class
         |
         +----- HTB class 2  (everything else) 90% guaranteed/ 100% cap
         |        |
         |       +--- SFQ
         |
         +----- HTB class 3 (capped pc) 10% guaranteed/ 20% cap


Hi Remy,

From what I can tell what you posted is identical to the hypothetical scenario that I said will not work.

Here is the problem with it. Let's say that there are 20 pcs battling for bandwidth in class 2. SFQ will guarantee that each will get approximately 1/20th of the bandwidth. The capped pc however is unfettered by the SFQ round robin so it can potentially consume the entire chunk allocated to it by HTB in class 3, which is more than 1/20. So the capped pc can potentially (e.g. using a large number of sockets) get more bandwidth than the uncapped pcs.

So what I am looking for is for a way to implement a global SFQ instead of one for each HTB class. For a way to place the entire HTB logic on top of a single SFQ.

Regards,

Dimitris

--
To unsubscribe from this list: send the line "unsubscribe lartc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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