]> 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)
commit1c9c8475493b134f79bc26d415706942878bf139
tree05d9f30419d6a5ef9b503487661959ef29c2fec5
parent7a57d7dcc23f8c45438f5b2bda9e69579886c2c7
parentea2ca51966fadde0adba595b70b7c5a679d8f542
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>