From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id BC9DCC77C for ; Sat, 30 Jan 2016 04:40:36 +0100 (CET) Received: by mail-pf0-f174.google.com with SMTP id x125so52374699pfb.0 for ; Fri, 29 Jan 2016 19:40:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=versa-networks-com.20150623.gappssmtp.com; s=20150623; h=from:content-type:subject:message-id:date:to:mime-version; bh=fKPP11RNKusud2XRSc1KMKszDRhoYQQRu7qRXh6B6V4=; b=rS9ofMrn9CBf+cA93wAQRDaipJUQgGb06yCkoj3QJYVwmuP36utxRhpOKxGxTB3O1o EI/PvwxebzQuZGnV1WcD9wdplJOjWbKa70uNRaoaiyBad3kJuN0xCwTTkrZD9K+22AHi jjmerNhpas6JwRMOecSlFwXmMbXRluY79JTu1aToaEC34txfrU0HCt4pNh0JIY3FLFty l/kBgbKUToLy96zBIYxz6QxGT98QRSPnRgVM8p7QP4Gum2l9tfmK78gLEmnrRxHQY4vN P9WUgHWsvBRcKF3oo0A32Bdbe5DIKx1Ex122HlaBEaZl7rIlD9bOhMtc39q8UTjmZ8jp 83YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:subject:message-id:date:to :mime-version; bh=fKPP11RNKusud2XRSc1KMKszDRhoYQQRu7qRXh6B6V4=; b=b2sVViCFgfcflPsuBBc4k+KHb5QyukzlrXh2/ryI/4x+LPSPwt50jPJGAlo6WujBiD ijef9/AH+N9MEvTgz8HJjPT9xxWIyojiKzHOnmEfBs+No/XI87SoKrLmK7KViDvAPz7P xLVHZtX6LEctAObXsmpfRsSNvzQ6oo5Me9NMAwKPdXSApEOzqmF0/X8SFJH/c013X+2F y+k3kMZzUj9cJelISKRFTwPCtydHiSp05dMKYnbLSEQss2jGbVak+ZxX70G/SfUBQyYQ KCQ30d0AB1GsZOIg06Fnqv2dS3C+abVdEFyHDBfbH/uQgH/uAXAWHXzPpxCcBXDul+PP 5qqg== X-Gm-Message-State: AG10YOTaZpI8O0gi24BLpIrWz4mdzTEZx2tp7HGYCbhZI+8SNmr00swe9yt8Tdmt5zufNgFX X-Received: by 10.98.0.150 with SMTP id 144mr18905288pfa.139.1454125236038; Fri, 29 Jan 2016 19:40:36 -0800 (PST) Received: from [10.16.0.75] (70-35-56-62.static.wiline.com. [70.35.56.62]) by smtp.gmail.com with ESMTPSA id q136sm26594076pfq.66.2016.01.29.19.40.35 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Jan 2016 19:40:35 -0800 (PST) From: "Sridhar.V.Iyer" Message-Id: Date: Fri, 29 Jan 2016 19:40:34 -0800 To: dev@dpdk.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Increasing the number of traffic classes 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, 30 Jan 2016 03:40:37 -0000 Hi, I know that this topic have been covered in the youtube video and = mailing list (http://dpdk.org/ml/archives/dev/2015-June/018875.html = ) in the past. = The solution suggested was to have 4 queues per traffic classes and each = of those could be construed as a sub traffic class (and that a WRR or = 1:4 will ensure a strict priority order). However, this solution doesn=E2=80=99t take into account the fact that = we can only have 4 schedulers (for the main traffic classes). If I=E2=80=99= m not changing the total number of queues, i.e. I=E2=80=99m aiming for 8 = TC with 2 queues each or 16 TC with 1 queue each (in which case WRR = logic can be optimized out), how much effort would it be to have a = configurable (compile time) set of traffic classes? The changes would be = largely limited to rte_sched.c right? I=E2=80=99m trying to make these changes to dpdk lib, but am hitting = issues in grinder updates. Any pointers/help would be great. Regards, Sridhar V Iyer Versa Networks 315-560-4566 (mobile) 408-385-7627 (desk) sridhariyer@versa-networks.com