From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot0-f181.google.com (mail-ot0-f181.google.com [74.125.82.181]) by dpdk.org (Postfix) with ESMTP id 139242BF1 for ; Thu, 22 Jun 2017 18:02:37 +0200 (CEST) Received: by mail-ot0-f181.google.com with SMTP id y47so14218382oty.0 for ; Thu, 22 Jun 2017 09:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XClPkRVWzJmRJVwsEMmC2E1dBvrL4EJkU0xgrwyJ0/A=; b=V7DQfTBZ/vuLrhixdQKamc7v2SRcSkYf8bwoHWM36kvp+2JBMwhjKzgySGXqU45My4 kX43czRp4jukpAA5tu1oHmx09Yx/b6nGXUxqKrOPEcwK8c0bZ1HHVg7vofWJCQyQU0HX 2l4C/GhFBnqv+KfQvgs/nLvXQ+Ujq444NLPYcgXunfcMKv+Ci7iEp/yaegSVC2cdcTay Hibs9rgrqjNS0YU6Jg2+sOK0WINwiBIMVBFbstAPzEFPte/Db9UMykZW0mPTuUr00PhI /iJNr4dJscpQlF4x6l8YHOLEA5fUGWCMBPgll0ezsDdXBI1tz1eXYG2Fdg77luvtPGB6 +TgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XClPkRVWzJmRJVwsEMmC2E1dBvrL4EJkU0xgrwyJ0/A=; b=uiOqbw7DFOYBzvPGMY+LgKjc1ZMSDDs0t8x0T/vzzLLZqZ2/t1tBLFpB+K/kZz3jB7 faun5+P/oY6Ou8RlpsdEuVN9hr6iYgxQN+Ru9bgJbjAPnLAcHExA+kztm1he3y+TUrYG FzIDcF6qQ4l4AAeau+5yYFs2J0vUn38AfDOHZResLfmnZ/AGTCi93iXNXVodJQq5lDpK 0xWQ+Swq1IWbM06WgRFKDS4nwOt8i9VISxhgSCzAJ0YhGf8PINNtBOO9pWAaomKS34Yl lOZKtyRaUegYjqbmqprE1Ebo0I4oBa+I/T1qfL4G36n3Y1a5piA08wYmTqsmS7GlGrDK 5oxw== X-Gm-Message-State: AKS2vOzUEvgDdTgscFm7lDmzNzNu5K3r5M4XjqvAhh2jeibLIrt9AF0Y dYgjgsdlfMipe6KyZdvyeISue+f0S4Vf X-Received: by 10.157.18.209 with SMTP id g75mr1560569otg.259.1498147356324; Thu, 22 Jun 2017 09:02:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.185.11 with HTTP; Thu, 22 Jun 2017 09:02:36 -0700 (PDT) From: Jesus JM Date: Thu, 22 Jun 2017 18:02:36 +0200 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] QoS scheduler with small number of queues X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jun 2017 16:02:37 -0000 Hi there, I am trying to reuse the QoS scheduler sample application with some modifications in my project. My intention was to have a DPDK based router with QoS that marks some packets of the traffic I inject in one of the ports. In my scenario, I have a small number of subscribers. I saw in the profile configuration file of the sample that it uses 4096 pipes, each of one representing one user/subscriber. Also I read in the section 23.2.5 of the programmer's guide the following: "The port scheduler performance is optimized for a large number of queues. If the number of queues is small, then the performance of the port scheduler for the same level of active traffic is expected to be worse than the performance of a small set of message passing queues." In my case, if I have, let's say, 5-10 subscribers, does that mean that I have to discard the QoS scheduler block and develop a customized one using message passing queues? Or can I use the scheduler with a large number of pipes configured, even if I use a very small set of them? Thanks in advance. Jesus