net_sched: sch_fq: round of improvements
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 6 repliesApplied 5/5
- v14 patches 0 repliesSuperseded
Patches in v2 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | net_sched: constify qdisc_priv()include/ | +4 | 3 replies | Applied |
| 2/5 | net_sched: sch_fq: struct sched_data reorgnet/ | +12 | 0 replies | Applied |
| 3/5 | net_sched: sch_fq: change how @inactive is trackednet/ | +7 | 0 replies | Applied |
| 4/5 | net_sched: sch_fq: add fast path for mostly idle qdiscinclude/ net/ | +92 | 0 replies | Applied |
| 5/5 | net_sched: sch_fq: always garbage collectnet/ | +1 | 0 replies | Applied |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ard Biesheuvel | Peter Zijlstra | Jamal Hadi Salim | Willem de Bruijn | Toke Høiland-Jørgensen |
|---|---|---|---|---|---|
| Series | R-b | R-b | R-b | ||
| 1/5 | A-b | A-b | |||
| 2/5 | |||||
| 3/5 | |||||
| 4/5 | |||||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v2 net-next 0/5] net_sched: sch_fq: round of improvements
For FQ tenth anniversary, it was time for making it faster.
The FQ part (as in Fair Queue) is rather expensive, because we have to classify packets and store them in a per-flow structure, and add this per-flow structure in a hash table. Then the RR lists also add cache line misses.
Most fq qdisc are almost idle. Trying to share NIC bandwidth has no benefits, thus the qdisc could behave like a FIFO.
This series brings a 5 % throughput increase in intensive tcp_rr workload, and 13 % increase for (unpaced) UDP packets.
v2: removed an extra label (build bot).
Fix an accidental increase of stat_internal_packets counter in fast path.
Added "constify qdisc_priv()" patch to allow fq_fastpath_check() first parameter to be const.
typo on 'eligible' (Willem)
Eric Dumazet (5):
net_sched: constify qdisc_priv()
net_sched: sch_fq: struct sched_data reorg
net_sched: sch_fq: change how @inactive is tracked
net_sched: sch_fq: add fast path for mostly idle qdisc
net_sched: sch_fq: always garbage collect
include/net/pkt_sched.h | 8 +- include/uapi/linux/pkt_sched.h | 1 + net/sched/sch_fq.c | 148 +++++++++++++++++++++++---------- 3 files changed, 110 insertions(+), 47 deletions(-)
Signature · 1 line
2.42.0.459.ge4e396fd5e-goog