From: David S. Miller Date: Sun, 1 Oct 2023 12:20:36 +0000 (+0100) Subject: Merge branch 'sch_fq-improvements' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b49a948568dcbb5f38cbf5356ea0fb9c9c6f6953;p=linux.git Merge branch 'sch_fq-improvements' Eric Dumazet says: ==================== 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) ==================== Reviewed-by: Jamal Hadi Salim Reviewed-by: Willem de Bruijn Reviewed-by: Toke Høiland-Jørgensen Signed-off-by: David S. Miller --- b49a948568dcbb5f38cbf5356ea0fb9c9c6f6953