[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6b1ed570-72f0-7f1d-c5eb-96b3dfa5674d@gmail.com>
Date: Sun, 6 Jun 2021 20:55:11 -0600
From: David Ahern <dsahern@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev <netdev@...r.kernel.org>, Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH iproute2] tc: fq: add horizon attributes
On 6/4/21 10:00 AM, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> Commit 39d010504e6b ("net_sched: sch_fq: add horizon attribute")
> added kernel support for horizon attributes in linux-5.8
>
> $ tc -s -d qd sh dev wlp2s0
> qdisc fq 8006: root refcnt 2 limit 10000p flow_limit 100p buckets 1024 orphan_mask 1023 quantum 3028b initial_quantum 15140b low_rate_threshold 550Kbit refill_delay 40ms timer_slack 10us horizon 10s horizon_drop
> Sent 690924 bytes 3234 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> flows 112 (inactive 104 throttled 0)
> gc 0 highprio 0 throttled 2 latency 8.25us
>
> $ tc qd change dev wlp2s0 root fq horizon 500ms horizon_cap
>
> $ tc -s -d qd sh dev wlp2s0
> qdisc fq 8006: root refcnt 2 limit 10000p flow_limit 100p buckets 1024 orphan_mask 1023 quantum 3028b initial_quantum 15140b low_rate_threshold 550Kbit refill_delay 40ms timer_slack 10us horizon 500ms horizon_cap
> Sent 831220 bytes 3844 pkt (dropped 0, overlimits 0 requeues 0)
> backlog 0b 0p requeues 0
> flows 122 (inactive 120 throttled 0)
> gc 0 highprio 0 throttled 2 latency 8.25us
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> tc/q_fq.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
> 1 file changed, 60 insertions(+), 6 deletions(-)
>
applied to iproute2-next. Thanks,
Powered by blists - more mailing lists