Skip to content
Snippets Groups Projects
Commit 9e3ea12e authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Adjusted TC ecn formula

parent 1abbc83b
No related branches found
No related tags found
No related merge requests found
......@@ -951,9 +951,9 @@ sub _tc_iface_optimize
# RED metrics (sort of as per manpage)
my $redAvPkt = 1000;
my $redMax = int($queueSize / 4);
my $redMin = int($redMax / 3);
my $redBurst = int( ($redMin+$redMin+$redMax) / (4*$redAvPkt));
my $redMax = int($queueSize / 4); # 25% mark at 100% probabilty
my $redMin = int($redMax / 3); # Max/3 is when the probability starts
my $redBurst = int( ($redMin+$redMax) / (2*$redAvPkt));
my $redLimit = $queueSize;
# Priority band
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment