summaryrefslogtreecommitdiffstats
path: root/include/linux/igmp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2013-06-06 14:53:16 -0700
committerDavid S. Miller <davem@davemloft.net>2013-06-12 00:14:21 -0700
commit64153ce0a7b61b2a5cacb01805cbf670142339e9 (patch)
treef5c854262ef7e05271151391debac6aecad110b0 /include/linux/igmp.h
parent130d3d68b52097c7ae081109f700b02776adcb9c (diff)
downloadlinux-64153ce0a7b61b2a5cacb01805cbf670142339e9.tar.gz
linux-64153ce0a7b61b2a5cacb01805cbf670142339e9.tar.bz2
linux-64153ce0a7b61b2a5cacb01805cbf670142339e9.zip
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>
Diffstat (limited to 'include/linux/igmp.h')
0 files changed, 0 insertions, 0 deletions