openwrt-owl/target/linux/generic
Kevin Darbyshire-Bryant e288e1bd32 kernel: fq_codel match flows_cnt to limit sizing
OpenWRT changed the default fq_codel sch->limit from 10240 to 1024,
without also adjusting q->flows_cnt.  Eric Dumazet explains below that
you must also adjust the buckets (q->flows_cnt) for this not to break.

Eric explains: Limit of 1024 packets and 1024 flows is not wise I think.
(If all buckets are in use, each bucket has a virtual queue of 1 packet,
which is almost the same than having no queue at all)

I suggest to have at least 8 packets per bucket, to let Codel have a
chance to trigger.  So you could either reduce number of buckets to 128
(if memory is tight), or increase limit to 8192.

flows_cnt is now set to 1024/8=128

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-05-12 03:29:36 +02:00
..
base-files update the /init file to start /sbin/init 2013-03-13 18:11:13 +00:00
files mac80211: ath9k: enable GPIO buttons 2016-03-05 09:45:03 +00:00
image generic: lzma-loader: fix cache invalidation 2016-03-21 13:15:09 +00:00
patches-3.18 kernel: fq_codel match flows_cnt to limit sizing 2016-05-12 03:29:36 +02:00
patches-4.1 kernel: fq_codel match flows_cnt to limit sizing 2016-05-12 03:29:36 +02:00
patches-4.4 kernel: fq_codel match flows_cnt to limit sizing 2016-05-12 03:29:36 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00
config-3.18 kernel: add missing config options 2016-03-05 16:22:45 +00:00
config-4.1 kernel: move the old gpio watchdog driver from generic to brcm47xx 2016-05-12 18:10:09 +02:00
config-4.4 kernel: move the old gpio watchdog driver from generic to brcm47xx 2016-05-12 18:10:09 +02:00