Eric Dumazet 64153ce0a7 net_sched: htb: do not setup default rate estimators
With a thousand htb classes, est_timer() spends ~5 million cpu cycles
and throws out cpu cache, because each htb class has a default
rate estimator (est 4sec 16sec).

Most users do not use default rate estimators, so switch htb
to not setup ones.

Add a module parameter (htb_rate_est) so that users relying
on this default rate estimator can revert the behavior.

echo 1 >/sys/module/sch_htb/parameters/htb_rate_est

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-06-12 00:14:21 -07:00
..
2011-01-19 23:31:12 -08:00
2012-09-24 16:31:37 -04:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2011-01-19 23:31:12 -08:00
2012-07-12 07:54:46 -07:00
2013-06-11 02:51:03 -07:00
2013-06-11 02:51:03 -07:00
2012-04-01 18:11:37 -04:00
2012-12-12 00:16:47 -05:00
2012-04-01 18:11:37 -04:00
2012-04-01 18:11:37 -04:00
2013-06-11 02:51:03 -07:00
2012-04-01 18:11:37 -04:00
2012-07-12 08:33:18 -07:00
2012-04-01 18:11:37 -04:00