[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200527043527.12287-1-xiyou.wangcong@gmail.com>
Date: Tue, 26 May 2020 21:35:22 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: netdev@...r.kernel.org
Cc: vaclav.zindulka@...pnet.cz, Cong Wang <xiyou.wangcong@...il.com>
Subject: [Patch net-next 0/5] net_sched: reduce the number of qdisc resets
This patchset aims to reduce the number of qdisc resets during
qdisc tear down. Patch 1~3 are preparation for their following
patches, especially patch 2 and patch 3 add a few tracepoints
so that we can observe the whole lifetime of qdisc's. Patch 4
and patch 5 are the ones do the actual work. Please find more
details in each patch description.
Vaclav Zindulka tested this patchset and his large ruleset with
over 13k qdiscs defined got from 22s to 520ms.
---
Cong Wang (5):
net_sched: use qdisc_reset() in qdisc_destroy()
net_sched: add tracepoints for qdisc_reset() and qdisc_destroy()
net_sched: add a tracepoint for qdisc creation
net_sched: avoid resetting active qdisc for multiple times
net_sched: get rid of unnecessary dev_qdisc_reset()
include/trace/events/qdisc.h | 75 ++++++++++++++++++++++++++++++++++++
net/sched/sch_api.c | 3 ++
net/sched/sch_generic.c | 75 +++++++++++++++---------------------
3 files changed, 110 insertions(+), 43 deletions(-)
--
2.26.2
Powered by blists - more mailing lists