aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2016-06-20 17:00:44 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-20 17:00:44 +0200
commita4ac32b1db088b91c4748338d39700ad4df5706f (patch)
tree8968e14f65e2b34311665b95588962efef827ed5 /target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch
parentee57ff57f10937841b49380a8f1ef8e438021736 (diff)
downloadmaster-187ad058-a4ac32b1db088b91c4748338d39700ad4df5706f.tar.gz
master-187ad058-a4ac32b1db088b91c4748338d39700ad4df5706f.tar.bz2
master-187ad058-a4ac32b1db088b91c4748338d39700ad4df5706f.zip
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>
Diffstat (limited to 'target/linux/generic/patches-4.4/662-use_fq_codel_by_default.patch')
0 files changed, 0 insertions, 0 deletions