All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Tocken Bucket with priority?
@ 2006-04-05 13:18 Emanuele Colombo
  2006-04-05 13:24 ` Andreas Hasenack
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Emanuele Colombo @ 2006-04-05 13:18 UTC (permalink / raw)
  To: lartc


[-- Attachment #1.1: Type: text/plain, Size: 1330 bytes --]

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).


How can I solve this problem using tc qdiscs?


Thanks

--
Emanuele

[-- Attachment #1.2: Type: text/html, Size: 5762 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-04-08 10:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-05 13:18 [LARTC] Tocken Bucket with priority? Emanuele Colombo
2006-04-05 13:24 ` Andreas Hasenack
2006-04-05 14:41 ` Emanuele Colombo
2006-04-06 14:27 ` Emanuele Colombo
2006-04-07 15:13 ` Martin A. Brown
2006-04-07 19:57 ` Jason Boxman
2006-04-08 10:37 ` Emanuele Colombo
2006-04-08 10:43 ` Emanuele Colombo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.