Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

debloat: smaller quantums seem to be better

despite intuition saying we wanted packet aggregation to work better,
smaller quantums seem to work better.
  • Loading branch information...
commit 4701ef56645a5566b0c07e08ceb8ad541c3de7b9 1 parent 8215b46
Dave Taht authored
Showing with 11 additions and 8 deletions.
  1. +11 −8 net/debloat/files/debloat
19 net/debloat/files/debloat
View
@@ -24,7 +24,7 @@ params = { "MDISC", "BIGDISC", "NORMDISC", "BINS", "MAX_HWQ_BYTES",
"OVERHEAD", "LINKLAYER", "MPU", "PPPOE", "ADSL",
"NOPRIOHOSTSRC","NOPRIOHOSTDST","NOPRIOPORTSRC",
"NOPRIOPORTDST", "EST_MIN", "EST_MAX", "HEADDROP", "ECNMASK",
- "qlen_vo", "qlen_vi", "qlen_be", "qlen_bk" }
+ "qlen_vo", "qlen_vi", "qlen_be", "qlen_bk", "CODEL_LL_QUANTUM" }
-- Useful defaults
@@ -51,9 +51,10 @@ env = { ["TC"] = "/sbin/tc",
["qlen_vo"] = 2,
["qlen_vi"] = 3,
["qlen_be"] = 3,
- ["qlen_bk"] = 32,
- ["MTU"] = 1500
- }
+ ["qlen_bk"] = 3,
+ ["MTU"] = 1500,
+ ["CODEL_LL_QUANTUM"] = 1514
+ }
wireless_debug = "/sys/kernel/debug/ieee80211/"
qlens = { "qlen_vo", "qlen_vi", "qlen_bk", "qlen_be" }
@@ -1240,10 +1241,12 @@ end
local function wireless_setup_ll(queuetype)
qa("handle 1 root mq")
- qap("1:1 handle %x %s limit 100 ecn target 10ms",VO, queuetype)
- qap("1:2 handle %x %s limit 100 ecn target 27ms quantum 3028",VI, queuetype)
- qap("1:3 handle %x %s limit 400 ecn target 27ms quantum 3028",BE, queuetype)
- qap("1:4 handle %x %s limit 600 ecn target 50ms",BK, queuetype)
+ qap("1:1 handle %x %s limit 100 noecn target 5ms",VO, queuetype)
+ qap("1:2 handle %x %s limit 200 ecn target 13ms quantum %d",VI, queuetype, env.CODEL_LL_QUANTUM)
+ qap("1:3 handle %x %s limit 400 ecn target 13ms quantum %d",BE, queuetype, env.CODEL_LL_QUANTUM)
+-- qap("1:2 handle %x %s limit 200 ecn target 27ms quantum 3028",VI, queuetype)
+-- qap("1:3 handle %x %s limit 400 ecn target 27ms quantum 3028",BE, queuetype)
+ qap("1:4 handle %x %s limit 600 noecn target 50ms",BK, queuetype)
wireless_filters()
end
Please sign in to comment.
Something went wrong with that request. Please try again.