]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'remove-qdisc-throttle'
authorDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:58:29 +0000 (23:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2016 06:58:29 +0000 (23:58 -0700)
commit786e38f12ac5193bdafce6e203e4bcb6be8a03c0
tree05d9f30419d6a5ef9b503487661959ef29c2fec5
parent2489285f6ca6f6ab2a184176781e118ed852a3bf
parent6cf7e2ed18ef680c904f1bd872a0b753e80e36ac
Merge branch 'remove-qdisc-throttle'

Eric Dumazet says:

====================
net_sched: remove qdisc_is_throttled()

HTB, CBQ and HFSC pay a very high cost updating the qdisc 'throttled'
status that nothing but CBQ seems to use.

CBQ usage is flaky anyway, since no qdisc ->enqueue() updates the
'throttled' qdisc status.

This looks like some 'optimization' that actually cost more than code
without the optimization, and might cause latency issues with CBQ.

In my tests, I could achieve a 8 % performance increase in TCP_RR
workload through HTB qdisc, in presence of throttled classes,
and 5 % without throttled classes.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>