DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] 4 Traffic classes per Pipe limitation
@ 2015-06-05 17:06 Yeddula, Avinash
  2015-06-05 20:50 ` Dumitrescu, Cristian
  0 siblings, 1 reply; 10+ messages in thread
From: Yeddula, Avinash @ 2015-06-05 17:06 UTC (permalink / raw)
  To: dev

Hi,
This is related to the QOS scheduler functionality provided by dpdk.

I see a limit on the number of traffic classes to be 4.  I'm exploring the available options to increase that limit to 8.

This is what I found when I researched on this topic.
The limitation on number's of TC (and pipes) comes from the number of
bits available. Since the QoS code overloads the 32 bit RSS field in
the mbuf there isn't enough bits to a lot. But then again if you add lots
of pipes or subports the memory footprint gets huge.

Any more info or suggestions on increasing the limit to 8 ?

Thanks
-Avinash

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [dpdk-dev] 4 Traffic classes per Pipe limitation
@ 2013-11-28 20:52 Ariel Rodriguez
  2013-11-29 18:45 ` Dumitrescu, Cristian
  0 siblings, 1 reply; 10+ messages in thread
From: Ariel Rodriguez @ 2013-11-28 20:52 UTC (permalink / raw)
  To: dev

         Hi, im working with the qos scheduler framework and i have a few
questions. Why the 4 traffic classes per pipe limitation? .

Im developing a deep packet inspection solution for a telecom company and i
we need more than just 4 traffic classes per pipe. Im able to recognise
almost all layer 7 applications, such as  youtube, p2p , netflix ,
google-ads , etc, etc and i really need to map this type of flows in
differents traffic classes.

         The idea is mark each flow depending on the provisioning
information and assign that flows to different subport depending on the
information given and assign a pipe with the subscriber contract rate, but
we really need to have more than 4 traffic clases, because we want to
control the bandwidth of different  layer 7 protocols flows. At most we
need 32 or 64 traffic classes per subscriber.

         I understand that in a given interval of time  a subscriber dont
use more than 4 protocols simultaneously , generally speaking , or 4
traffic classes in dpdk qos terminology, but the framework doesnt allow us
to configure more traffic classes.

         Im looking the code of qos scheduler and im not seeing why this
restriction. Is a performance problem, or a waste of resource problem? ,
 maybe when the port grinder search for the active queues for each traffic
class  the delay of iterating over all pipes and each traffic class is too
high.
         Cisco have a bandwidth managment solution that claims to control a
million of subscribers simoultaneosly with 64 traffic classes per
subscriber (pipes) and 4 queues per traffic classes (Cisco solution calls
traffic clases  as "Bandwith controller per service or BWC , a subscriber
can have 64 BWC simoultaneasly). Its this posible? maybe this guys
implements the bandwidth managment in hardware?.
         Anyway i really need this feature , but if the qos scheduller
cannot scale to more than 4 traffic classes per pipe i would have to
implement a custom packet scheduler from scratch and i really dont want to
do that.

         Thanks for the patience, and sorry for my rusty english, im from
Argentina.

 Best Regards.


Ariel Horacio Rodriguez, Callis Technologies.

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

end of thread, other threads:[~2015-06-06 23:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-05 17:06 [dpdk-dev] 4 Traffic classes per Pipe limitation Yeddula, Avinash
2015-06-05 20:50 ` Dumitrescu, Cristian
2015-06-06 21:05   ` Michael Sardo
2015-06-06 23:23     ` Michael Sardo
2015-06-06 23:39       ` Dumitrescu, Cristian
  -- strict thread matches above, loose matches on Subject: below --
2013-11-28 20:52 Ariel Rodriguez
2013-11-29 18:45 ` Dumitrescu, Cristian
2013-11-29 19:50   ` Ariel Rodriguez
2013-11-29 21:26     ` Stephen Hemminger
2013-11-29 22:33       ` Ariel Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).