From: "Dumitrescu, Cristian" <cristian.dumitrescu@intel.com>
To: "Yeddula, Avinash" <ayeddula@ciena.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] 4 Traffic classes per Pipe limitation
Date: Fri, 5 Jun 2015 20:50:55 +0000 [thread overview]
Message-ID: <3EB4FA525960D640B5BDFFD6A3D8912632372F7E@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <A1E50D8AD6310E47A6C10F075AEDC022019BAB9E1E@ONWVEXCHMB01.ciena.com>
Hi Avinash,
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yeddula, Avinash
> Sent: Friday, June 5, 2015 6:06 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] 4 Traffic classes per Pipe limitation
>
> 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.
Yes, there are 4x traffic classes (scheduled in strict priority), but each traffic class has 4x queues (scheduled using WFQ); for big weight ratios between queues (e.g. 1:4 or 1:8, etc), WFQ becomes very similar to strict priority, a king of strict priority without starvation. So the 16x queues per pipe can be considered 16x sub-traffic-classes.
You might want to watch this video on DPDK QoS: https://youtu.be/_PPklkWGugs
>
> 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.
It is not that simple. The number of 4x traffic classes in deeply built into the implementation for performance reasons. Increasing the number of bits allocated to traffic class in mbuf->sched would not help.
>
> Any more info or suggestions on increasing the limit to 8 ?
Yes, look at the 16x pipe queues as 16x (sub)traffic classes.
>
> Thanks
> -Avinash
next prev parent reply other threads:[~2015-06-05 20:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-05 17:06 Yeddula, Avinash
2015-06-05 20:50 ` Dumitrescu, Cristian [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EB4FA525960D640B5BDFFD6A3D8912632372F7E@IRSMSX108.ger.corp.intel.com \
--to=cristian.dumitrescu@intel.com \
--cc=ayeddula@ciena.com \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).