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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Thu, 22 Aug 2002, George J. Jahchan wrote:> 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 -- 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
George J. Jahchan wrote:>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.> >-- Anton Yurchenko<phila@dg.net.ua> Digital Generation _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/