From: Michael Tremer Date: Wed, 2 Oct 2019 08:34:46 +0000 (+0000) Subject: QoS: Increase queue size and quantum for fq_codel X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=63271ffbaa4aede4199451ee007acb6ab714a3e6;p=people%2Fms%2Fipfire-2.x.git QoS: Increase queue size and quantum for fq_codel This optimises the QoS to process more bandwidth. The limit variable sets the maximum number of packets in the queue which was regularly exceeded on fast connections with the old setting. This now allows up to 10G of data transfer and is set to the default of fq_codel. Quantum sets how many bytes can be read from the queue per iteration. This is now set to the default again, which is the size of an Ethernet frame including its header. Signed-off-by: Michael Tremer --- diff --git a/config/qos/makeqosscripts.pl b/config/qos/makeqosscripts.pl index bc460db92b..b297a5c324 100644 --- a/config/qos/makeqosscripts.pl +++ b/config/qos/makeqosscripts.pl @@ -58,7 +58,7 @@ my $subclassfile = "/var/ipfire/qos/subclasses"; my $level7file = "/var/ipfire/qos/level7config"; my $portfile = "/var/ipfire/qos/portconfig"; my $tosfile = "/var/ipfire/qos/tosconfig"; -my $fqcodel_options = "limit 800 quantum 500"; +my $fqcodel_options = "limit 10240 quantum 1514"; &General::readhash("${General::swroot}/ethernet/settings", \%netsettings);