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
..
2015-12-11 15:26:06 +00:00
2016-04-25 14:54:07 +02:00
2015-12-11 15:26:06 +00:00
2016-05-12 17:55:15 +02:00
2016-03-24 22:40:13 +01:00
2016-03-14 17:13:22 +00:00
2016-03-24 22:40:13 +01:00
2016-05-12 17:52:55 +02:00
2015-12-11 15:26:06 +00:00
2016-05-12 17:51:24 +02:00
2015-04-12 20:48:13 +00:00
2015-12-23 14:43:11 +00:00
2016-05-12 17:52:20 +02:00