Re: Tocken Bucket with priority?

Linux Advanced Routing and Traffic Control

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

 



On Wed, Apr 05, 2006 at 03:18:06PM +0200, Emanuele Colombo wrote:
> Hi. I'm trying to get a traffic shaper like this:
> 
> 
>                     ------
>   VoIP pkts    -->        |    |_|
>                     ------  \   |
>                              ---O ->
>                     ------  /
>   Data pkts    -->        |
>                     ------
> 
> In this shaper voip packets are in a different queue than any other kind of
> packet. I want a data packet to be served only when no packets are in the
> voip queue (when voip queue is empty).
> Furthermore the total traffic that leaves this shaper needs to be limited to
> a specific (and precise) value of bandwidth, like a token bucket.
> 
> 
> I can't use something like this (PRIO + TBF) because in this way when "data
> congestion" happens, voip packets may be lost too(packet drop appens on the
> TBF queue):
> 
>                     ------
>   VoIP pkts    -->        |               |_|
>                     ------  \     -----    |
>                              O --->    |---O ->
>                     ------  /     -----
>   Data pkts    -->        |
>                     ------
> 
> I also can't use HTB because it doesn't provide a priority mechanism like my
> needs, and CBQ because his bandwidth limiting algorithm isn't very precise
> (according to the documentation).

What about using HTB and *then* using PRIO as its leaf class? You would
use HTB only to shape.


_______________________________________________
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