From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH iproute2] tc: fq: support low_rate_threshold attribute Date: Wed, 20 Sep 2017 17:53:05 -0700 Message-ID: <20170920175305.105544f7@xeon-e3> References: <1504905179.15310.101.camel@edumazet-glaptop3.roam.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev , Neal Cardwell , Soheil Hassas Yeganeh To: Eric Dumazet Return-path: Received: from mail-pf0-f171.google.com ([209.85.192.171]:54617 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751795AbdIUAxI (ORCPT ); Wed, 20 Sep 2017 20:53:08 -0400 Received: by mail-pf0-f171.google.com with SMTP id d187so2379017pfg.11 for ; Wed, 20 Sep 2017 17:53:08 -0700 (PDT) In-Reply-To: <1504905179.15310.101.camel@edumazet-glaptop3.roam.corp.google.com> Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 08 Sep 2017 14:12:59 -0700 Eric Dumazet wrote: > From: Eric Dumazet > > TCA_FQ_LOW_RATE_THRESHOLD sch_fq attribute was added in linux-4.9 > > Tested: > > lpaa5:/tmp# tc -qd add dev eth1 root fq > lpaa5:/tmp# tc -s qd sh dev eth1 > qdisc fq 8003: root refcnt 5 limit 10000p flow_limit 1000p buckets 4096 \ > orphan_mask 4095 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 quantum 3648 \ > initial_quantum 18240 low_rate_threshold 550Kbit refill_delay 40.0ms > Sent 62139 bytes 395 pkt (dropped 0, overlimits 0 requeues 0) > backlog 0b 0p requeues 0 > 116 flows (114 inactive, 0 throttled) > 1 gc, 0 highprio, 0 throttled > > lpaa5:/tmp# ./netperf -H lpaa6 -t TCP_RR -l10 -- -q 500000 -r 300,300 -o P99_LATENCY > 99th Percentile Latency Microseconds > 7081 > > lpaa5:/tmp# tc qd replace dev eth1 root fq low_rate_threshold 10Mbit > lpaa5:/tmp# ./netperf -H lpaa6 -t TCP_RR -l10 -- -q 500000 -r 300,300 -o P99_LATENCY > 99th Percentile Latency Microseconds > 858 > > > Signed-off-by: Eric Dumazet Applied