Re: quantum

Linux Advanced Routing and Traffic Control

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

 



This page explains the quantum & r2q values used in HTB in depth:
   http://www.docum.org/docum.org/faq/cache/31.html

If you want to see my working example download this script:
   http://pof.eslack.org/archives/files/bw-shaper1.2.sh
results achieved can be seen here:
   http://pof.eslack.org/graphs/
...any commments appreciated ;)

Regards,

      Pau Oliva


On Mon, December 12, 2005 12:09, sujeet mulmi said:
> thanks pal.
>
>    i got the clue but i get confused in rates whether it should be the
> total b/w or rate seperate for class id.
>   can you give me some hints on r2q too.
>
> Pau Oliva - pof <pau@xxxxxxxxxx> wrote:
>   Hi,
>
> I usually use this as a rule of thumb:
>
> quantum = rate(in bytes)/r2q
>
> Note that quantum should be > MTU (normally 1500).
>
>
> Best regards,
>
> Pau Oliva
>
>
> ---
> http://pof.eslack.org/blog/
>
>
> On Mon, December 12, 2005 7:32, sujeet mulmi said:
>> Dear all,
>>
>> I'm new to traffic shapping although i have gone through marking
>> and HTB queueing but i felt trouble in tc filter . I wonder if any
>> one give me the hints about quantum or r2q.
>> i guess quantum is used when two class has same prio and rate and want
>> to give first priority between them and control the borrowing traffic.
>> It should be set more than MTU too. But my question is that how can we
>> set quantum exactly , i mean is there any calculation need to set this
>> quantum parameter and its effect to r2q . Any changes we have to do in
>> r2q parameter.
>>
>> Any suggestion will be apprieciated.
>>
>> thanks in advance.
>>
>> sujeet


_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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