From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 2A0F5952 for ; Sun, 7 Jun 2015 01:23:31 +0200 (CEST) Received: by wgv5 with SMTP id 5so78710941wgv.1 for ; Sat, 06 Jun 2015 16:23:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=k5dYtB9GFyCSTIq4qLLlBE6cNS8TVeybT9huHdTcQW0=; b=aSAdBUfI/V4BekRwVxK5ZTq0FGonPXh6pepFjiqFJOt4dy35gYbMJlBorp2V9+KOAA 7a8MhefHOPwJz2HePZISlZBjMaQ10jm612nm9eNwKepLMgpSD3rVUp9EGq9DCZml7b0e cNu/6HdyT056Sh8VzLaqemwnCrDIsl40Nv/KqOxVXNVWF/88i9Et2pv79qcuToKAZyqz QySYnJ5Q7J1aYGs/CkpRz4eIMs0iIlwVtr5Fu/g4olC3IBMeA8MhN4MHfqM6PHInoIta EYMoOBF59QC7uMA89t8XgfA5xCRQjvLkDr2FZ1WDfedVBF4i+hmpZRX+vsc/uNDzc+Zh GncA== X-Gm-Message-State: ALoCoQnATpsRqRnmceN44wLf50tjpAUnBmQvpAOfTfAd5SxuCCP5AyPhZkxRkkJSqJg0oCsTevpe MIME-Version: 1.0 X-Received: by 10.180.109.136 with SMTP id hs8mr8640258wib.73.1433633011012; Sat, 06 Jun 2015 16:23:31 -0700 (PDT) Received: by 10.27.140.72 with HTTP; Sat, 6 Jun 2015 16:23:30 -0700 (PDT) In-Reply-To: References: <3EB4FA525960D640B5BDFFD6A3D8912632372F7E@IRSMSX108.ger.corp.intel.com> Date: Sat, 6 Jun 2015 19:23:30 -0400 Message-ID: From: Michael Sardo To: "Dumitrescu, Cristian" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] 4 Traffic classes per Pipe limitation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2015 23:23:31 -0000 Oops, I should have searched a bit more before asking. I see that they've already been made available: http://dpdk.org/ml/archives/dev/attachments/20150423/17a4d8de/attachment-0001.pdf Thanks. -Mike On Sat, Jun 6, 2015 at 5:05 PM, Michael Sardo wrote: > Hello Cristian, > > Are the slides shown in that video available? They're very helpful. > > -Mike > > On Fri, Jun 5, 2015 at 4:50 PM, Dumitrescu, Cristian < > cristian.dumitrescu@intel.com> wrote: > >> 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 >> > >