[Fwd: Re: [LARTC] borrowing only from parent]

Linux Advanced Routing and Traffic Control

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

 



Martin Devera wrote:

>>I just tried to change {,c}burst to 1600, or leaving them by default but
>>no visible result.
>>here is the latest tc -s -d class show dev eth0
>>
>>class htb 1:101 parent 1:1 prio 0 rate 40Kbit ceil 40Kbit burst 1599b/8
>>mpu 0b cburst 1599b/8 mpu 0b quantum 512 level 0 Sent 392526 bytes 5898
>>pkts (dropped 0, overlimits 15394) lended: 5898 borrowed: 0 giants: 0
>>injects: 0
>>tokens: -11905 ctokens: -11905
>>
>>class htb 1:1 root prio 0 rate 100Kbit ceil 1Kbit burst 1599b/8 mpu 0b
>>cburst 1599b/8 mpu 0b quantum 1280 level 3 Sent 956111 bytes 14168 pkts
>>(dropped 0, overlimits 0) rate 12bps lended: 566 borrowed: 0 giants: 0
>>injects: 0
>>tokens: 224179 ctokens: -59999999
>>
>
>ceil 1kbit !!??
>
Wouldn`t it prevent 1:1 from borrowing from 1: ? I think I`m 
missunderstanding the ceil. As I see it it is if I fe. have rate 100kbit 
and ceil 100kbit then 1:1 would go at at least 100kbit and can borrow 
100kbit from 1: . Which is in my case unwanted. I want to limit 1:1 to 
100kbit without abilyti to borrow. 1:100 and 1:101 could borrow from one 
another up to the max rate of 1:1 ( 100 kbit) that is what I want ot 
achieve.

thanks,

Anton



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