From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb0-f173.google.com (mail-yb0-f173.google.com [209.85.213.173]) by dpdk.org (Postfix) with ESMTP id 04CCD2BA6 for ; Mon, 24 Oct 2016 09:04:48 +0200 (CEST) Received: by mail-yb0-f173.google.com with SMTP id d128so13065781ybh.2 for ; Mon, 24 Oct 2016 00:04:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=rgOomUKYDaFdxuVRfWPaaWQDrcjkddJGJzYTbXAJyD8=; b=KZ/FGu/vmwjBdAq9A+D1bV5HyTUYplQLHIaPZk1bqKTxUHgwEtmDm2IkpYZSjufRx3 UVIdAFN69XE8JZ+yIuBr+iHk5W0cQP0K1nyUy8bxvhzGvMtpim1N3/XTfKFDB+Lhc8pi 6ToeqKZFWGf2NQjgcyCfqP7FBtw6fe7CAYaOFLgJ+aGozNSUjwVNovgtGl/QMxfCImhB z61yRLQF8U/eISOcaRnpyN3fTZYVOYCflT71K/k9xI5ZH/0WVJDLl4D5rZShhYVeXHNc t09jgMIxtIzdtXtv6dRvtGNQ/MPS/Xzf2vf1eNjpBZFTw1JLGOrHedduF028F/nY3sXo CIlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rgOomUKYDaFdxuVRfWPaaWQDrcjkddJGJzYTbXAJyD8=; b=f/hyLb4wMpMP5DPas2vxRYjuEO8y2VKZDY7F49t9lUyzD0uLpf3gJ2vjTVzlEH8ydG 3WKv6kijbs1c8xFoV4/HG96GQPH9VPYKAo6TJ0xILU6M4yjQEF5O8Sqp2lfiA4cJ87ST Y1VkRJ0jgsndPdP30xLUM1A8VtAJV9Y07Pxu7LaV9sG2P4u9UX5C6o6okMdFuJJapfYK P/JFFC60oNSe0P4lHXCTwI9SJzIpzFCAxNhMxZvAwuzEWiyn32tLpEe5fzk5+bDsqhEy IggDvpvOVL/gb4X+NswgofdmgdXJtpiZWjXD9Ylu6gktUb3qyTcMVNzyn5RRY3CLO6O/ OIfw== X-Gm-Message-State: ABUngvcg4cr3QVhWholQyiBb9N/FILk7ZcmN4mz8PcaC5CBYRRYy5FeH+AA+fO6d+QOiJq8H+3HFCSXRIo3iNw== X-Received: by 10.36.47.213 with SMTP id j204mr1093686itj.68.1477292688233; Mon, 24 Oct 2016 00:04:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.197.131 with HTTP; Mon, 24 Oct 2016 00:04:47 -0700 (PDT) From: sreenaath vasudevan Date: Mon, 24 Oct 2016 00:04:47 -0700 Message-ID: To: dev@dpdk.org, "Dumitrescu, Cristian" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] DPDK-QoS- Using un-used bandwidth within a class 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: Mon, 24 Oct 2016 07:04:49 -0000 Hi I am using DPDK QoS and I find something strange. I am not sure if something is wrong with my config or my understanding of queue weights is wrong. In my config, I am using only 1 port and 1 subport and 1 pipe. Within that pipe, I am using only the last class (C3). Port, subport and pipe are configured with 100Mbps speed. C3 is given the entire pipe's TB rate i.e entire bandwidth in essence. In C3, I am giving relative weights of 1:4:2:2 for the four queues q0,q1,q2,q3 When no other traffic is coming in to q0,q2,q3, I am pumping ~100Mbps in to q1. However, I am seeing only 40% of the traffic going through q1. In other words the max throughput allowed through the queue is based on its weight and the unused bandwidth is not used. Cannot the unused bandwidth from q0,q2 and q3 be used for q1? Note- Following is the QoS config output spit out by DPDK in syslog SCHED: Low level config for pipe profile 0: token bucket: period = 10, credits per period = 1, size = 25000 Traffic classes: period = 1250000, credits per period = [0, 0, 0, 125000] Traffic class 3 oversubscription: weight = 0 WRR cost: [1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1], [4, 1, 2, 2] SCHED: Low level config for subport 0: Token bucket: period = 10, credits per period = 1, size = 25000 Traffic classes: period = 1250000, credits per period = [0, 0, 0, 125000] Traffic class 3 oversubscription: wm min = 0, wm max = 0 -- regards sreenaath