QOS : warning on boot about quantum of class xxx is small. Consider r2q change

hello,

I recently noticed (it may be there since a long time, but just noticed it now after I moved my IpFire VM from WmWare to Virtualbox) that i have warnings on boot related to QOS:
image

Warning: sch_htb: quantum of class 10101 is small. Cosider r2q change.
Warning: sch_htb: quantum of class 10102 is small. Cosider r2q change.
Warning: sch_htb: quantum of class 10103 is small. Cosider r2q change.
Warning: sch_htb: quantum of class 10104 is small. Cosider r2q change.
Warning: sch_htb: quantum of class 10110 is small. Cosider r2q change.
Warning: sch_htb: quantum of class 10120 is small. Cosider r2q change.

(basically the warning repeats for every red0 class).

The QOS seems to work properly, but was wondering what those warning means and if any change is indeed required ?

Best regards.

What are the guaranteed bandwidths set to for those classes?

uplink is ~800 kbits/s
guaranteed bw is 41kbits/s to 4kbits/s depending on classes.

/var/ipfire/qos/classes:
imq0;200;1;203;8873;;;8;VoIP;
imq0;203;4;203;8873;;;0;VPN;
imq0;204;5;509;9179;;;8;Webtraffic;
imq0;210;6;4096;8192;;;;Default;
imq0;220;7;101;8684;;;1;P2P;
red0;101;1;41;687;;;8;ACKs;
red0;102;2;41;687;;;8;VoIP;
red0;103;4;41;687;;;2;VPN;
red0;104;5;41;687;;;8;Webtraffic;
red0;110;6;20;666;;;0;Default;
red0;120;7;4;643;;;1;P2P;

EDIT: moderator formatted code

I believe it gives that warning for values <100. You could either ignore it (I don’t think it hurts anything) or adjust the guaranteed bandwidths to 100. What I like to do is make sure the sum of my guaranteed bandwidths is equal to my total bandwidth (800 kbits/s in your case).

Indeed, I changed garanteed BW to 100kbits/s and no more warnings after reboot.

1 Like