net_sched: reduce the number of qdisc resets
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net_sched: use qdisc_reset() in qdisc_destroy()net/ | +3 | 0 replies | |
| 2/5 | net_sched: add tracepoints for qdisc_reset() and qdisc_destroy()include/ net/ | +56 | 1 reply | |
| 3/5 | net_sched: add a tracepoint for qdisc creationinclude/ net/ net/ | +29 | 0 replies | |
| 4/5 | net_sched: avoid resetting active qdisc for multiple timesnet/ | +23 | 0 replies | |
| 5/5 | net_sched: get rid of unnecessary dev_qdisc_reset()net/ | +0 | 0 replies |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Václav Zindulka |
|---|---|
| 1/5 | |
| 2/5 | |
| 3/5 | |
| 4/5 | T-b |
| 5/5 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [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(-)
Signature · 1 line
2.26.2