]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
QoS: Increase queue size and quantum for fq_codel
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Oct 2019 16:46:27 +0000 (16:46 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 14 Oct 2019 18:05:21 +0000 (18:05 +0000)
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 <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/qos/makeqosscripts.pl

index 934976a238ac5a766e607b94e3619032a71f92ce..ff4cbcb1222fdcbf0bce766483f617f3ea74fe73 100644 (file)
@@ -54,7 +54,7 @@ my $classfile = "/var/ipfire/qos/classes";
 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);