Skip to contentSkip to conversation

Is TC flow-aware?

LARTC George J. Jahchan 3 participants 3 messages Aug 22, 2002 – Aug 23, 2002

lore
Share & tools
lore
#0 lore raw

Is TC flow-aware for individual flows (sessions) within a given class of traffic?

For example, assuming 100Kbps allocated to a class and 100 simultaneous active flows within that class. Will each flow get approx. 1K, or will the greedier
flows capture the lion's share of the 100K, leaving the others struggling to go
through?

Conversely, when a queue fills up and packets from that queue must be drop- ped, will TC drop packets from the greedier flows (that are most likely causing
the congestion) or does it not distinguish between flows? In the latter case,
which rules determine the packets that get dropped?

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 2 lines · George J. Jahchan

Is TC flow-aware for individual flows (sessions) within a given class of traffic?

No, TC isnt flow-aware. If all the flows fall into the same class, packets will be dropped on a "need-to-drop" basis. Also the greedy flow will be able to hog bandwidth unless it is policed at the edge of the traffic control network.

But you could use something like Diffserv which has various drop probabilities and thus control which flows have more drop probability.

-Amit

Signature · 12 lines
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to George J. Jahchan
Quoted 10 lines · George J. Jahchan

Is TC flow-aware for individual flows (sessions) within a given class of traffic?

For example, assuming 100Kbps allocated to a class and 100 simultaneous active flows within that class. Will each flow get approx. 1K, or will the greedier
flows capture the lion's share of the 100K, leaving the others struggling to go
through?

if you set up an sfq qdisc attached to the class then the bandwidth will be devided between flows.
in a prety fair manner
I`m not shure though what happens with your second question.

Quoted 2 lines
Signature · 8 lines
Anton Yurchenko<[email protected]>
Digital Generation



_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/